centos8无法进入图形界面_#Configuration#VMware Workstation15.5 Pro虚拟机CentOS8安装VMware Tools...

运行时环境:Windows10环境下在VMware Workstation15.5 Pro中运行CentOS8安装VMware Tools

1.在虚拟机中载入VMware Tools光盘

0cb7eaf19e846217f0e45f8a76804c14.png
先点击安装VMware Tools(这里我已经安装完成)

2.进入所在目录解压缩VMware Tools

bec3aa6efbcbeca38764ee3ddd90c458.png
右键点击“在终端打开”进入所在目录(这里需要注意的是网上大部分教程用命令行“cd /media/VMware Tools/”进入所在目录在我的PC上无法执行,这里给出另一种进入的方法)

解压缩tar包到/tmp 下(注意这里的VMwareTools的版本可能有所差异):

[root@Shaoxing VMware Tools]# tar zxvf VMwareTools-9.2.3-1031360.tar.gz -C /tmp/

进入/tmp:

[root@Shaoxing VMware Tools]# cd /tmp/vmware-tools-distrib/

3.安装VMware Tools

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

下面的选项就按照默认值,一路回车就可以,警告!最后一个选项填no!!!:

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

The installer has detected an existing installation of open-vm-tools packages

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 packages and use VMware Tools, you must uninstall the

open-vm-tools packages and re-run this installer.

The packages that need to be removed are:

open-vm-tools

The installer will next check if there are any missing kernel drivers. Type yes

if you want to do this, otherwise type no [yes]

INPUT: [yes] default

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]

INPUT: [/usr/bin] default

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?

[/etc/rc.d]

INPUT: [/etc/rc.d] default

What is the directory that contains the init scripts?

[/etc/rc.d/init.d]

INPUT: [/etc/rc.d/init.d] default

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

[/usr/sbin]

INPUT: [/usr/sbin] default

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

[/usr/lib/vmware-tools]

INPUT: [/usr/lib/vmware-tools] default

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]

INPUT: [yes] default

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

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

INPUT: [/usr/share/doc/vmware-tools] default

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]

INPUT: [yes] default

The installation of VMware Tools 10.3.10 build-13959562 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]

INPUT: [yes] default

You have chosen to install VMware Tools on top of an open-vm-tools package.

You will now be given the option to replace some commands provided by

open-vm-tools. Please note that if you replace any commands at this time and

later remove VMware Tools, it may be necessary to re-install the open-vm-tools.

The file /usr/bin/vmware-hgfsclient that this program was about to install

already exists. Overwrite? [no]

INPUT: [no] default

The file /usr/bin/vmhgfs-fuse that this program was about to install already

exists. Overwrite? [no]

INPUT: [no] default

Initializing...

Making sure services for VMware Tools are stopped.

正在停止vmware-tools(透过 systemctl): [ 确定 ]

The module vmci has already been installed on this system by another installer

or package and will not be modified by this installer.

The module vsock has already been installed on this system by another installer

or package and will not be modified by this installer.

The module vmxnet3 has already been installed on this system by another

installer or package and will not be modified by this installer.

The module pvscsi has already been installed on this system by another

installer or package and will not be modified by this installer.

The module vmmemctl has already been installed on this system by another

installer or package and will not be modified by this installer.

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]

INPUT: [yes] default

The vmxnet driver is no longer supported on kernels 3.3 and greater. Please

upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)

Skipping configuring automatic kernel modules as no drivers were installed by

this installer.

Skipping rebuilding initrd boot image for kernel as no drivers to be included

in boot image were installed by this installer.

The configuration of VMware Tools 10.3.10 build-13959562 for Linux for this

running kernel completed successfully.

Warning no default label for /tmp/vmware-block-restore-67239.0/tmp_file

VMware Tools installed on top of open-vm-tools has not added anything of

significance or potential benefit. VMware Tools is not needed.

Would you like to recover the wasted disk space by uninstalling VMware Tools at

this time? (yes/no) [yes] no

INPUT: [no]

Enjoy,

--the VMware team

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值