引導(dǎo)CentOS安裝VMWare Tools進(jìn)程管理
CentOS桌面已被廣泛應(yīng)用但是也在不斷的更新,這里介紹CentOS安裝設(shè)置使用,幫助大家安裝更新CentOS安裝系統(tǒng)。介紹了CentOS安裝自由軟件和開(kāi)源軟件的基礎(chǔ)知識(shí),在CentOS安裝VMWare Tools? (OS) (Linux) (CentOS) (VMWare)
Abstract安裝VMWare Tools有很多優(yōu)點(diǎn),不過(guò)在CentOS安裝比較麻煩,本文是我的安裝心得。
Introduction使用環(huán)境 : VMWare 6.0.2 + CentOS 5.1
安裝VMWare Tools有幾個(gè)優(yōu)點(diǎn):
1.可以支援其他解析度,不再侷限於640 x 480和800 x 600。
2.Host OS與Guest OS傳檔時(shí),只需滑鼠拖曳即可。
3.滑鼠在Host OS與Guest OS切換時(shí),不需再按Ctrl + Alt。
根據(jù)以前的經(jīng)驗(yàn),若Guest OS是Fedora與Windows XP時(shí),只要在VMWare選VM -> Install VMWare Tools...,就會(huì)在桌面出現(xiàn)VMWare Tools圖示讓你安裝,但若Guest OS為CentOS時(shí),桌面上並沒(méi)有任何圖示出現(xiàn),請(qǐng)依照以下步驟為CentOS安裝VMWare Tools。
Step 1:將VMWare的光碟機(jī)設(shè)定成C:\Program Files\VMware\VMware Workstation\linux.iso,VMWare Tools在這個(gè)iso檔內(nèi)。
Step 2:進(jìn)入CentOS桌面後,將光碟機(jī)打開(kāi),看到了VMWareTools-6.0.2-59824.i386.rpm與VMWareTools-6.0.2.59824.tar.gz。看到rpm你應(yīng)該很興奮,因?yàn)镃entOS安裝與Fedora/RHEL師出同源,所以應(yīng)該可以用,但經(jīng)我測(cè)試結(jié)果,是可以安裝,CentOS安裝過(guò)程也沒(méi)有錯(cuò)誤,但可惜安裝完沒(méi)有VMWare Tools該有的功能,所以只能用tarball來(lái)安裝了。
Step 3:將VMWareTools-6.0.2.59824.tar.gz複製到home directory,進(jìn)行解壓縮。root@localhost ~]# tar zxvf VMwareTools-6.0.2-59824.tar.gz
Step 4:進(jìn)入解壓縮後的vmware-tools-distrib目錄[root@localhost ~]# cd vmware-tools-distrib/
Step 5:執(zhí)行vmware-install.plCentOS安裝VMWare Tools[root@localhost vmware-tools-distrib]# ./vmware-install.pl之後出現(xiàn)很多問(wèn)題,都接受預(yù)設(shè)值一直按enter即可,唯一問(wèn)到螢?zāi)唤馕龆葐?wèn)題,若你想使用其他解析度,請(qǐng)自行設(shè)定如下:Please choose one of the following
display sizes that X will start with (1 - 15):
[1]"640x480"[2]< "800x600"[3]"1024x768"[4]"1152x864"[5]"1280x800"[6]"1152x900"[7]"1280x1024"[8]"1376x1032"[9]"1400x900"[10]"1400x1050"[11]"1440x900"
[12]"1680x1050"[13]"1600x1200"[14]"1920x1200"[15]"2364x1773"Please enter a number between 1 and 15:[2] 3
最後出現(xiàn)以下訊息,表示安裝成功。
X Window System Version 7.1.1 Release Date: 12 May 2006 X Protocol Version 11, Revision 0, Release 7.1.1 Build Operating System: Linux 2.6.9-67.ELsmp i686 Red Hat, Inc.Current Operating System: Linux localhost.localdomain 2.6.18-53.1.19.el5 #1 SMP Wed May 7 08:20:19 EDT 2008 i686 Build Date: 19 January 2008 Build ID: xorg-x11-server 1.1.1-48.26.el5_1.5 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting,(++) from command line, (!!) notice, (II) informational,(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/vmware-config0/XF86ConfigLog.2977", Time: Fri Jun6 15:14:32 2008(++) Using config file: "/tmp/vmware-config0/XF86Config.2977"X is running fine with the new config file.
FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.Starting VMware Tools services in the virtual machine:Switching to guest configuration: [確定]Guest filesystem driver:[確定]Mounting HGFS shares: [失敗]Guest memory manager: [確定]Guest vmxnet fast network device: [確定]Blocking file system: [確定]DMA setup:[確定]Guest operating system daemon:[確定]
The configuration of VMware Tools 6.0.2 build-59824 for Linux for this running kernel completed successfully.You must restart your X session before any mouse or graphics changes take effect.You can now run VMware Tools by invoking the following command: "/usr/bin/vmware-toolbox" during an X server session.
To use the vmxnet driver, restart networking using the following commands: /etc/init.d/network stoprmmod pcnet32rmmod vmxnetmodprobe vmxnet/etc/init.d/network startTo make use of the virtual printer, you will need to restart the CUPS service Enjoy,--the VMware team
重新啟動(dòng)CentOS安裝,你就會(huì)發(fā)現(xiàn)新的螢?zāi)唤馕龆瘸霈F(xiàn),並且滑鼠不需再切換,且可使用拖曳的方式傳檔。Conclusion以前在VMWare 5時(shí),雖然VMWare Tools可以拖曳傳檔,但速度非常慢,但在VMWare 6的傳檔速度非???,看來(lái)進(jìn)步不少。See Also如何在CentOS安裝裝VMWare Tools? (OS) (Linux) (Ubuntu) (VMWare) Referencenorman的CentOS VM CentOS安裝 vmware tools
【編輯推薦】