WEB开发网
开发学院操作系统CentOS 引导CentOS安装VMWare Tools进程管理 阅读

引导CentOS安装VMWare Tools进程管理

 2010-06-01 22:52:08 来源:WEB开发网   
核心提示:CentOS桌面已被广泛应用但是也在不断的更新,这里介绍CentOS安装设置使用,引导CentOS安装VMWare Tools进程管理,帮助大家安装更新CentOS安装系统,介绍了CentOS安装自由软件和开源软件的基础知识,在CentOS安裝VMWare Tools? (OS) (Linux) (CentOS) (V

CentOS桌面已被广泛应用但是也在不断的更新,这里介绍CentOS安装设置使用,帮助大家安装更新CentOS安装系统。介绍了CentOS安装自由软件和开源软件的基础知识,在CentOS安裝VMWare Tools? (OS) (Linux) (CentOS) (VMWare)

Abstract安裝VMWare Tools有很多優點,不過在CentOS安裝比較麻煩,本文是我的安裝心得。

Introduction使用環境 : VMWare 6.0.2 + CentOS 5.1
安裝VMWare Tools有幾個優點:
1.可以支援其他解析度,不再侷限於640 x 480和800 x 600。
2.Host OS與Guest OS傳檔時,只需滑鼠拖曳即可。
3.滑鼠在Host OS與Guest OS切換時,不需再按Ctrl + Alt。

根據以前的經驗,若Guest OS是Fedora與Windows XP時,只要在VMWare選VM -> Install VMWare Tools...,就會在桌面出現VMWare Tools圖示讓你安裝,但若Guest OS為CentOS時,桌面上並沒有任何圖示出現,請依照以下步驟為CentOS安裝VMWare Tools。

Step 1:將VMWare的光碟機設定成C:\Program Files\VMware\VMware Workstation\linux.iso,VMWare Tools在這個iso檔內。
Step 2:進入CentOS桌面後,將光碟機打開,看到了VMWareTools-6.0.2-59824.i386.rpm與VMWareTools-6.0.2.59824.tar.gz。看到rpm你應該很興奮,因為CentOS安裝與Fedora/RHEL師出同源,所以應該可以用,但經我測試結果,是可以安裝,CentOS安裝過程也沒有錯誤,但可惜安裝完沒有VMWare Tools該有的功能,所以只能用tarball來安裝了。
Step 3:將VMWareTools-6.0.2.59824.tar.gz複製到home directory,進行解壓縮。root@localhost ~]# tar zxvf VMwareTools-6.0.2-59824.tar.gz
Step 4:進入解壓縮後的vmware-tools-distrib目錄[root@localhost ~]# cd vmware-tools-distrib/
Step 5:執行vmware-install.plCentOS安裝VMWare Tools[root@localhost vmware-tools-distrib]# ./vmware-install.pl之後出現很多問題,都接受預設值一直按enter即可,唯一問到螢幕解析度問題,若你想使用其他解析度,請自行設定如下: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

最後出現以下訊息,表示安裝成功。
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

重新啟動CentOS安裝,你就會發現新的螢幕解析度出現,並且滑鼠不需再切換,且可使用拖曳的方式傳檔。Conclusion以前在VMWare 5時,雖然VMWare Tools可以拖曳傳檔,但速度非常慢,但在VMWare 6的傳檔速度非常快,看來進步不少。See Also如何在CentOS安裝裝VMWare Tools? (OS) (Linux) (Ubuntu) (VMWare) Referencenorman的CentOS VM CentOS安裝 vmware tools

Tags:引导 CentOS

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接