Home>Article>Operation and Maintenance> VirtualBox installation introduction in Centos 7
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!