Home>Article>Operation and Maintenance> VirtualBox installation introduction in Centos 7

VirtualBox installation introduction in Centos 7

PHP中文网
PHP中文网 Original
2017-06-20 09:25:08 1714browse

1. Assign a CD-ROM drive

2. Install related dependency packages

yum install -y bzip2 gcc gcc-devel gcc -c++ gcc-c++-devel make kernel-d

3. Create temporary folder

mkdir /mnt/cdrom

4. Mount and install

mount -t auto -r /dev/cdrom /mnt/cdrom

cd /mnt/cdrom

./VBoxLinuxAdditions.run

5 .Shut down and add the shared folder

After restarting, use mount to view the shared directory (the "sf_" prefix will be added by default)

The above is the detailed content of VirtualBox installation introduction in Centos 7. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:20170601 Next article:20170601