VM的Linux CentOS系统的VMTools的手动安装

一是没时间安装,另外是一直用的是VM的绿色版,里面没有Linux.iso 文件

今天晚上安装上了 linux 的vmtools ,再也不用按 Ctrl+Alt 了 也不用看800 X 600的桌面了!

在vmware安装vmware tools,如果直接安装VMTools工具不成功,那么就需要手工安装。



1. 以ROOT身份进入LINUX

2. 退出到windows,点击 SETTING菜单下的ENABLE VMWARE TOOLS子菜单,确认安装

3. 使用虚拟光驱加载iso镜像,路径为d:\linux.iso

4. 进入linux运行在终端执行如下语句,将tar.gz 复制到/tmp目录下: 因为在cdrom文件下没的可执行权限!

cp VMwareTools-8.1.3-203739.tar.gz /tmp

5. cd /tmp 进入TMP目录

6. tar zxf vmware-linux-tools.tar.gz

解压缩该软件包,默认解压到 vmware-tools-distrib目录下(与文件名同名)。

cd vmware-tools-distrib 进入解压后的目录

7. 执行安装文件

[root@localhost vmware-tools-distrib]# ./INSTALL

如果你的EngLish好的话,就根据自己需要配置一下,如果不是很懂EngLish的话你一直按回车就行了!

安装好后,重启linux 生效!



我的安装过程:



[root@localhost m]# copy vm.tar.gz /tmp

bash: copy: command not found

[root@localhost m]# cp VM.tar.gz /tmp

[root@localhost m]# cd /tmp

[root@localhost tmp]# ls

gconfd-root scim-helper-manager-socket-root

keyring-rNk1Rx scim-panel-socket:0-root

mapping-root scim-socket-frontend-root

orbit-root ssh-TWjXMV5315

virtual-root.EzCSaH

VM.tar.gz

[root@localhost tmp]# tar zxf vm.tar.gz

tar: vm.tar.gz:无法 open: 没有那个文件或目录

tar: 错误不可恢复:现在退出

tar: Child returned status 2

tar: 由于前面延迟的错误而退出

[root@localhost tmp]# tar zxf VM.tar.gz

[root@localhost tmp]# ls

gconfd-root scim-panel-socket:0-root

keyring-rNk1Rx scim-socket-frontend-root

mapping-root ssh-TWjXMV5315

orbit-root virtual-root.EzCSaH

VM.tar.gz

vmware-tools-distrib

scim-helper-manager-socket-root

[root@localhost tmp]# cd vmware-tools-distrib

[root@localhost vmware-tools-distrib]# ls

bin doc etc FILES INSTALL installer lib vmware-install.pl

[root@localhost vmware-tools-distrib]# ./INSTALL

bash: ./INSTALL: 权限不够

[root@localhost vmware-tools-distrib]# ls -l

总计 532

drwxr-xr-x 2 root root 4096 2009-10-22 bin

drwxr-xr-x 2 root root 4096 2009-10-22 doc

drwxr-xr-x 3 root root 4096 2009-10-22 etc

-r--r--r-- 1 root root 517698 2009-10-22 FILES

lrwxrwxrwx 1 root root 13 02-11 22:44 INSTALL -> ./doc/INSTALL

drwxr-xr-x 2 root root 4096 2009-10-22 installer

drwxr-xr-x 17 root root 4096 2009-10-22 lib

lrwxrwxrwx 1 root root 31 02-11 22:44 vmware-install.pl -> ./bin/vmware-uninstall-tools.pl

[root@localhost vmware-tools-distrib]# chmod 755 INSTALL

[root@localhost vmware-tools-distrib]# ls -l

总计 532

drwxr-xr-x 2 root root 4096 2009-10-22 bin

drwxr-xr-x 2 root root 4096 2009-10-22 doc

drwxr-xr-x 3 root root 4096 2009-10-22 etc

-r--r--r-- 1 root root 517698 2009-10-22 FILES

lrwxrwxrwx 1 root root 13 02-11 22:44 INSTALL -> ./doc/INSTALL

drwxr-xr-x 2 root root 4096 2009-10-22 installer

drwxr-xr-x 17 root root 4096 2009-10-22 lib

lrwxrwxrwx 1 root root 31 02-11 22:44 vmware-install.pl -> ./bin/vmware-uninstall-tools.pl

[root@localhost vmware-tools-distrib]# INSTALL

bash: INSTALL: command not found

[root@localhost vmware-tools-distrib]# ./INSTALL

./INSTALL: line 1: syntax error near unexpected token `C'

./INSTALL: line 1: `Copyright (C) 1998-2008 VMware, Inc. All Rights Reserved.'

[root@localhost vmware-tools-distrib]# ./vmware-install.pl

A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed. Continuing this install will

first uninstall the currently installed version. Do you wish to continue?

(yes/no) [yes] y

Uninstalling the tar installation of VMware Tools.

Skipping VMware Tools services shutdown on the host: [确定]

The removal of VMware Tools 6.0.4 build-93057 for Linux completed successfully.

Thank you for having tried this software.

Installing VMware Tools.

In which directory do you want to install the binary files?

[/usr/bin/vmtools]

The path "/usr/bin/vmtools" does not exist currently. This program is going to

create it, including needed parent directories. Is this what you want?

[yes]

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/bin/sbin]

The path "/usr/bin/sbin" does not exist currently. This program is going to

create it, including needed parent directories. Is this what you want?

[yes]

In which directory do you want to install the library files?

[/usr/bin/lib/vmware-tools]

The path "/usr/bin/lib/vmware-tools" does not exist currently. This program is

going to create it, including needed parent directories. Is this what you want?

[yes]

In which directory do you want to install the documentation files?

[/usr/bin/doc/vmware-tools]

The path "/usr/bin/doc/vmware-tools" does not exist currently. This program is

going to create it, including needed parent directories. Is this what you want?

[yes] y

The installation of VMware Tools 8.1.3 build-203739 for Linux completed

successfully. You can decide to remove this software from your system at any

time by invoking the following command:

"/usr/bin/vmtools/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by

invoking the following command: "/usr/bin/vmtools/vmware-config-tools.pl". Do

you want this program to invoke the command for you now? [yes]



Stopping VMware Tools services in the virtual machine:

Guest operating system daemon: [确定]

Virtual Printing daemon: [确定]

Unmounting HGFS shares: [确定]

Guest filesystem driver: [确定]



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



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] 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] y

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



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...





Detected X.org version 7.1.



Host resolution detected as "1366 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]< "1280x720"

Please enter a number between 1 and 13:

[13] 12



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-164.11.1.el5 x86_64 Red Hat, Inc.

Current Operating System: Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64

Build Date: 31 March 2010

Build ID: xorg-x11-server 1.1.1-48.76.el5

Before reporting problems, checkhttp://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.6468", Time: Fri Feb 11 22:48:37 2011

(++) Using config file: "/tmp/vmware-config0/XF86Config.6468"

The XKEYBOARD keymap compiler (xkbcomp) reports:

> Warning: Multiple symbols for level 1/group 1 on key <I5F>

> Using XF86Sleep, ignoring XF86Standby

> Warning: Symbol map for key <I5F> redefined

> Using last definition for conflicting fields

Errors from xkbcomp are not fatal to the X server

X is running fine with the new config file.

FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.

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 filesystem driver: [确定]

Mounting HGFS shares: [失败]

Guest memory manager: [确定]

VM communication interface: [确定]

VM communication interface socket family: [确定]

Blocking file system: [确定]

File system sync driver: [确定]

Guest operating system daemon: [确定]

Virtual Printing daemon: [确定]

The configuration of VMware Tools 8.1.3 build-203739 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/vmtools/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/vmtools/vmware-user

2. Log out and log back into your desktop session; and,

3. Restart your X session.

Enjoy,

--the VMware team

重启服务

service vmware-tools restart

VM的Linux CentOS系统的VMTools的手动安装的更多相关文章

  1. linux centos 系统php支持jpeg的安装方法

    linux php支持jpeg首先要安裝libjpeg,运行下面的命令: yum install libjpeg* libpng* freetype* gd* 耐心等待完成,重启(service ht ...

  2. Linux Centos 系统上安装BT客户端 Transmission

    Linux Centos 系统上安装BT客户端 Transmission   Transmission是一种BitTorrent客户端,特点是一个跨平台的后端和其上的简洁的用户界面,以MIT许可证和G ...

  3. Linux(centos)系统各个目录的作用详解

    Linux(centos)系统各个目录的作用详解 文件系统的类型 LINUX有四种基本文件系统类型:普通文件.目录文件.连接文件和特殊文件,可用file命令来识别. 普通文件:如文本文件.C语言元代码 ...

  4. linux CentOS 系统下如何将php和mysql命令加入到环境变量中

    在Linux CentOS系统上安装完php和MySQL后,为了使用方便,需要将php和mysql命令加到系统命令中,如果在没有添加到环境变量之前,执行“php -v”命令查看当前php版本信息时时, ...

  5. Linux(CentOS)系统下安装好apache(httpd)服务后,其他电脑无法访问的原因

    原文:Linux(CentOS)系统下安装好apache(httpd)服务后,其他电脑无法访问的原因 今天试了下在虚拟机上利用CentOS系统的yum命令安装好了httpd(apache2.4.6), ...

  6. Linux CentOS系统上安装Eclipse

    Linux CentOS系统上安装Eclipse 1. 下载Eclipse软件 下载网址:http://www.eclipse.org/downloads/packages/release/Juno/ ...

  7. CentOS系统、Jdk、Tomcat安装实战

    CentOS系统.Jdk.Tomcat安装实战                                                     第一次接触Liunx系统,都说J2EE系统在Li ...

  8. linux centos系统下升级python版本

    本文参考资料:https://www.cnblogs.com/leon-zyl/p/8422699.html,https://blog.csdn.net/tpc1990519/article/deta ...

  9. 安装Linux Centos系统硬盘分区方法

    一.硬盘回顾 无论是安装Windows还是Linux操作系统,硬盘分区都是整个系统安装过程中最为棘手的环节.硬盘一般分为IDE硬盘.SCSI硬盘和SATA硬盘三种,在Linux系统中,IDE接口的硬盘 ...

随机推荐

  1. Android用户界面UI组件--AdapterView及其子类(五) Spinner和SpinnerAdapter

    Spinner就是下拉框组件,可以自定义下拉布局样式,可以使用ArrayAdapter以及SpinnerAdapter适配 在Adapter中实现SpinnerAdapter,继承BaseAdapte ...

  2. Bridge实现

    网桥原理: 传统的中继器,如HUB,是一个单纯的物理层设备,它将每一个收到的数据包,在其所有的端口上广播,由接收主机来判断这个数据包是否是给自己的. 这样,网络资源被极大的浪费掉了. 网桥之所以不同于 ...

  3. 【HDOJ】1180 诡异的楼梯

    bfs+优先队列.wa了N次,才发现可以停留等待楼梯变换方向. #include <iostream> #include <queue> #include <cstdio ...

  4. 改善C#程序的50种方法

    为什么程序已经可以正常工作了,我们还要改变它们呢?答案就是我们可以让它们变得更好.我们常常会改变所使用的工具或者语言,因为新的工具或者语言更富生产力.如果固守旧有的习惯,我们将得不到期望的结果.对于C ...

  5. BZOJ2296: 【POJ Challenge】随机种子

    2296: [POJ Challenge]随机种子 Time Limit: 1 Sec  Memory Limit: 128 MBSec  Special JudgeSubmit: 114  Solv ...

  6. 知乎上关于c和c++的一场讨论_看看高手们的想法

    为什么很多开源软件都用 C,而不是 C++ 写成? 余天升 开源社区一直都不怎么待见C++,自由软件基金会创始人Richard Stallman认为C++有语法歧义,这样子没有必要.非常琐碎还会和C不 ...

  7. SVN服务器及客户端的使用

    Subversion是优秀的版本控制工具,其具体的的优点和详细介绍,这里就不再多说. 首先来下载和搭建SVN服务器. 现在Subversion已经迁移到apache网站上了,下载地址:http://s ...

  8. PowerDesigner 怎么给 Table Properties 增加注释和默认值

    1.  选中表,右键 2. 选中“comment”, 这个就是列的注释 3.还是这个页面 ,往下有个“default value”, 这个就是你设置的默认值. 4. 这个是怎么设置默认值.

  9. Ubuntu下安装Apache2, php5 mysql

    不错的博文:http://blog.csdn.net/guaikai/article/details/6905781 1:首先安装apache:打开终端(ctrl+Alt+t), 输入命令:sudo ...

  10. JavaScript高级程序设计27.pdf

    第11章 DOM扩展 W3C将一些已经成为事实标准的专有扩展标准化并写入规范当中.对DOM的两个主要扩展是SelectorsAPI(选择符API)和HTML5 选择符API 就是根据CSS选择符选择与 ...