標籤:
建立cdrom掛載目錄mkdir /mnt/cdrom掛載光碟機mount -t auto /dev/cdrom /mnt/cdrom這命令就是把CentOS CDROM掛載在/mnt/cdrom目錄中,就可以訪問裡面的內容了;使用光碟機中的檔案,進行安裝 [[email protected] /]# cd /mnt/cdrom[[email protected] /]# ls -a[[email protected] /]# cp VMwareTools-8.6.1-19175.tar.gz /tmp[[email protected] /]# cd /tmp[[email protected] /]# tar zxpf VMwareTools-8.6.1-19175.tar.gz[[email protected] /]# cd vmware-tools-distrib[[email protected] vmware-tools-distrib]# ./vmware-install.plCreating a new installer database using the tar3 format. Installing the content of the package. # 安裝過程的畫面,全部使用預設值,一直按 Enter 就對了 一直到出現:To use the vmxnet driver, restart networking using the following commands:/etc/init.d/network stoprmmod pcnet32rmmod vmxnetdepmod -amodprobe vmxnet/etc/init.d/network start Enjoy, --the VMware team 出現以上,則基本安裝完! 5 shutdown -r now 重啟 6 重新啟動電腦再次登入之後,我們就會發覺到,當我們要離開 Guest OS 的時候,不再需要按「Ctrl + Alt」了, 現在我們來分享 Host OS 的資料夾給 Guest OS 使用,〔VM〕→〔Settings〕註:左下角原本都會顯示「You do not have VMware Tools installed」,現在我們裝了 VMware Tools,就不再顯示; 問題排除:1. 需要 perl2. 需要 gcc3. 如果不是用指令解壓縮, 要注意解出來的檔案script是否執行的權限. 用 tar -zxvf 比較保險.
檔案分享權限設定:
mount -t vmhgfs .host:/ /home/username/
CentOS 6.4 命令列 安裝 VMware Tools