如果没有安装Vm-Tools的话,一部分功能将得不到充分应用,如显卡,鼠标不能够在虚拟机和物理机间自由移动等功能。
1、安装Vm-Tools前先登入系统
2.1、widows系统:虚拟机菜单栏点击VM→Install VMware Tools...→进入我的电脑下的光驱运行安装程序即可自动安装Vmware-Tools,或者光驱自动运行进行安装。安装后重启系统即可
2.2、Linux系统:虚拟机菜单栏点击VM→Install VMware Tools...→如果是图形化界面会弹出目录对话框,证明Vmware-Tools的光驱镜像文件已经放入光驱设备,之后挂载安装。如果是命令模式我们直接挂载光驱查看
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[root@justin ~]
# mount /dev/cdrom /media/
mount
: block device
/dev/sr0
is write-protected, mounting
read
-only
[root@justin ~]
# cd !$
cd
/media/
[root@justin media]
# ls
manifest.txt VMwareTools-9.2.0-799703.
tar
.gz
[root@justin media]
# tar zxvf VMwareTools-9.2.0-799703.tar.gz
vmware-tools-distrib
/etc/xsession-xdm
.pl
tar
: vmware-tools-distrib
/etc/xsession-xdm
.pl: Cannot
open
: No such
file
or directory
vmware-tools-distrib
/etc/vmware-tools-prelink
.conf
tar
: vmware-tools-distrib
/etc/vmware-tools-prelink
.conf: Cannot
open
: No such
file
or directory
tar
: Exiting with failure status due to previous errors
[root@justin media]
#
|
不能直接在media里解包,我们需要cp到/home目录下再解包
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[root@justin media]
# cp VMwareTools-9.2.0-799703.tar.gz /home/
[root@justin media]
# cd !$
cd
/home/
[root@justin home]
# ls
aclfile
dir
dir1
file
justin justin1 lost+found Tom VMwareTools-9.2.0-799703.
tar
.gz
[root@justin home]
# tar zxvf VMwareTools-9.2.0-799703.tar.gz
vmware-tools-distrib
/etc/poweroff-vm-default
vmware-tools-distrib
/etc/xsession-xdm
.pl
vmware-tools-distrib
/etc/vmware-tools-prelink
.conf
[root@justin home]
# ls
aclfile dir1 justin lost+found VMwareTools-9.2.0-799703.
tar
.gz
dir
file
justin1 Tom vmware-tools-distrib
[root@justin home]
# cd vmware-tools-distrib/
[root@justin vmware-tools-distrib]
# ls
bin doc etc FILES INSTALL installer lib vmware-
install
.pl
[root@justin vmware-tools-distrib]
# ./vmware-install.pl
Enjoy,
--the VMware team
Found VMware Tools CDROM mounted at
/media
. Ejecting device
/dev/sr0
...
[root@justin vmware-tools-distrib]
# reboot
|
一路按<enter>键,当运行到
Would you like to enable VMware automatic kernel modules?的时候,输入 yes
耐心等待,最后选择合适的项,设置好分辨率.,安装好重启系统即
如果需要修改分辨率: