centos 安装vmtools 怎么安装vmtools
如何给CentOS 安装Vmware Tools
第1步:在虚拟软件中选择“安装/重新安装VMware Tools(T)”:
第2步:安装VMwareTools功能增加包(请用root用户登陆系统):
创建/media/cdrom目录:
[root@linuxprobe~]# mkdir-p/media/cdrom
将光驱设备挂载到该目录上:
[root@linuxprobe~]# mount/dev/cdrom/media/cdrom
进入到该挂载目录:
[root@linuxprobe~]# cd/media/cdrom
将功能增强包复制到/home目录中:
[root@linuxprobe cdrom]# cp VMwareTools-9.9.0-2304977.tar.gz/home
进入到/home目录中:
[root@linuxprobe cdrom]# cd/home
解压功能增强包:
root@linuxprobe home]# tar xzvf VMwareTools-9.9.0-2304977.tar.gz
vmware-tools-distrib/
vmware-tools-distrib/FILES
vmware-tools-distrib/doc/
vmware-tools-distrib/doc/open_source_licenses.txt
vmware-tools-distrib/doc/INSTALL
vmware-tools-distrib/doc/README
vmware-tools-distrib/installer/
vmware-tools-distrib/installer/services.sh
vmware-tools-distrib/installer/guestproxy-ssl.conf
vmware-tools-distrib/installer/thinprint.sh
vmware-tools-distrib/installer/upstart-job.conf
………………此处省略解压过程细节………………
进入解压文件夹中:
[root@linuxprobe home]# cd vmware-tools-distrib/
运行安装脚本并加上参数-d,代表默认安装:
[root@linuxprobe vmware-tools-distrib]#./vmware-install.pl-d
The installer has detected an existing installation of open-vm-tools on this
system and will not attempt to remove and replace these user-space
applications. It is recommended to use the open-vm-tools packages provided by
the operating system. If you do not want to use the existing installation of
open-vm-tools and attempt to install VMware Tools, you must uninstall the
open-vm-tools packages and re-run this installer.
The installer will next check if there are any missing kernel drivers. Type yes
if you want to do this, otherwise type no [yes]
………………省略部分安装过程………………
当您看到这个字样后,重启后即可正常使用VmwareTools啦。
Creating a new initrd boot image for the kernel.
Starting Virtual Printing daemon: done
Starting vmware-tools(via systemctl): [ OK ]
The configuration of VMware Tools 9.9.0 build-2304977 for Linux for this
running kernel completed successfully.
Enjoy,
--the VMware team
第3步:重新启动系统后生效:
[root@linuxprobe~]# reboot
这里有详细安装步骤,请参考:
怎样在虚拟机linux操作系统中安装vmtools
在虚拟机Linux安装 VMware tools工具的方法如下:
首先需要以root的身份登录计算机,如图:
接下来安装Vmware,如图:
右击打开终端,并输入如下命令[root@localhost~]# mkdir/mnt/cdrom,如图:
命令root@localhost~]# cd/mnt/cdrom/ [root@localhost cdrom]# ls将会显示其下有哪些文件。如图:
将查找到的文件拷贝至根目录下的tmp这个临时目录下。如图:
利用[root@localhost tmp]# tar zxvf VMwareTools-6.5.0-118166.tar.gz//解压文件。如图:
接下来安装开始:
[root@localhost tmp]# cd vmware-tools-distrib
[root@localhost tmp]# ls
[root@localhost vmware-tools-distrib]#./vmware-install.pl如图:
用“./install.pl”命令来运行该安装程序,并根据屏幕提示一直点击回车键,如图:
分辨率通常输入最常用的11 800*600。如图:
分辨率调整完成以后,按图输入reboot进行重启。如图:
查看centos有没有安装vmtools
VMtools是在界面上选择之后,VM自己给你挂载到虚拟机里面的。。。不用下载。实际上是你安装VM程序的时候,安装到你win里面的。只要从VM菜单里面选择安装VMTools,VM自己给你挂载到虚拟机里面,直接运行就行,不过,这个程序包需要linux内核头文件,这个一般系统里面只有一部分,需要下载安装。