Download the VMware Workstation for Linux version first: Vmware-workstation-full-xxxx.bundle, put the file in a folder under the CentOS system, and note the settings for file permissions
Install Vnc-server as the controlled terminal in CentOS, support graphical display, Operation tool, install Vnc-viewer on local computer, operate CentOS on local computer and install VMware Workstation;
Download vnc-server-xxx-linux.rpm file (Rhel/centos/fedora available. rpm File, Debian/ubuntu/linux Mint can use the. deb file) and place the file in a folder under the CentOS system, paying attention to the file permission settings;
Install command: [[email protected]]# rpm-ivh vnc-server-xxx-linux.rpm--nodeps--force
Warning may appear: Xauth not FOUND-VNC Virtual server would not run untill the is resolved
[Email protected]]# whereis Xauth
Xauth
That is, Xauth was not found
command to install Xauth: [[email protected]]# yum Install Xauth
complete!
[[Email protected]]# vnclicense-add vnc-server Key
License Key has been successfully applied
Start these two services:
/etc/init.d/vncserver-x11-serviced start
/etc/init.d/vncserver-virtuald start
Set to boot from:
Chkconfig vncserver-x11-serviced on
Chkconfig Vncserver-virtuald on
[[Email protected]]# vncserver
The local computer installs the Vnc-viewer and connects to the CentOS:
To perform Vmware-workstation-full-xxxx.bundle installation:
① graphical effects Show:
Assign execute permissions to all customers:
# chmod A+x Vmware-workstation-full-xxxxxx.bundle
To run the installation:
[Roo[email protected]]#./vmware-workstation-full-xxxxxx.bundle
Run:
[[Email protected]]# vmware
"Cancel"
Install "Development tools"
When you are finished, run again:
[[Email protected]]# vmware
"Cancel"
Check if Kernel-headers is installed:
If not, perform the installation:
Install "Kernel-devel"
After the installation is complete, run again:
[[Email protected]]# vmware
② No Graphics:
Install dependent packages (guaranteed to connect to the Internet during installation):
yum -y installperl gcc kernel-devel libX11 libXinerama libXcursor libXtst
Install VMware:
Install the VMware10.0.6 under CentoOS6.5:
chmod+x VMware-Workstation-Full-xxxxx.bundle
./VMware-Workstation-Full-xxxxx.bundle --console \ --eulas-agreed \ --required \ -s vmware-workstation serialNumber MA491-6NL5Q-AZAM0-ZH0N2-AAJ5A
Install the VMware10.0.6 under CentoOS7.2:
chmod+x VMware-Workstation-Full-xxxxx.bundle
./VMware-Workstation-Full-xxxxx.bundle --console \ --eulas-agreed \ --required \ -s vmware-workstation serialNumber UY5EK-DYW1Q-H808P-TQXQ9-XFUY2Command line meaning:--console #Install in command line mode, the default is GUI mode
--If not used, you need to press Q and yes
The -- required is: after the installation agreement is displayed and installed automatically
-S VMware Workstation serial number enter the VMware serial number after installing VMware check: VMware modconfig -- install status . vmmon: installed vmnet: installed vmblock: installed vmci: installed vsock: installedIf executed in GUI form:./VMware-Workstation-Full-xxxxx.bundleThe following error occurred:
First determine if the required module system is installed and its location:
# Locate Libpk-gtk-module.so
/usr/lib/gtk-2.0/modules/libpk-gtk-module.so
# Locate Libcanberra-gtk-module.so
/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
Add the path to the system load modules:
vim /etc/ld.so.conf.d/gtk-2.0.conf
/usr/lib/gtk-2.0/modules
Reload:
# Ldconfig
To re-execute the installation:
./VMware-Workstation-Full-xxxxx.bundle
How to uninstall VMware workstation:
Vmware-installer-u vmware-workstation
Problems:
1. DISPLAY is not set and unable to open the VMware Workstation user interface.
appear through the command line, change to vnc-viewer client connection CentOS Access execution
2. Kernel Header for * * version is not found.
The kernel version shown in the interface is the system version, but the system kernel has not been restarted and the problem does not exist after reboot-f forced reboot.
CentOS System installation VMware Workstation virtual machine