網站建設在CentOS安裝VMWare Tools
作者:佚名 時間:2012-09-21 分享到:
前幾天把Centos安裝好了,只是畫面實在是太小了 只有800X600,只有安裝VMWare Tools來解決這個問題了 ,安裝過程參考了這里,基本沒什么變化。
安裝VMWare Tools有幾個優點:
1.可以支持其他分辨率,不再僅限640 x 480和800 x 600。
2.主機與客戶機傳送文檔,只需鼠標拖動即可。
3.滑鼠在主機與客戶機切換時,不需再按Ctrl + Alt。使用環境 :VMWare 6.5.1+ CentOS 5.2以前若客戶機是ubuntu與Windows XP時,只要在VMWare選擇VM -> Install VMWare Tools...,就會在桌面出現VMWare Tools向導讓你安裝,但若客戶機為CentOS時,桌面上并沒有任何圖示出現,所以只好用終端來實現。第一步:
將VMWare的dvd路徑設置成虛擬機安裝目錄D:VMwareVMware Workstationlinux.iso,VMWare Tools在這個iso鏡像文件中。
第二步:打開終端,利用mount命令掛載cdrom切換上海網站建設超級用戶進行安裝
第三步:將VMWareTools-7.8.4-126130.tar.gz復制到自己的目錄/home/caijiamx ,進行解壓縮。
[root@localhost ~]# tar zxvf VMwareTools-7.8.4-126130.tar.gz第四步:
進入解壓縮后的vmware-tools-distrib目錄
[root@localhost ~]# cd vmware-tools-distrib/第五步:
執行vmware-install.pl安裝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 between1and15:[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.18-53.1.14.el5 x86_64 Red Hat, Inc.
Current Operating System: Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64
Build Date: 24 May 2008
Build ID: xorg-x11-server 1.1.1-48.41.el5
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.5683", Time: Sun May 3 02:27:00 2009
(++) Using config file: "/tmp/vmware-config0/XF86Config.5683"X is running fine with the new config file.FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.
Checking acpi hot plug [確定]
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: [確定]
VM communication interface: [確定]
VM communication interface socket family: [確定]
Blocking file system: [確定]
Guest operating system daemon: [確定]
Virtual Printing daemon: [確定]The configuration of VMware Tools 7.8.4 build-126130 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 enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X 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 startEnjoy,--the VMware team[root@localhost vmware-tools-distrib]#
在這里我首先將安裝光盤掛載到/mnt目錄下面了,然后將rpm報拷貝到home目錄下來,然后在安裝,第一次用壓縮包安裝時出現問題,開機報錯。
安裝VMWare Tools有幾個優點:
1.可以支持其他分辨率,不再僅限640 x 480和800 x 600。
2.主機與客戶機傳送文檔,只需鼠標拖動即可。
3.滑鼠在主機與客戶機切換時,不需再按Ctrl + Alt。使用環境 :VMWare 6.5.1+ CentOS 5.2以前若客戶機是ubuntu與Windows XP時,只要在VMWare選擇VM -> Install VMWare Tools...,就會在桌面出現VMWare Tools向導讓你安裝,但若客戶機為CentOS時,桌面上并沒有任何圖示出現,所以只好用終端來實現。第一步:
將VMWare的dvd路徑設置成虛擬機安裝目錄D:VMwareVMware Workstationlinux.iso,VMWare Tools在這個iso鏡像文件中。
第二步:打開終端,利用mount命令掛載cdrom切換上海網站建設超級用戶進行安裝
第三步:將VMWareTools-7.8.4-126130.tar.gz復制到自己的目錄/home/caijiamx ,進行解壓縮。
[root@localhost ~]# tar zxvf VMwareTools-7.8.4-126130.tar.gz第四步:
進入解壓縮后的vmware-tools-distrib目錄
[root@localhost ~]# cd vmware-tools-distrib/第五步:
執行vmware-install.pl安裝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 between1and15:[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.18-53.1.14.el5 x86_64 Red Hat, Inc.
Current Operating System: Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64
Build Date: 24 May 2008
Build ID: xorg-x11-server 1.1.1-48.41.el5
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.5683", Time: Sun May 3 02:27:00 2009
(++) Using config file: "/tmp/vmware-config0/XF86Config.5683"X is running fine with the new config file.FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.
Checking acpi hot plug [確定]
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: [確定]
VM communication interface: [確定]
VM communication interface socket family: [確定]
Blocking file system: [確定]
Guest operating system daemon: [確定]
Virtual Printing daemon: [確定]The configuration of VMware Tools 7.8.4 build-126130 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 enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X 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 startEnjoy,--the VMware team[root@localhost vmware-tools-distrib]#
在這里我首先將安裝光盤掛載到/mnt目錄下面了,然后將rpm報拷貝到home目錄下來,然后在安裝,第一次用壓縮包安裝時出現問題,開機報錯。
如沒特殊注明,文章均為上海聯楷網絡原創,轉載請注明來自:http://www.ktcbnqb.cn/contact/20151229/n7470.html