设为首页 收藏本站
查看: 872|回复: 0

[经验分享] VMware的linux系统中安装VMware tool

[复制链接]

尚未签到

发表于 2018-6-6 19:46:47 | 显示全部楼层 |阅读模式
Last login: Wed Mar 27 23:28:16 2013
1、 [root@localhost /]# cd /media/
[root@localhost media]# ls
VMware Tools
2、[root@localhost media]# cd VMware\ Tools/
[root@localhost VMware Tools]# ls
manifest.txt VMwareTools-8.8.5-893888.tar.gz
[root@localhost VMware Tools]# ls /tmp/
gconfd-root                                 scim-helper-manager-socket-root
keyring-Iw9kVP                              scim-panel-socket:0-root
mapping-root                                scim-socket-frontend-root
orbit-root                                  ssh-lUFyDv3998
scim-bridge-0.3.0.lockfile-0@localhost:0.0 virtual-root.Nq9tkw
scim-bridge-0.3.0.socket-0@localhost:0.0
3、[root@localhost VMware Tools]# cp VMwareTools-8.8.5-893888.tar.gz /tmp/
[root@localhost VMware Tools]# ls /tmp/
gconfd-root                                 scim-helper-manager-socket-root
keyring-Iw9kVP                              scim-panel-socket:0-root
mapping-root                                scim-socket-frontend-root
orbit-root                                  ssh-lUFyDv3998
scim-bridge-0.3.0.lockfile-0@localhost:0.0 virtual-root.Nq9tkw
scim-bridge-0.3.0.socket-0@localhost:0.0    VMwareTools-8.8.5-893888.tar.gz
4、[root@localhost VMware Tools]# cd /tmp/
5、[root@localhost tmp]# tar -zxf VMwareTools-8.8.5-893888.tar.gz
[root@localhost tmp]# ls
gconfd-root                                 scim-panel-socket:0-root
keyring-Iw9kVP                              scim-socket-frontend-root
mapping-root                                ssh-lUFyDv3998
orbit-root                                  virtual-root.Nq9tkw
scim-bridge-0.3.0.lockfile-0@localhost:0.0 VMwareTools-8.8.5-893888.tar.gz
scim-bridge-0.3.0.socket-0@localhost:0.0    vmware-tools-distrib
scim-helper-manager-socket-root
6、[root@localhost tmp]# cd vmware-tools-distrib/
[root@localhost vmware-tools-distrib]# ls
bin doc etc FILES INSTALL installer lib vmware-install.pl
7、[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] yes

The path "yes" is a relative path. Please enter an absolute path.

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 8.8.5 build-893888 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]

Initializing...


Making sure services for VMware Tools are stopped.

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:[纭畾]
   Virtual Printing daemon:[纭畾]
   Unmounting HGFS shares:[纭畾]
   Guest filesystem driver:[纭畾]


[EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that
creates backups of virtual machines. Please refer to the VMware Knowledge Base
for more details on this capability. Do you wish to enable this feature?
[no]

Found a compatible pre-built module for vmci. Installing it...


Found a compatible pre-built module for vsock. Installing it...


Found a compatible pre-built module for vmxnet3. Installing it...


Found a compatible pre-built module for pvscsi. Installing it...


Found a compatible pre-built module for vmmemctl. Installing it...


The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment. Do you wish
to enable this feature? [yes]

Found a compatible pre-built module for vmhgfs. Installing it...


Found a compatible pre-built module for vmxnet. Installing it...


Found a compatible pre-built module for vmblock. Installing it...


!!! [EXPERIMENTAL] !!!
VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot they are not already present. By selecting yes,
you will be enabling this experimental feature. You can always disable this
feature by re-running vmware-config-tools.pl.

Would you like to enable VMware automatic kernel modules?
[no]



Detected X version 7.1


Host resolution detected as "1360 x 768".


Please choose one of the following display sizes that X will start with:

[1] "320x200"
[2] "320x240"
[3] "400x300"
[4] "512x384"
[5] "640x400"
[6] "640x480"
[7] "720x480"
[8] "800x480"
[9] "854x480"
[10] "720x576"
[11] "800x600"
[12] "1024x768"
[13]< &quot;1280x720&quot;
Please enter a number between 1 and 13:

[13] 12^H1

The answer &quot;11&quot; is invalid. Please enter a valid number in the range 1 to 13

Please enter a number between 1 and 13:

[13] 11


X is running fine with the new config file.

Creating a new initrd boot image for the kernel.
   Checking acpi hot plug[确定]
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:[确定]
   Paravirtual SCSI module:[确定]
   Guest memory manager:[确定]
   Guest vmxnet fast network device:[确定]
   VM communication interface:[确定]
   VM communication interface socket family:[确定]
   Guest filesystem driver:[确定]
   Mounting HGFS shares:[失败]
   Blocking file system:[确定]
   Guest operating system daemon:[确定]
   Virtual Printing daemon:[确定]
The configuration of VMware Tools 8.8.5 build-893888 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 &quot;/usr/bin/vmware-toolbox-cmd&quot; from the
command line or by invoking &quot;/usr/bin/vmware-toolbox&quot; from the command line
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 start

Enjoy,

--the VMware team

Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device
/dev/hdc ...
[root@localhost vmware-tools-distrib]# shutdown -r now

Broadcast message from root (pts/2) (Thu Apr 11 11:36:31 2013):

The system is going down for reboot NOW!
[root@localhost vmware-tools-distrib]#

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-519731-1-1.html 上篇帖子: vmware esxi 4.0 上安装postfix,mailx发送邮件 下篇帖子: VMware DHCP Service无法启动 系统错误1067
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表