TShopping

 找回密碼
 註冊
搜索
查看: 2505|回復: 3
打印 上一主題 下一主題

[CentOS] VMware Tools 安裝步驟

[複製鏈接]
跳轉到指定樓層
1#
發表於 2010-4-21 11:42:51 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
 
Push to Facebook



【 VMware 簡介 】

VMware工作站(VMware Workstation)是VMware公司銷售的商業軟體產品之一。該工作站軟體包含一個用於英特爾 x86兼容電腦的虛擬機套裝,其允許多個 x86虛擬機同時被創建和運行。每個虛擬機實例可以運行其自己的客戶機操作系統,如(但不限於)Windows、Linux、BSD 變生版本。用簡單術語來描述就是,VMware工作站允許一臺真實的電腦同時運行數個操作系統。

VMware Tools的功能,主要提供 Guest OS 調整解析度、以及滑鼠的應用,會需要用到這個工具,是因為常需要在兩個系統間切換使用滑鼠,假如每次都得按「Crtl+Alt」才能將滑鼠的控制權從VMware取回,的確會相當麻煩。另外一方面,新版的VMware Tools對於解析度的支援,也已比以前的版本高出許多,在此推薦各位若有使用VMware,記得要將VMware Tools裝上,回到正題開始說明如何安裝 VMware Tools。

VMware Tools 環境設定:

      ※ VMware Workstation 6.x
      ※ RedHat 5.1


VMware Tools 安裝步驟:





首先,在VMware的控制頁,CD-ROM的地方請選擇「Auto detect」,再啟動虛擬的作業系統,讓VMware可以載入需要安裝的套件。





進入作業系統後,按下「Ctrl+Alt」跳離 Guest OS ,點選該軟體的「VM」→「Install VMware Tools」,執行安裝的步驟。
  
  1. [root@paulC ~]# mkdir /mnt/cdrom

  2. [root@paulC ~]# mount /dev/cdrom /mnt/cdrom/
  3. mount: block device /dev/cdrom is write-protected, mounting read-only

  4. [root@paulC ~]# cd /mnt/cdrom

  5. [root@paulC cdrom]# ls
  6. VMwareTools-6.0.2-59824.i386.rpm VMwareTools-6.0.2-59824.tar.gz

  7. [root@paulC cdrom]# rpm -Uvh VMwareTools-6.0.2-59824.i386.rpm
  8. Preparing...      ########################################### [100%]
  9. 1:VMwareTools    ########################################### [100%]

  10. [root@paulC cdrom]# cd /

  11. [root@paulC /]# umount /mnt/cdrom
複製代碼

掛載 CD-ROM,安裝VMware Tools 的套件,再將 CD-ROM 卸載。

  1. [root@paulC /]# vmware-config-tools.pl

  2. Stopping VMware Tools services in the virtual machine:
  3. Guest operating system daemon:         [ OK ]
  4. Trying to find a suitable vmmemctl module for your running kernel.

  5. ...

  6. [EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service
  7. provides a new communication capability with the Host, primarily for
  8. development at the moment. Would you like to enable this feature? [no]安裝過程會出現問您是否要啟動 VMCI 的功能,選預設值「no」即可!

  9. [code]
  10. Detected X.org version 7.1.

  11. Please choose one of the following display sizes that X will start with (1 - 15):

  12. [1] "640x480"
  13. [2] "800x600"
  14. [3] "1024x768"
  15. [4] "1152x864"
  16. [5] "1280x800"
  17. [6]< "1152x900"
  18. [7] "1280x1024"
  19. [8] "1376x1032"
  20. [9] "1400x900"
  21. [10] "1400x1050"
  22. [11] "1440x900"
  23. [12] "1680x1050"
  24. [13] "1600x1200"
  25. [14] "1920x1200"
  26. [15] "2364x1773"
  27. Please enter a number between 1 and 15:
複製代碼


[6] 3
這裡可以選擇您想要的顯示解析度,範例選擇「[3] "1024x768"」。  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-42.ELsmp i686 Red Hat, Inc.
Current Operating System: Linux paulC.localdomain 2.6.18-8.el5 #1 SMP Fri Jan 26 1421 EST 2007 i686

...

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 stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/network start

To make use of the virtual printer, you will need to restart the CUPS service

Enjoy,

--the VMware team
[/code]
安裝成功後,上面有教你要做哪些步驟能讓您的設定生效,建議是直接重開 Linux (Guest OS) 即可!
  1. [root@paulC /]# sync;sync;sync;reboot
複製代碼
重開之後,自然可以發現解析度已調為正常,且滑鼠可以自在的在主系統與虛擬機器間使用,且能共用剪貼簿內的資料,就不用一個指令慢慢輸入囉! ^^~~


                 OK,筆記結束,收工!

 

臉書網友討論
2#
發表於 2013-11-7 01:14:54 | 只看該作者
好睏啊  

版主招募中

3#
發表於 2013-11-7 01:14:54 | 只看該作者
初來乍到,請多多關照。。。  


4#
發表於 2013-11-7 01:14:54 | 只看該作者
你加油吧  


*滑块验证:
您需要登錄後才可以回帖 登錄 | 註冊 |

本版積分規則



Archiver|手機版|小黑屋|免責聲明|TShopping

GMT+8, 2024-4-28 20:06 , Processed in 0.044202 second(s), 19 queries .

本論壇言論純屬發表者個人意見,與 TShopping綜合論壇 立場無關 如有意見侵犯了您的權益 請寫信聯絡我們。

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表