CentOS mini命令行模式下安装vmtools

    xiaoxiao2021-03-25  120

    CentOS mini命令行模式下安装vmtools,有需要的朋友可以参考下。

    首先在vm虚拟机菜单栏找到 虚拟机->安装VMware Tools。把Linux.iso挂载到Linux上,然后重启一下Linux(init 6)。

    重启完在 /dev/目录下有一个cdrom文件。把他挂载到别的目录下。

    我是这么做的:

    [root@localhost tmp]# mkdir /mnt/cdrom [root@localhost tmp]# mount -t iso9660 /dev/cdrom /mnt/cdrom/ 然后 把VMwareTools压缩包拷贝到/tmp/目录下。

    [root@localhost tmp]# cp VMwareTools-9.6.0-1294478.tar.gz /tmp/ 解压

    [root@localhost tmp]# cd /tmp [root@localhost tmp]# tar -zxvf VMwareTools-9.6.0-1294478.tar.gz

    安装

    [root@localhost tmp]# cd vmware-tools-distrib/ [root@localhost tmp]# ./vmware-install.pl 接下去一直按确定,然后重启,就搞定了。 我的VM虚拟机挂ISO上去后,Linux居然读取不到,所以重启了一下,幸好重启完读取到了。

    如果出现下面这个问题,

    Creating a new initrd boot image for the kernel. vmware-tools-thinprint start/running initctl: Job failed to start Unable to start services for VMware Tools Execution aborted. 那就换成SecureCRT登陆,或者调用下面命令

    [root@localhost vmware-tools-distrib]# /etc/vmware-tools/services.sh start
    转载请注明原文地址: https://ju.6miu.com/read-8954.html

    最新回复(0)