很多剛開始接觸 linux的朋友,在忍不住好奇的時候,沒少對 linux這個全新的系統有些望 而生畏。 一些人堅持著,一些人倒下了,然而還有些聰明的(我認為為是幸運的)准精們, 選擇在在 VM下學習 linux。 當他們興致勃勃甚至熱血沸騰著裝完 fedora或者 ubuntu後,有 部分又受挫了,安裝 vmtools,估計沒多少人沒少頭疼過。 那時候,我也是...... 前不久在論壇裡註冊了個 ID,沒事瞎逛,發現不少哥們一直在問關於 vmtools安裝的問題, 突然有些遺憾,就想幫幫這些朋友。 畢竟鄙人也是一大老粗,寫不出什麼好東西,若此處有 誤,還請大家多包含多指教! 廢話不說,安裝總結如下:
一、大致過程:
a) VM——install VMware Tools
b) 系統會自動將VMtools 鏡像插入光碟機,並自動掛載。
c) 找到安裝檔,安裝,配置,重啟。
二、使用 rpm安裝
a) 進入目錄
[wenjun@localhost ~]$ cd /
[wenjun@localhost /]$ ls
bin dev home lost+found misc net proc sbin srv tmp var
boot etc lib media mnt opt root selinux sys usr
[wenjun@localhost /]$ cd media
[wenjun@localhost media]$ ls
VMware Tools
[wenjun@localhost media]$ cd "VMware Tools" //進入光碟機所在目錄。 這兒的引號一定要加,因為中間有空格。
[wenjun@localhost VMware Tools]$ ls //我們看到,這兒有三個檔。 後面兩個是兩種不同格式的安裝檔。 *.rpm是Redhat使用的套裝軟體管理器。 *.deb是ubuntu等HTTP://www.aliyun.com/zixun/aggregation/10478.html">系統使用的套裝軟體管理器。 *.gz是壓縮包,在所有系統下解壓後運行檔即可。
這個名字太長,懶得打了,就以*代替。
manifest.txt VMwareTools-7.8.5-156735.tar.gz
VMwareTools-7.8.5-156735.i386.rpm
b) 執行安裝命令
i. Fedora 下:
[wenjun@localhost VMware Tools]$ rpm -i VMwareTools-7.8.5-156735.i386.rpm
ii. Ubuntu 下:
alien -i VMwareTools-7.8.5-15735.rpm(你得先安裝alien)
c) 安裝成功
[root@localhost VMware Tools]# rpm -i VMwareTools-7.8.5-156735.i386.rpm
The installation of VMware Tools 7.8.5 for Linux completed successfully.
You can decide to remove this software from your system at any time by
invoking the following command: "rpm -e VMwareTools". 如果你要卸載,就運行這條命令
Before running VMware Tools for the first time, you need to
configure it for your running kernel by invoking the following command: "/usr/bin/vmware-config-tools.pl". 提示你還需要配置。
Enjoy,
--the VMware team