Centos7.2安裝Vmware Tools
阿新 • • 發佈:2018-12-25
1:更換centos映象源為阿里映象源
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
或者
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum makecache
2:開啟該主機的控制檯,選擇"安裝Vmware Tools"按鈕(此時已把該安裝包放在/dev/cdrom)
3:建立/mnt/cdrom並掛載
mkdir /mnt/cdrom && mount -t iso9660 /dev/cdrom /mnt/cdrom
4:mkdir /tools && cp /mnt/cdrom/VMwareTools-10.2.1-8267844.tar.gz /tools
5:tar -zxvf /tools/VMwareTools-10.2.1-8267844.tar.gz
6:yum -y install perl gcc make kernel-headers kernel-devel //安裝編譯環境
7:cd /tools/vmware-tools-distrib && ./vmware-install.pl //進入安裝嚮導,基本回車就可以