2012年2月19日

[ VM ] 在 VMware Workstation 安裝 Linux 版的 VMware Tools

參考來源: VMware Tools for Linux Guests
Installing VMware Tools in a Linux virtual machine using a Compiler
http://kb.vmware.com/selfservice/documentLinkInt.do?micrositeID=&popup=true&languageId=&externalID=1018414
以自己習慣的 Fedora 、CentOS、Redhat 為例
首先要在 VMware Workstation 安裝完虛擬機器,VM 裡面也要有光碟機

1. 將 VM 開機,選擇 VM > Install VMware Tools


2. 掛載光碟機 mkdir /media/cdrom
mount /dev/cdrom /media/cdrom

3. 切到 temp 目錄,並解壓縮 (請善用 Tab 鍵) [kamancy@localhost ~]# cd /tmp
[kamancy@localhost tmp] tar zxf /media/VMware Tools/VMwareTools-8.4.5-324285.tar.gz

4. 進入到 vmware-tools-distrib 目錄
執行 ./vmware-install.pl ,基本上一路 yes Enter 下去就可以安裝完了 [kamancy@localhost tmp]# cd vmware-tools-distrib/
[kamancy@localhost vmware-tools-distrib]# ./vmware-install.pl -d
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]
...
(略)
...
Enjoy,
--the VMware team
Found VMware Tools CDROM mounted at /media. Ejecting device /dev/sr0 ...

5. 安裝完 VMware Tools 可以重開機,刪除 /tmp/*
6. 安裝完 VMware Tools 可以看到的效果,滑鼠自由進出 VMware Workstation 、自由調整解析度 ......

沒有留言:

張貼留言