虚拟机VMware安装及Linux系统基础配置(CentOS 7)

# PS: 我是 VMware 14 安装 CentOS 7 来配置Linux虚拟机,想要安装 Ubuntu 18.04 的可以自行其他搜或者参考博客:https://blog.csdn.net/github_39655029/article/details/80626374

一、下载VMware Workstation Pro

  • 方法一: VMware Workstation Pro 百度网盘,提取码:2o19(下载得到的压缩包中含有 VMware 安装所需的秘钥)
  • 方法二:也可以上官网直通车,不过注册比较麻烦
  • 选择
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909181053395-1307371936.png)
  • 选择最新的版本14.1.7,下载
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909181452571-852461915.png)
#二、下载64位CenOS 映像系统 阿里云站点:http://mirrors.aliyun.com/centos/7/isos/x86_64/
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909212442840-1689816044.png)
* **CentOS-7-x86_64-DVD-1708.iso 下载标准安装版(推荐)** * CentOS-7-x86_64-Everything-1708.iso 完整版,集成所有软件(以用来补充系统的软件或者填充本地镜像) * CentOS-7-x86_64-LiveGNOME-1708.iso GNOME桌面版 * CentOS-7-x86_64-LiveKDE-1708.iso KDE桌面版 * CentOS-7-x86_64-Minimal-1708.iso 精简版,自带的软件最少 * CentOS-7-x86_64-NetInstall-1708.iso 网络安装版(从网络安装或者救援系统)

三、安装VMware

  • 解压后打开exe文件,按步骤进行安装,点击许可证输入秘钥
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909194839559-362005747.png)
* 安装成功,进入,选择创建新的虚拟机
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909195419164-358822565.png)
* 选择自定义
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909200816178-1044324867.png)
* 下一步
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909200938083-1005347005.png)
* 选择[二]中下载好的64位CenOS 映像系统路径
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909201010800-757098698.png)
* 输入自定义名称
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909201222225-2067576233.png)
* 设置处理器个数和内核数
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909201753785-2093078133.png)
* 分配2GB内存
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909201908188-811189787.png)
* 下一步
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909202101173-654268187.png)
* 下一步按推荐选择
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909202129676-911872137.png)
* 下一步
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909202209145-205895685.png)
* **最好要比建议大小大**,不然听说会出奇奇怪怪的问题
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909202459092-1715115928.png)
* 储存在刚才虚拟机的路径
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909202629520-1317493495.png)
* 如果刚才没有导入64位CenOS 映像系统,这里点击自定义
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909202729371-647336596.png)
* 输入下载好的CenOS镜像系统路径
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909202819508-769066494.png)
* 完成配置 #四、配置Linux系统 **在进入虚拟机后会发现鼠标光标消失,如果这个时候想要切回Windows界面,可以按下Ctrl+Alt** * 打开虚拟机,等待
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909211520298-1749734129.png)
* 等待
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909211628606-521475986.png)
* 出现如下界面,选择中文
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909211733750-235164022.png)
* 软件选择GNOME
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909233350265-1457080947.png)
  • 手动分配磁盘
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909232932033-142291041.png)
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909233040499-133836675.png)
  • 同理分配3个磁盘
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909233236208-547359115.png)
* 完成,接受更改
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909233320136-1893704743.png)
  • 打开网卡,查看是否能连接,之后更改主机名
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909233738004-255761000.png)
  • 设置ROOT密码和账户 ,重启 一定要记住ROOT密码
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909212611591-960744912.png)
* 重启,进行一些其他配置
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190910001114796-1007491910.png)
* 同意许可,完成
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190910001147502-1280684606.png)
  • 输入账户与密码,成功登陆
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190910001456350-179380747.png)
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190910001644260-57802632.png)

五、问题

  • 一开始装的时候没有图型界面= - =进去只有开始命令行 结果发现这个软件一定要选这个模式
![](https://img2018.cnblogs.com/blog/1330975/201909/1330975-20190909233350265-1457080947.png)
* 忘记了一次ROOT密码……菜哭 于是后面搜索了一下怎么重置 https://www.jb51.net/article/146320.htm #六、参考资料 * 其他博主的2个参考博客 [小七的玩偶](https://me.csdn.net/babyxue) 写的: [VMware安装Centos7超详细过程(图文)](https://blog.csdn.net/babyxue/article/details/80970526) [guo_ridgepole](https://me.csdn.net/guo_ridgepole) 写的:[VMware安装14.0安装CentOS7.2](https://blog.csdn.net/guo_ridgepole/article/details/78973763) * 关于CENTOS 7怎么重置ROOT 及 其他账户 密码 https://www.jb51.net/article/146320.htm * Linux常用命令 https://www.cnblogs.com/yjd_hycf_space/p/7730690.html * VMware 14 安装Ubuntu 18.04 https://blog.csdn.net/github_39655029/article/details/80626374
posted @ 2019-09-09 18:36  繁星倒影  阅读(347)  评论(0编辑  收藏  举报