open suse install VMwareTools-10.0.0-2977863

weibobo@localhost:~/Downloads/VMwareTools-10.0.0-2977863/vmware-tools-distrib> ls
bin doc FILES installer vgauth vmware-install.real.pl
caf etc INSTALL lib vmware-install.pl
weiwei@localhost:~/Downloads/VMwareTools-10.0.0-2977863/vmware-tools-distrib> ./vmware-install.pl
./vmware-install.pl: line 5: /var/log/vmware-install.log: Permission denied
tee: /var/log/vmware-install.log: Permission denied
Please re-run this program as the super user.

Execution aborted.

Found VMware Tools CDROM mounted at /run/media/weiwei/VMware Tools. Ejecting
device /dev/sr0 …
./vmware-install.pl: line 7: /var/log/vmware-install.log: Permission denied
need to change root user

weiwei@localhost:~/Downloads/VMwareTools-10.0.0-2977863/vmware-tools-distrib> su root
Password:
localhost:/home/weiwei/Downloads/VMwareTools-10.0.0-2977863/vmware-tools-distrib # ls
bin doc FILES installer vgauth vmware-install.real.pl
caf etc INSTALL lib vmware-install.pl
localhost:/home/weiwei/Downloads/VMwareTools-10.0.0-2977863/vmware-tools-distrib # ./vmware-install.pl

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 packages that need to be removed are:
libvmtools0
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] y

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]

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

The path “” is not an existing directory.

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

The path “” is not an existing directory.

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

The path “” is not an existing directory.

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

The path “rc0.d” is not an existing directory.

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

The path “” is not an existing directory.

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

The path “no” is not an existing directory.

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

The path “yes” is not an existing directory.

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

The path “mkdir rc0.d” is not an existing directory.

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

The path “” is not an existing directory.

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

The path “” is not an existing directory.

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

The path “” is not an existing directory.

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

The path “” is not an existing directory.

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

The path “” is not an existing directory.

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

The path “” is not an existing directory.

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

The path “” is not an existing directory.

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

这里一直报错:需要先创建文件夹
localhost:/home/weiwei/Downloads # cd
localhost:~ # mkdir -p /etc/rc.d/rc0.d
localhost:~ # mkdir -p /etc/rc.d/rc1.d
localhost:~ # mkdir -p /etc/rc.d/rc2.d
localhost:~ # mkdir -p /etc/rc.d/rc3.d
localhost:~ # mkdir -p /etc/rc.d/rc4.d
localhost:~ # mkdir -p /etc/rc.d/rc5.d
localhost:~ # mkdir -p /etc/rc.d/rc6.d

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]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

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

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

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]

The installation of VMware Tools 10.0.0 build-2977863 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]

Setup is unable to find the “ifconfig” program on your machine. Please make
sure it is installed. Do you want to specify the location of this program by
hand? [yes]

What is the location of the “ifconfig” program on your
machine?

The answer “” is invalid. It must be the complete name of a binary file.

What is the location of the “ifconfig” program on your
machine? yes

The file /usr/bin/vmware-hgfsclient that this program was about to install
already exists. Overwrite? [no]

The file /usr/bin/vmhgfs-fuse that this program was about to install already
exists. Overwrite? [no]

Initializing…

Making sure services for VMware Tools are stopped.

Stopping Thinprint services in the virtual machine:
Stopping Virtual Printing daemon: done
Stopping VMware Tools services in the virtual machine:
VMware User Agent (vmware-user): done
Unmounting HGFS shares: done
Guest filesystem driver: done

illegal runlevel specified for vmware-tools-thinprint: r
WARNING: The installer initially used the chkconfig application to setup the
vmware-tools service. That application did not run successfully. Please
re-install the chkconfig application or check your settings. This script will
now attempt to manually setup the vmware-tools service.

sh: : command not found
illegal runlevel specified for vmware-tools: r
WARNING: The installer initially used the chkconfig application to setup the
vmware-tools service. That application did not run successfully. Please
re-install the chkconfig application or check your settings. This script will
now attempt to manually setup the vmware-tools service.

sh: : command not found
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10714.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10716.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10714.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10716.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10714.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10716.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10714.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10716.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10714.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10716.

Before you can compile modules, you need to have the following installed…

make
gcc
kernel headers of the running kernel

Searching for GCC…
sh: line 1: 5157 Segmentation fault (core dumped) ‘/usr/lib/vmware-tools/sbin64/vmware-modconfig-console’ --validate-gcc “” – -l “/usr/lib/vmware-tools” > /dev/null 2>&1
The path “” is not valid path to the gcc binary.
Would you like to change it? [yes]

What is the location of the gcc program on your machine?

sh: line 1: 5166 Segmentation fault (core dumped) ‘/usr/lib/vmware-tools/sbin64/vmware-modconfig-console’ --validate-gcc “” – -l “/usr/lib/vmware-tools” > /dev/null 2>&1
The path “” is not valid path to the gcc binary.
Would you like to change it? [yes]

What is the location of the gcc program on your machine?

sh: line 1: 5174 Segmentation fault (core dumped) ‘/usr/lib/vmware-tools/sbin64/vmware-modconfig-console’ --validate-gcc “” – -l “/usr/lib/vmware-tools” > /dev/null 2>&1
The path “” is not valid path to the gcc binary.
Would you like to change it? [yes]

What is the location of the gcc program on your machine?

sh: line 1: 5182 Segmentation fault (core dumped) ‘/usr/lib/vmware-tools/sbin64/vmware-modconfig-console’ --validate-gcc “” – -l “/usr/lib/vmware-tools” > /dev/null 2>&1
The path “” is not valid path to the gcc binary.
Would you like to change it? [yes]

What is the location of the gcc program on your machine?

sh: line 1: 5190 Segmentation fault (core dumped) ‘/usr/lib/vmware-tools/sbin64/vmware-modconfig-console’ --validate-gcc “” – -l “/usr/lib/vmware-tools” > /dev/null 2>&1
The path “” is not valid path to the gcc binary.
Would you like to change it? [yes]

What is the location of the gcc program on your machine?

sh: line 1: 5199 Segmentation fault (core dumped) ‘/usr/lib/vmware-tools/sbin64/vmware-modconfig-console’ --validate-gcc “” – -l “/usr/lib/vmware-tools” > /dev/null 2>&1
The path “” is not valid path to the gcc binary.
Would you like to change it? [yes]

What is the location of the gcc program on your machine?

sh: line 1: 5401 Segmentation fault (core dumped) ‘/usr/lib/vmware-tools/sbin64/vmware-modconfig-console’ --validate-gcc “” – -l “/usr/lib/vmware-tools” > /dev/null 2>&1
The path “” is not valid path to the gcc binary.
Would you like to change it? [yes]

What is the location of the gcc program on your machine?

sh: line 1: 5409 Segmentation fault (core dumped) ‘/usr/lib/vmware-tools/sbin64/vmware-modconfig-console’ --validate-gcc “” – -l “/usr/lib/vmware-tools” > /dev/null 2>&1
The path “” is not valid path to the gcc binary.
Would you like to change it? [yes] yes

What is the location of the gcc program on your machine?

sh: line 1: 5765 Segmentation fault (core dumped) ‘/usr/lib/vmware-tools/sbin64/vmware-modconfig-console’ --validate-gcc “” – -l “/usr/lib/vmware-tools” > /dev/null 2>&1
The path “” is not valid path to the gcc binary.
Would you like to change it? [yes]

What is the location of the gcc program on your machine?

sh: line 1: 5773 Segmentation fault (core dumped) ‘/usr/lib/vmware-tools/sbin64/vmware-modconfig-console’ --validate-gcc “” – -l “/usr/lib/vmware-tools” > /dev/null 2>&1
The path “” is not valid path to the gcc binary.
Would you like to change it? [yes]

What is the location of the gcc program on your machine?

sh: line 1: 5792 Segmentation fault (core dumped) ‘/usr/lib/vmware-tools/sbin64/vmware-modconfig-console’ --validate-gcc “” – -l “/usr/lib/vmware-tools” > /dev/null 2>&1
The path “” is not valid path to the gcc binary.
Would you like to change it? [yes] no

Searching for a valid kernel header path…
sh: line 1: 5800 Segmentation fault (core dumped) ‘/usr/lib/vmware-tools/sbin64/vmware-modconfig-console’ --validate-kernel-headers -k 5.14.21-150400.24.60-default “” – -l “/usr/lib/vmware-tools” > /dev/null 2>&1
The path “” is not a valid path to the 5.14.21-150400.24.60-default kernel
headers.
Would you like to change it? [yes] no

WARNING: This program cannot compile any modules for the following reason(s)…

  • This program could not find a valid path to make. Please ensure that the
    make binary is installed in the system path.

  • This program could not find a valid path to the gcc binary. Please ensure
    that the gcc binary is installed on this sytem.

  • This program could not find a valid path to the kernel headers of the running
    kernel. Please ensure that the header files for the running kernel are
    installed on this sytem.

[ Press Enter key to continue ]

The communication service is used in addition to the standard communication
between the guest and the host. The rest of the software provided by VMware
Tools is designed to work independently of this feature.
If you wish to have the VMCI feature, you can install the driver by running
vmware-config-tools.pl again after making sure that gcc, binutils, make and the
kernel sources for your running kernel are installed on your machine. These
packages are available on your distribution’s installation CD.
[ Press Enter key to continue ]

Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10714, line 29.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10716, line 29.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10714, line 29.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10716, line 29.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10714, line 29.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10716, line 29.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10714, line 29.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10716, line 29.

The VM communication interface socket family is used in conjunction with the VM
communication interface to provide a new communication path among guests and
host. The rest of this software provided by VMware Tools is designed to work
independently of this feature. If you wish to have the VSOCK feature you can
install the driver by running vmware-config-tools.pl again after making sure
that gcc, binutils, make and the kernel sources for your running kernel are
installed on your machine. These packages are available on your distribution’s
installation CD.
[ Press the Enter key to continue.]

Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10714, line 30.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10716, line 30.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10714, line 30.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10716, line 30.
The module vmxnet3 from this package is not supported for kernels >= 3.10.
Please enable this module in your kernel. You may also have to enable
HYPERVISOR_GUEST.

Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10714, line 30.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10716, line 30.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10714, line 30.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10716, line 30.
The module pvscsi from this package is not supported for kernels >= 3.10.
Please enable this module in your kernel. You may also have to enable
HYPERVISOR_GUEST.

Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10714, line 30.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10716, line 30.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10714, line 30.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10716, line 30.
The module vmmemctl from this package is not supported for kernels >= 3.10.
Please enable this module in your kernel. You may also have to enable
HYPERVISOR_GUEST.

Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10714, line 30.
Use of uninitialized value $modstatus in string eq at /usr/bin/vmware-config-tools.pl line 10716, line 30.
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] yes

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)

VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present. This feature can
be enabled/disabled by re-running vmware-config-tools.pl.

Would you like to enable VMware automatic kernel modules?
[no]

Thinprint provides driver-free printing. Do you wish to enable this feature?
[yes]

Creating a new initrd boot image for the kernel.
Starting Virtual Printing daemon: done
Checking acpi hot plug done
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
Guest filesystem driver: done
Mounting HGFS shares: failed
VMware User Agent: done
The configuration of VMware Tools 10.0.0 build-2977863 for Linux for this
running kernel completed successfully.

Enjoy,

–the VMware team

你可能感兴趣的:(linux,数据库,网络,运维,服务器)