虽然大一入学的时候就装了虚拟机,但是一直装不下VMware Tools,配置环境的时候只能在虚拟机重新敲网址复制粘贴命令或者手敲,要是忘记切换sudo还要再敲一遍…最近又要投入linux的怀抱了,今晚又找了篇教程,结果居然成功了!
教程地址如下:https://www.cnblogs.com/huangjianxin/p/6343881.html
环境:虚拟机 ubuntu14.04
步骤1、点击虚拟机菜单栏里的VMware Tools图标
进入该文件夹内后,找到一个叫VMwareTools-XX.X.X-XXXXXXX.tar.gz的文件,复制到另一个文件内,我的系统显示的是VMwareTools-10.2.0-7259539.tar.gz,我将其复制到/home目录下。
2、用tar解压该文件
root@XXXX:/home/username# tar -zxf VMwareTools-10.2.0-7259539.tar.gz
解压后出现vmware-tools-distrib文件夹,里面有一个vmware-install.pl文件。
3、root权限执行vmware-install.pl文件
sudo ./vmware-install.pl
此时开始进行安装,
以下是安装过程(可以复制粘贴之后太爽了):
root@XXXX:/home/username/vmware-tools-distrib# sudo ./vmware-install.pl
open-vm-tools packages are available from the OS vendor and VMware recommends
using open-vm-tools packages. See http://kb.vmware.com/kb/2073803 for more
information.
Do you still want to proceed with this installation? [yes] y
INPUT: [y]
A previous installation of VMware Tools has been detected.
The previous installation was made by the tar installer (version 4).
Keeping the tar4 installer database format.
You have a version of VMware Tools installed. Continuing this install will
first uninstall the currently installed version. Do you wish to continue?
(yes/no) [yes] y
INPUT: [y]
Uninstalling the tar installation of VMware Tools.
Stopping services for vmware-tools
vmware-tools stop/waiting
Stopping services for vmware-tools-thinprint
vmware-tools-thinprint stop/waiting
File /etc/pulse/default.pa is backed up to /etc/pulse/default.pa.old.1.
update-initramfs: Generating /boot/initrd.img-3.13.0-32-generic
The removal of VMware Tools 9.9.0 build-2304977 for Linux completed
successfully.
Installing VMware Tools