Centos7安装vmware workstation

VMware Workstation在windows环境中大家都会安装,但是如何在Linux环境下安装呢?
1、你需要下载vmware workstation的Linux的安装包,下载完后是个.bundle的文件,然后上传到需要安装的宿主机中。
http://www.vmware.com/cn/products/workstation/workstation-evaluation.html
Centos7安装vmware workstation_第1张图片

2、cd到vmware workstation在服务器的保存目录,输入如下命令进行安装

sh VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle

3、会出现安装条款说明,翻页至最后一页(More命令中用空格翻页)
4、将会在宿主机上面运行命令:

$ sh VMware-Workstation-xxxx-xxxx.bundle   #开始安装后会出现下面一些交互选项

You must accept the VMware Workstation End User License Agreement to continue.  Press Enter to proceed  #按回车阅读许可协议,按q退出

Do you agree? [yes/no]: yes   #输入yes同意

You must accept the VMware OVF Tool component for Linux End User License Agreement to continue.  Press Enter to proceed.  #按回车阅读OVF工具许可协议,按q退出

Do you agree? [yes/no]: yes   #输入yes同意

Would you like to check for product updates on startup? [yes]:  #是否在启动时检查更新。yes or no

Would you like to help make VMware software better by sending anonymous system data and usage statistics to VMware?  #是否愿意发送系统数据给VMware。yes or no

Please enter the user that will initially connect to Workstation Server. Without setting this correctly, you will not be able to share VMs with other users. Additional users and administrators can be configured later in Workstation by selecting "Shared VMs" and clicking "Permissions"[root]  #输入远程连接服务器的账号,输入root

Please choose a directory for your shared virtual machines. [/var/lib/vmware/Shared VMs]:  #虚拟机共享目录,可以自定义目录路径

Please enter the port to use for https access to Workstation Server. (HTTPS port:) [443]  #输入使用https访问的端口,默认443

Enter license key. (optional) You can enter this information later  #输入许可序列号,或者按回车后续再输入

The product is ready to be installed.  Press Enter to begin installation or Ctrl-C to cancel  #按回车进行安装,按Ctrl-C取消安装

接下去等待安装完成

Installing VMware Workstation 12.5.2

Configuring...

[#########################################################] 100%

Installation was successful.

安装成功。

5、用命令启动(或者打开centos桌面在Applications——>System Tools中打开Vmware workstations)

vmware

6、若出现如下错误提示:
Kernel Headers for version 3.10.0-229.14.1.el7.x86_64 were not found.If you….
Centos7安装vmware workstation_第2张图片
7、安装kernel devel,官方下载地址:https://pkgs.org/download/kernel-devel
Centos7安装vmware workstation_第3张图片
Centos7安装vmware workstation_第4张图片
8、上传到服务器的目录后,执行安装命令

yum install kernel-devel-3.10.0-229.14.1.el7.x86_64 -y

9、查看安装的结果

cd /usr/src/kernels/
ll

10、复制version.h Header文件

ln /usr/src/kernels/3.10.0-229.14.1.el7.x86_64/include/generated/uapi/linux/version.h /usr/src/kernels/3.10.0-229.14.1.el7.x86_64/include/linux/version.h

11、再次启动vmware,启动成功如下
Centos7安装vmware workstation_第5张图片
12、卸载命令

vmware-installer -u vmware-workstation

13、服务管理
VMware Workstation安装完成后,在/etc/init.d/下面有3个vmware服务:vmware、vmware-workstation-server、vmware-USBArbitrator,用start、stop、restart、status参数可对服务进行管理。

你可能感兴趣的:(服务器)