本人微信公众号"aeolian"~

Linux虚拟机安装VMware Tools

选择虚拟机–>install VMware Tools

# 新建一个文件夹用来挂载光驱
mkdir /mnt/cdrom  

# 挂载光驱到指定文件夹
mount /dev/sr0 /mnt/cdrom/

# 进入光驱
cd /mnt/cdrom/

# copy压缩文件到临时文件夹
cp VMwareTools-****.tar.gz /tmp

# 进入到临时文件夹
cd /tmp/

# 解压
tar zxvf VMwareTools-***.tar.gz

# 进入到解压目录
cd vmware-tools-distrib

# 执行安装文件
./vmware-install.pl

如果执行文件报错bash:./vmware-install.pl :/usr/bin/perl:bad interpreter:No such file or directory.

执行

yum groupinstall “Perl Support”

 

点赞

Leave a Reply

Your email address will not be published. Required fields are marked *