一区二区三区日韩精品-日韩经典一区二区三区-五月激情综合丁香婷婷-欧美精品中文字幕专区

分享

在CentOS_Linux版虛擬機(jī)中安裝VMTools工具

 Dead n Gone 2011-08-15
為什么要裝 VMware Tools?

因?yàn)樗梢愿纳?Virtual Machine 的運(yùn)行性能,而且可以讓 本地的OS 和 CentOS 互通有無,這樣我們就不用傷腦筋,要架設(shè)什么服務(wù)器,來溝通兩個 OS,現(xiàn)在就讓我們開始吧!
圖一
看到圖一中,圖標(biāo)1這里,表示沒有安裝“VMware Tools” ,要在“VM”選項(xiàng)中點(diǎn)擊“Install VMware Tools”進(jìn)行安裝?。?!如圖標(biāo)2!?。?/div>
圖二,
在圖二中,點(diǎn)擊“Install”進(jìn)行安裝VMware Tools!!!
圖三,
在圖三中有二個種安裝方式,簡單的就在圖三中,直接點(diǎn)擊:“應(yīng)用”就想WIN中安裝軟件,下一步下一步就可以了。。。這里就不做介紹了。。。
我們這一次主要是用“VMwareTools-6.0.2-59824.tar.gz ”來安裝VMTools工具!
[root@localhost ~]# mount -t iso9660 /dev/cdrom /mnt #加載CDROM設(shè)備
//這時如果進(jìn)入 /mnt 目錄下,你將會發(fā)現(xiàn)多了一個文件:VMwareTools-6.0.2-59824.tar.gz 。這就是WMWARE TOOLS的LINUX軟件包,

mount: block device /dev/cdrom is write-protected, mounting read-only
mount: /dev/cdrom already mounted or /mnt busy
mount: according to mtab, /dev/hdc is already mounted on /mnt
[root@localhost ~]# cp /mnt/VMwareTools-6.0.2-59824.tar.gz /tmp //將該軟件包拷貝到CentOS的tmp目錄下
[root@localhost ~]# cd /tmp #進(jìn)入tmp目錄
[root@localhost tmp]# tar zxf VMwareTools-6.0.2-59824.tar.gz //壓縮該軟件包,默認(rèn)解壓到vmware-linux-distrib目錄下(與文件名同名)。

[root@localhost tmp]# ls //查看一下tmp目錄下的文件和文件
gconfd-root scim-panel-socket:0-root
keyring-7JZqvI scim-socket-frontend-root
keyring-ReIvNv ssh-YBJsXe2479
keyring-uVhSan virtual-root.fEFapV
mapping-root virtual-root.KivsMu
orbit-root virtual-root.SjEmT1
scim-bridge-0.3.0.lockfile-0@localhost:0.0 VMwareTools-6.0.2-59824.tar.gz
scim-bridge-0.3.0.socket-0@localhost:0.0 vmware-tools-distrib
scim-helper-manager-socket-root
[root@localhost tmp]# cd vmware-tools-distrib //進(jìn)入vmware-tools-distrib 文件夾

[root@localhost vmware-tools-distrib]# ls //查看文件夾中的文件,找到對應(yīng)的安裝文件 *.pl(這里是vmware-install.pl)
bin doc etc FILES INSTALL installer lib vmware-install.pl

[root@localhost vmware-tools-distrib]# ./vmware-install.pl //開始安裝
Creating a new VMware Tools installer database using the tar4 format.
Installing VMware Tools.
In which directory do you want to install the binary files? //遇到這樣的直接回車就可以了
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]

What is the directory that contains the init scripts?
[/etc/rc.d/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] yes

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes] yes

The installation of VMware Tools 6.0.2 build-59824 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes] yes

Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [ 確定 ]
Trying to find a suitable vmmemctl module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
Trying to find a suitable vmhgfs module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
pcnet32 30409 0
Unloading pcnet32 module
Trying to find a suitable vmxnet module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
Trying to find a suitable vmblock module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
[EXPERIMENTAL] The VMware CPU Time Accounting daemon (vmware-vmdesched) can
help increase the accuracy of CPU time accounting performed by the guest
operating system. Please refer to the VMware Knowledge Base for more details on
this capability. Do you wish to enable this feature? [no] no

[EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service
provides a new communication capability with the Host, primarily for
development at the moment. Would you like to enable this feature? [no] no

Detected X.org version 6.8.
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:
[5] 3
//選擇安裝vmtools后的屏幕分辨率[3] "1024x768"
X Window System Version 6.8.1
Release Date: 17 September 2004
X Protocol Version 11, Revision 0, Release 6.8.1
Build Operating System: Linux 2.6.9-1.860_ELsmp i686 [ELF]
Current Operating System: Linux localhost.localdomain 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686
Build Date: 09 December 2004
Build Host: tweety.build.redhat.com
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.9-5.EL (bhcompile@decompose.build.redhat.com) (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 Wed Jan 5 19:22:18 EST 2005 P
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.3037", Time: Tue Jul 14 16:14:32 2009
(++) Using config file: "/tmp/vmware-config0/XF86Config.3037"
X is running fine with the new config file.
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 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
//提示系統(tǒng)重新啟動,配置生效
Enjoy,
--the VMware team
CentOS重啟。。。就可以看到圖一中圖標(biāo)1中變成下圖所顯示。。。說明VMTools安裝成功了。。。
圖四
一種奇怪的現(xiàn)象發(fā)生了: 重新啟動CentOS之后,當(dāng)我們要離開 CentOS 的時候,不再需要按 Ctrl + Alt 了!
現(xiàn)在我們來共享 WINXP_OS 的文件夾給 CentOS 使用
圖五
如圖五,進(jìn)入VM的“編輯虛擬機(jī)設(shè)置”

這就是共享完畢的畫面,然后我們就到 CentOS 內(nèi)看看可不可以讀取到剛剛共享的目錄


在「/mnt/hgfs」文件夾,看到了剛剛共享的文件夾“text” ...到這里,此實(shí)驗(yàn)就成功完成了。。。

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多

    久久精品视频就在久久| 色一欲一性一乱—区二区三区| 日本三区不卡高清更新二区| 欧美日韩欧美国产另类| 久久综合九色综合欧美| 日韩一区二区三区18| 精品少妇一区二区视频| 懂色一区二区三区四区| 日本黄色高清视频久久| 国产精品欧美在线观看| 我想看亚洲一级黄色录像| 久久久免费精品人妻一区二区三区 | 日韩一级欧美一级久久| 中日韩美一级特黄大片| 尹人大香蕉中文在线播放| 午夜久久久精品国产精品| 日本少妇中文字幕不卡视频| 日本高清加勒比免费在线| 天海翼精品久久中文字幕| 欧美熟妇喷浆一区二区| 成人日韩视频中文字幕| 色婷婷丁香激情五月天| 久久中文字人妻熟女小妇| 不卡中文字幕在线视频| 亚洲淫片一区二区三区| 国内尹人香蕉综合在线| 亚洲熟女国产熟女二区三区| 一区二区不卡免费观看免费| 亚洲性日韩精品一区二区| 精品香蕉一区二区在线| 午夜色午夜视频之日本| 日韩精品综合福利在线观看| 91久久精品国产成人| 日韩av生活片一区二区三区| 国产盗摄精品一区二区视频| 日本黄色录像韩国黄色录像| 日韩精品你懂的在线观看| 国产大屁股喷水在线观看视频 | 欧美人妻盗摄日韩偷拍| 国产精品欧美一区两区| 日韩中文字幕在线不卡一区|