Linux 安裝VM tool

安裝步驟

[root@localhost ~]# mkdir /mnt/cdrom  #創一個folder

[root@localhost ~]# mount /dev/cdrom /mnt/cdrom/  #把CD rom  mount在folder上

[root@localhost ~]# cd /mnt/cdrom #跳到cdrom folder

[root@localhost ~]# ls

VMwareTools-9.0.0-782409.tar.gz

[root@localhost ~]# cp VMwareTools-9.0.0-782409.tar.gz /opt/

[root@localhost ~]# cd /opt/

[root@localhost ~]# tar -zxvf VMwareTools-9.0.0-782409.tar.gz #解壓縮

[root@localhost ~]# cd vmware-tools-distrib

[root@localhost ~]# ./vmware-install.pl #輸入./vmware-install.pl後請一直按ENTER到底就行了 (./執行)

[root@localhost ~]# rm -rf /opt/vmware-tools-distrib VMwareTools-9.0.0-782409.tar.gz #刪除兩隻檔案

[root@localhost ~]# reboot #安裝完成後請重開機



檢查是否安裝起來

[root@localhost ~]# rpm -qa | grep vm #查看是否有在執行