VirtualBox: Centos安装增强功能包VBoxLinuxAdditions

VirtualBox: Centos安装增强功能包VBoxLinuxAdditions

预安装环境

yum update
yum install gcc
yum install gcc-c++
yum install make
yum install kernel-headers
yum install kernel-devel

or

yum update
yum groupinstall "Development Tools"

重启

reboot

挂载&安装

加载

加载VBoxGuestAdditions:设备 -> 安装增强功能

挂载

mkdir /home/website

# 挂载到CD/DVD虚拟光驱[有时CD,有时DVD,看具体情况]
mount -t auto /dev/cdrom /home/website

安装

cd /home/website
ls
# 看到VBoxLinuxAdditions.run说明挂载成功
sh ./VBoxLinuxAdditions.run

重启生效

你可能感兴趣的:(Command,VirtualBox,Linux,Skill,CentOS)