<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[ [ CentOS ] 安装VMware Tools ]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Tue, 29 Dec 2009 13:15:24 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	 主要问题：<br/><br/>Fedora13 Alpha版本内核版本为：<br/>2.6.33-0.52.rc8.git6.fc13.i686.PAE<br/>其下载地址为：<br/>ftp://rpmfind.net/linux/fedora/releases/test/13-Alpha/Fedora/i386/os/Packages/kernel-devel-2.6.33-0.52.rc8.git6.fc13.i686.rpm<br/>注：不同的版本可在此网站找到相应的文件。<br/>----- 如果网络畅通,可以 运行 [ yum -y install kernel-devel ],进行安装就6M,很快<br/> <br/><br/><br/><br/><br/>参考网页：<a href="http://www.51ciw.com/debian_install/09_VMwareTools/VMwareTools.htm" target="_blank">http://www.51ciw.com/debian_install/09_VMwareTools/VMwareTools.htm</a><br/><br/>为什么要装 VMware Tools？<br/><br/>因为它可以改善 Virtual Machine 的运行性能，而且可以让 Host OS 和 Guest OS 互通有无，这样我们就不用伤脑筋，要架设什么服务器，来沟通两个 OS，现在就让我们开始吧！<br/><br/>VMware Tools所在位置：VMware 安装路径 &#92;VMware&#92;VMware Workstation&#92;linux.iso<br/><br/>[root@rd01 ~]# mount /cdrom&nbsp;&nbsp;&nbsp;&nbsp; <br/># 有时可能加载不了，这时就要先将系统关闭，再手动指定 ISO 映像，看下图<br/>[root@rd01 ~]# cd /cdrom<br/>[root@rd01 ~]# ls -a<br/>[root@rd01 ~]# cp VMwareTools-5.5.1-19175.tar.gz /tmp<br/>[root@rd01 ~]# cd /tmp<br/>[root@rd01 ~]# tar zxpf VMwareTools-5.5.1-19175.tar.gz<br/>[root@rd01 ~]# cd vmware-tools-distrib<br/>[root@rd01 vmware-tools-distrib]# ./vmware-install.pl<br/>Creating a new installer database using the tar3 format.<br/><br/>Installing the content of the package. <br/><br/># 安装过程的画面，全部使用默认值，一直按 Enter 就对了<br/><br/>In which directory do you want to install the binary files?<br/>[/usr/bin]<br/><br/>What is the directory that contains the init directories (rc0.d/ to rc6.d/)?<br/><br/>[/etc/rc.d]<br/><br/>What is the directory that contains the init scripts?<br/>[/etc/rc.d/init.d]<br/><br/>In which directory do you want to install the daemon files?<br/>[/usr/sbin]<br/><br/>In which directory do you want to install the library files?<br/>[/usr/lib/vmware-tools]<br/><br/>The path &quot;/usr/lib/vmware-tools&quot; does not exist currently. This program is goingto create it, including needed parent directories. Is this what you want?<br/>[yes] <br/><br/>In which directory do you want to install the documentation files?<br/>[/usr/share/doc/vmware-tools]<br/><br/>The path &quot;/usr/share/doc/vmware-tools&quot; does not exist currently. This program isgoing to create it, including needed parent directories. Is this what you want?<br/>[yes]<br/><br/>The installation of VMware Tools 5.5.1 build-19175 for Linux completed<br/>successfully. You can decide to remove this software from your system at any<br/>time by invoking the following command: &quot;/usr/bin/vmware-uninstall-tools.pl&quot;.<br/><br/>Before running VMware Tools for the first time, you need to configure it by<br/>invoking the following command: &quot;/usr/bin/vmware-config-tools.pl&quot;. Do you want<br/>this program to invoke the command for you now? [yes]<br/><br/><br/>Stopping VMware Tools services in the virtual machine:<br/>&nbsp;&nbsp;Guest operating system daemon:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&nbsp;&nbsp;确定&nbsp;&nbsp;]<br/>Trying to find a suitable vmhgfs module for your running kernel.<br/><br/>The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.<br/><br/>pcnet32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;30153&nbsp;&nbsp;0<br/>Unloading pcnet32 module<br/><br/>Trying to find a suitable vmxnet module for your running kernel.<br/><br/>The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.<br/><br/><br/><br/>Detected X.org version 6.8.<br/><br/>关闭控制台鼠标服务：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&nbsp;&nbsp;确定&nbsp;&nbsp;]<br/>启动控制台鼠标服务：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&nbsp;&nbsp;确定&nbsp;&nbsp;]<br/><br/>Please choose one of the following display sizes (1 - 13):<br/><br/># 显示分辨率，这里是以 1024x768 为例<br/><br/># VMware Tools 安装的时候，会自动修改 X server 的配置文件<br/><br/>[1]&nbsp;&nbsp;&quot;640x480&quot;<br/>[2]&lt; &quot;800x600&quot;<br/>[3]&nbsp;&nbsp;&quot;1024x768&quot;<br/>[4]&nbsp;&nbsp;&quot;1152x864&quot;<br/>[5]&nbsp;&nbsp;&quot;1280x800&quot;<br/>[6]&nbsp;&nbsp;&quot;1152x900&quot;<br/>[7]&nbsp;&nbsp;&quot;1280x1024&quot;<br/>[8]&nbsp;&nbsp;&quot;1376x1032&quot;<br/>[9]&nbsp;&nbsp;&quot;1400x1050&quot;<br/>[10]&nbsp;&nbsp;&quot;1680x1050&quot;<br/>[11]&nbsp;&nbsp;&quot;1600x1200&quot;<br/>[12]&nbsp;&nbsp;&quot;1920x1200&quot;<br/>[13]&nbsp;&nbsp;&quot;2364x1773&quot;<br/>Please enter a number between 1 and 13:<br/><br/>[2] 3<br/><br/><br/>X Window System Version 6.8.2<br/>Release Date: 9 February 2005<br/>X Protocol Version 11, Revision 0, Release 6.8.2<br/>Build Operating System: Linux 2.6.9-34.EL i686 [ELF]<br/>Current Operating System: Linux rd01.domain 2.6.9-34.EL #1 Wed Mar 8 00:07:35 CST 2006 i686<br/>Build Date: 04 May 2006<br/>Build Host: x8664-build.centos.org<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Before reporting problems, check <a href="http://wiki.X.Org" target="_blank">http://wiki.X.Org</a><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to make sure that you have the latest version.<br/>Module Loader present<br/>OS Kernel: Linux version 2.6.9-34.EL (buildcentos@build-i386) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 Wed Mar 8 00:07:35 CST 2006 P<br/>Markers: (--) probed, (**) from config file, (==) default setting,<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (++) from command line, (!!) notice, (II) informational,<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (WW) warning, (EE) error, (NI) not implemented, (??) unknown.<br/>(++) Log file: &quot;/tmp/vmware-config0/XF86ConfigLog.3131&quot;, Time: Mon Jun 12 20:57:34 2006<br/>(++) Using config file: &quot;/tmp/vmware-config0/XF86Config.3131&quot;<br/>(WW) VMWARE(0): Failed to set up write-combining range (0xf0000000,0x1000000)<br/><br/>X is running fine with the new config file.<br/><br/>Starting VMware Tools services in the virtual machine:<br/>&nbsp;&nbsp;Switching to guest configuration:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&nbsp;&nbsp;确定&nbsp;&nbsp;]<br/>&nbsp;&nbsp;Guest filesystem driver:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&nbsp;&nbsp;确定&nbsp;&nbsp;]<br/>&nbsp;&nbsp;DMA setup:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&nbsp;&nbsp;确定 ]<br/>&nbsp;&nbsp;Guest operating system daemon:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&nbsp;&nbsp;确定&nbsp;&nbsp;]<br/><br/>The configuration of VMware Tools 5.5.1 build-19175 for Linux for this running<br/>kernel completed successfully.<br/><br/>You must restart your X session before any mouse or graphics changes take<br/>effect.<br/><br/>You can now run VMware Tools by invoking the following command:<br/>&quot;/usr/bin/vmware-toolbox&quot; during an XFree86 session.<br/><br/>To use the vmxnet driver, restart networking using the following commands:<br/>/etc/init.d/network stop<br/>rmmod pcnet32<br/>rmmod vmxnet<br/>depmod -a<br/>modprobe vmxnet<br/>/etc/init.d/network start<br/><br/>Enjoy,<br/><br/>--the VMware team<br/><br/>[root@rd01 vmware-tools-distrib]# shutdown -r now<br/><br/># 修改完成之后，重新启动计算机，让 VMware Tools 生效<br/><br/><br/><br/># 重新启动计算机之后，我们就会发觉到，当我们要离开 Guest OS 的时候，不再需要按 Ctrl + Alt 了，<br/><br/># 现在我们来共享 Host OS 的文件夹给 Guest 使用，〔VM〕→〔设置 Ctrl + D〕<br/><br/># 注：左下角原本都会显示「You do not have VMware Tools installed」，现在我们装了 VMware Tools，就不再显示了<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/># 这就是共享完毕的画面，然后我们就需要到 Guest OS 内，看看可不可以读取到刚刚共享的目录<br/><br/># 顺利的话，我们只要到「/mnt/hgfs」文件夹，就可以看到刚刚共享的文件夹了<br/>
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论]  [ CentOS ] 安装VMware Tools ]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>