linux vmtools安装,linux官网
大家好,今天来为大家解答linux vmtools安装这个问题的一些问题点,包括linux官网也一样很多人还不知道,因此呢,今天就来为大家分析分析,现在让我们一起来看看吧!如果解决了您的问题,还望您关注下本站哦,谢谢~
怎样在虚拟机linux操作系统中安装vmtools
第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虚拟机如何安装tools
Linux虚拟机如何安装tools方法如下:
1、需要我们首先打开虚拟机,然后点击虚拟机选项,点击安装VMtools,如果已经安装过了就会显示重新安装(如果出现此字样证明你已经成功安装了VMtools)。如果未安装,点击安装即可。
2、然后我们在光盘驱动器中便可以看到VMtools字样了,点击打开,找到VMtools安装包,在linux操作系统下后缀名为tar.gz,我们可以直接解压缩(有些linux系统支持),也可以使用终端命令进行解压缩。
3、接着我们需要进入终端进行安装,在安装之前,我们需要更换操作用户,默认进入系统的用户是普通用户(以fedora为例),但是它没有安装的权限,因此我们需要切换到root用户进行安装,使用su命令即可完成切换。
4、完成切换之后,我们打开解压缩的VMtools文件夹,找到vmware-install.pl这个文件,然后执行安装即可。有一点要注意的是,使用vmware-install.pl的时候需要perl模块的支持,貌似fedora默认中没有安装,我们可以使用yum install perl安装perl。
5、至此,fedora下VMtools的安装算是完成了,过程虽然简单,但是在实际安装的过程中可能会遇到这样或者那样的问题,如果在安装过程中遇到问题的话,可以百度一下,一般都可以找到解决办法,也会把遇到的问题和解决办法都罗列出来,方便后来人。
在kalilinux虚拟机安装vmtools的具体步骤是怎样
kali中安装VMware-tools方法:【GeeK】出诊过程如下:1.在安装VMware-tools之前首先要确保安装了Linux的内核文件安装命令如下:apt-getinstalllinux-headers-$(uname-r)
2.为虚拟机加载VMware-tools安装过程如下:在VMware-workstation菜单栏中单击虚拟机----》安装VMware-tools
3.从光盘中复制安装文件至HOME/vm-tools/下命令如下:mkdirvm-toolscp/media/cdrom0/VMwareTools-10.0.0-2977863.tar.gz/root/vm-tools/
4.解压VMware-tools安装包命令如下:tar-zxvfVMwareTools-10.0.0-2977863.tar.gz
5.安装VMware-tools命令如下:cdvmware-tools-distrib./vmware-install.pl
6.在安装结束之后,当看到提示Enjoy时。那就表示kali已成功安装了VMware-tools。