关注联楷|返回首页 | 网站案例 | 帮助中心

合作共赢、快速高效、优质的网站建设提供商

上海网站建设 

服务热线:021-61394118

上海联楷科技

网站建设在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目录下来,然后在安装,第一次用压缩包安装时出现问题,开机报错。



如没特殊注明,文章均为上海联楷网络原创,转载请注明来自:http://www.linksj.com/contact/20151229/n7470.html

上海联楷网络新闻