VirtualBox-Linux system installation enhancements, virtualbox installation of linux
Before installation, We must install the dependent packages required by it. Otherwise, the installation process will be wrong!
1. Install the dependency package
1 # yum install kernel-headers2 # yum install kernel-devel3 # yum install gcc * 4 # yum install make
Ii. Install the enhancement package
1. Installation command
1 # mount/dev/cdrom/mnt/cdrom2 # cd/mnt/cdrom3 #./VBoxLinuxAdditions. run
You may have to wait for a while during installation! After the installation is complete, restart the instance.
2. Sharing settings
(1) device-> allocate Data Space
(2) Mount/uninstall command
1 # mkdir/mnt/share2 # mount-t vboxsf myshare/mnt/share/3 4 # umount-f/mnt/share
(3) automatic sharing upon startup
1 # vim/etc/fstab2 3 add a 4 5 myshare/mnt/share vboxsf rw, gid = 100, uid = 1000, auto 0 0
Now, you have fully installed and mounted the shared items!