Install vmware-workstation under the Linux (CentOS) command line

Source: Internet
Author: User
Tags install perl aliyun



Baidu Encyclopedia: VMware Workstation (Chinese name "core workstation") is a powerful desktop virtual computer software that provides the best solution for users to run different operating systems at the same time on a single desktop, and to develop, test, and deploy new applications. VMware workstation can simulate a complete network environment on a physical machine, as well as a portable virtual machine, with better flexibility and advanced technology than any other virtual computer software on the market. For enterprise IT developers and system administrators, VMware's features in virtual networks, live snapshots, drag-and-drop shared folders, and PXE support make it an essential tool.



It is common to install VMware Workstation on Windows operating systems, and the installation method is simple. However, there are many uncertainties about installing VMware Workstation under Linux, and this article will be installed on the basis of the CentOS system.






The version of VMware Workstation from V11.0 cannot be installed on a 32-bit operating system, and if you want to install to a 32-bit operating system, you can only install VMware 10.0 and the previous version.






After a continuous attempt, and in VMware English official reference VMware under Linux operating system compatibility description. Finally choose to install 21 under 2 versions of the VMware software, these 2 versions in www.vmware.com can be downloaded to:


    • Vmware-workstation-full-10.0.6-2700073.x86_64.bundle

      This version can only be installed under CentOS6.5 (no errors), remember not to upgrade after installing the operating system, especially the system kernel, Otherwise, upgrade to the latest version of the CentOS6.8 can not be installed, if you upgrade the system, you may install VMware when the unknown error.


    • Vmware-workstation-full-12.1.1-3770994.x86_64.bundle

      This version can be installed to CentOS7.0 later version, I test the system is CentOS7.2. No errors were encountered while installing and running.



The approximate installation steps are as follows:



1. Operating System Selection



We chose Centos-6.5-x86_64-minimal or centos-7-x86_64-because we wanted to run VMware on the server and later wanted to manage virtual machine creation, deletion, snapshots, startup, shutdown, or self-booting remotely. Minimal-1511.



Http://mirrors.aliyun.com/centos/6.8/isos/x86_64/CentOS-6.8-x86_64-minimal.iso



Http://mirrors.aliyun.com/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.iso






2. Settings for the operating system partition



The first is the partition settings, this step in the installation of the operating system is planned, do not use the operating system to install the automatic partition, but to customize the partition. This allows you to have more storage space after installing VMware. The approximate partition allocation is as follows:


/dev/sda1      ext4   1024M     /boot
/dev/sda2      swap   4096M    swap
/Dev / sda3 ext4 remaining space/


IP address set to (can change by itself): 10.0.0.110/24






3. Turn off the firewall



Under CentOS6.5, close the firewall and execute the following command:


/etc/init.d/iptables Stopchkconfig iptables off


Under CentOS7.2, close the firewall and execute the following command:


Systemctl Stop Firewalld systemctl disable FIREWALLD





4. Turn off SELinux


Sed-i "s/^selinux=enforcing/selinux=disabled/g"/etc/selinux/config #永久关闭 setenforce 0 #立即生效





5. Install the dependent package (ensure that the Internet is connected to the installation)


Yum-y Install perl gcc kernel-devel libX11 Libxinerama libxcursor libxtst





6. Installing VMware



Installing the VMware10.0.6 under CentoOS6.5


chmod +x VMware-Workstation-Full-10.0.6-2700073.x86_64.bundle
./VMware-Workstation-Full-10.0.6-2700073.x86_64.bundle --console --eulas-agreed --required -s vmware-workstation serialNumber MA491-6NL5Q-AZAM0-ZH0N2-AAJ5A


Installing the VMware10.0.6 under CentoOS7.2


chmod +x VMware-Workstation-Full-12.1.1-3770994.x86_64.bundle
./VMware-Workstation-Full-12.1.1-3770994.x86_64.bundle --console --eulas-agreed --required -s vmware-workstation serialNumber UY5EK-DYW1Q-H808P-TQXQ9-XFUY2


VMware command 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




7. Check after installing VMware


vmware-modconfig --install-status
After executing the above command, if the following message appears, the installation is successful.
vmmon: installed
vmnet: installed
vmblock: installed
vmci: installed
vsock: installed


8. Whether remote testing is available



After you open the Windows version of the same version of VMware Virtual machine on another Windows machine (of course, you'll have to install it first). Select home-Connect remote server.




Server name: enter the IP address of the Linux operating system we installed 10.0.0.110
User name: enter root, the super user of our Linux operating system
Password (P): enter the password of the root user of the Linux operating system we installed





After clicking "Connect", the authentication prompt appears, select "Confirm".



At this point, under "Shared Virtual machine", we have just connected to the server address 10.0.0.110, click on this address, so that you can remotely control the operation of VMware.



Install vmware-workstation under the Linux (CentOS) command line


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.