设为首页 收藏本站
查看: 1343|回复: 0

[经验分享] Linux下vmware安装部署

[复制链接]
累计签到:1 天
连续签到:1 天
发表于 2017-8-24 08:52:06 | 显示全部楼层 |阅读模式
Linux下vmware下载:
地址-Linux vmware : http://www.vmware.com/products/workstation/workstation-evaluation
安装依赖:
1
2
yum -y install perl gcc kernel-devel libX11 libXinerama libXcursor libXtst
yum install kernel-headers.x86_64 -y




安装桌面:
1
2
yum groupinstall "Desktop" "Desktop Platform"
yum groupinstall "X Window System" "Graphics Creation Tools"




vmware安装:
手动一步步安装:
赋予vmware软件可执行权限:
1
chmod +x VMware-Workstation-Full-12.5.7-5813279.x86_64.bundle



安装过程会出现如下一些选项:

1、安装过程中的一段协议:
2.6     Open Source Software.  Notwithstanding anything herein to the
contrary, Open Source Software is licensed to You under such OSS's own
applicable license terms, which can be found in the
open_source_licenses.txt file, the Documentation or as applicable, the
corresponding source files for the Software available at
www.vmware.com/download/open_source.html. These OSS license terms
are consistent with the license granted in Section 2 (License Grant), and
may contain additional rights benefiting You.  The OSS license terms shall
take precedence over this EULA to the extent that this EULA imposes
greater restrictions on You than the applicable OSS license terms. To the
extent the license for any Open Source Software requires VMware to
make available to You the corresponding source code and/or modifications
(the "Source Files"), You may obtain a copy of the applicable Source
Files from VMware's website at
www.vmware.com/download/open_source.html or by sending a written
request, with Your name and address to: VMware, Inc., 3401 Hillview
Avenue, Palo Alto, CA 94304, United States of America. All requests
should clearly specify:  Open Source Files Request, Attention: General
Counsel.  This offer to obtain a copy of the Source Files is valid for three
years from the date You acquired this Software.

3.      RESTRICTIONS; OWNERSHIP.
...............more............

解决:按"q"键退出浏览说明.

2、Do you agree? [yes/no]:  输入:yes

3、下面是安装的过程选项:
1.3     "Guest Operating Systems" means instances of third-party operating
Do you agree? [yes/no]: yes

Would you like to check for product updates on startup? [yes]: no

Would you like to help make VMware software better by sending
anonymous system data and usage statistics to VMware? [yes]: yes

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]: /data/vmware/vm1        #虚拟机存放的目录,自己建的方便找

Please enter the port to use for https access to Workstation Server.
(HTTPS port:) [443]: 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.       按"Enter"继续安装;按"Ctrl-C"退出

Installing VMware Workstation 12.5.7
    Configuring...
[######################################################################] 100%
Installation was successful.
#安装完成.

第二种安装方法:
VMware命令行含义:

    --console                                             #以命令行模式安装,默认为gui模式 。

    --eulas-agreed                                     #自动同意安装协议,如果不使用,需要按q和yes。

    --required                                            #显示安装协议后,并自动安装。

    -s vmware-workstation serialNumber   #输入vmware序列号

1
./VMware-Workstation-Full-12.5.7-5813279.x86_64.bundle --console --eulas-agreed --required -s vmware-workstation serialNumber MA491-6NL5Q-AZAM0-ZH0N2-AAJ5A




安装完成启动vmware报错处理:
报错:C header files matching your running kernel were not found
处理:
查看yum源安装的以下两个包的版本
1
2
#yum list | grep kernel-devel
#yum list | grep kernel-headers



uuname -a 查看系统内核的版本是否相同
如果不相同,卸载yum安装的版本:
1
2
yum remove kernel-headers -y
yum install kernel-devel -y




挂载安装系统的光盘或者iso镜像,去Packages安装这两个包:
mount /dev/cdrom /mnt/
cd /mnt/cd Packages/
[iyunv@localhost Packages]# ls | grep kernel
abrt-addon-kerneloops-2.0.8-21.el6.centos.x86_64.rpm
dracut-kernel-004-335.el6.noarch.rpm
kernel-2.6.32-431.el6.x86_64.rpm
kernel-abi-whitelists-2.6.32-431.el6.noarch.rpm
kernel-debug-2.6.32-431.el6.x86_64.rpm
kernel-debug-devel-2.6.32-431.el6.x86_64.rpm
kernel-devel-2.6.32-431.el6.x86_64.rpm
kernel-doc-2.6.32-431.el6.noarch.rpm
kernel-firmware-2.6.32-431.el6.noarch.rpm
kernel-headers-2.6.32-431.el6.x86_64.rpm
libreport-plugin-kerneloops-2.0.9-19.el6.centos.x86_64.rpm
[iyunv@localhost Packages]# rpm -ivh kernel-headers-2.6.32-431.el6.x86_64.rpm
Preparing...                ########################################### [100%]
   1:kernel-headers         ########################################### [100%]
[iyunv@localhost Packages]# rpm -ivh kernel-devel-2.6.32-431.el6.x86_64.rpm
Preparing...                ########################################### [100%]
   1:kernel-devel           ########################################### [100%]

报错:not fountd gcc
因为卸载了kernel-devel包,也就卸载了gcc,yum安装下:
1
yum install gcc -y



远程到图形话下点击vmware ,会提示输入序列号:
VMware Workstation 12专业版永久序列号(任选其一)
5A02H-AU243-TZJ49-GTC7K-3C61N
VF5XA-FNDDJ-085GZ-4NXZ9-N20E6
UC5MR-8NE16-H81WY-R7QGV-QG2D8
ZG1WH-ATY96-H80QP-X7PEX-Y30V4
AA3E0-0VDE1-0893Z-KGZ59-QGAVF

listen 输入正确会看到如图所示:
wKioL1mc9Wyil5hUAAPDgB-3fT0573.png
后续的步骤其实就和在windown下的一样了,创建一个虚拟机,安装系统....操作:

wKioL1mc9X2AjMcdAANF0ZQR-HQ334.png





运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-403454-1-1.html 上篇帖子: 使 ESXi/ESX 时间与 Microsoft 域控制器同步 下篇帖子: VMware虚拟机 VC里报告虚拟磁盘丢失的解决方案
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表