VirtualBox-Linux system installation enhancements, virtualbox installation of linux

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.