• 如何在CentOS 7.1中安装VMware Workstation


    VMware Workstation在windows环境中大家都会安装,最近公司有个需求是需要在CentOS环境中安装VMware Workstation,上官网查了下还真有Linux版本的,于是就开始研究了下怎么安装。

    0x01 下载

    到官网下载免费适用版本,地址:http://www.vmware.com/cn/products/workstation/workstation-evaluation.html 选择for linux进行下载,下载完后是个.bundle的文件,然后上传到需要安装的宿主机中。

    0x02 安装

    1、安装依赖

    $ yum -y install perl gcc kernel-devel libX11 libXinerama libXcursor libXtst
    

    2、直接在宿主机上面运行命令:

    $ 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.
     
    安装成功。
    

    0x03 卸载

    运行下面命令即可以卸载:

    $ vmware-installer -u vmware-workstation
    

    0x04 服务管理

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

    0x05 远程连接

    在其他windows机器上打开相同版本的vmware-workstation windows版本,选择连接服务器


     
     

    服务器名称:宿主机的ip地址
    用户名:输入在安装vmware-workstation时配置的root用户
    密码:宿主机的root密码


     
     

    点击连接后,出现认证提示,确认即可。
    在共享的虚拟机下面就出现了刚刚连接的宿主机,这样就可以在上面创建虚拟机了。
     
     

    0x06 创建虚拟机

    创建虚拟机步骤和在windows上操作一样。
    创建完成后可以在宿主机中定位到当初安装时候设置的虚拟机共享目录下,上面看到刚创建的虚拟机名称的文件夹


     
     

    加载ISO镜像选择远程服务器,需要把ISO上传到宿主机的共享虚拟机目录中,如上图。这样在选择ISO镜像的时候就可以看到上传的ISO镜像了,如下图:
    配置完成后,启动虚拟机进行安装。


     
     

    博客地址:http://yangfannie.com



    作者:聂扬帆博客
    链接:https://www.jianshu.com/p/520a09c3d808
    來源:简书
    简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。
  • 相关阅读:
    python3 入门
    Python2 的列表排序
    数据库阻塞SQL的隔离级别
    数据库阻塞讲解设计应用程序时避免阻塞的八个准则
    DELPHI学习简单类型
    DELPHI学习结构类型
    InsideVCL第3章面向对象程序语言和Framework
    数据库阻塞分析死锁并处理
    面向对象开发实践之路
    DELPHI hint 的应用
  • 原文地址:https://www.cnblogs.com/tuobei/p/9324733.html
Copyright © 2020-2023  润新知