VMware 安装CenterOS

虚拟机安装CenterOS

  • 简介:在VMware里安装Linux虚拟机,这里使用的是(Center OS 6.9)。

一、准备工作:

  1. 安装 VMware Workstation Pro,很简单不哔哔了。
  2. 下载 Center OS 6.9。

二、VMware 安装前准备

硬件设定:
内存:1G以上  硬盘:100G  网络:桥接网卡

  1. 打开 VMware Workstation Pro 创建新的虚拟机。
    VMware 安装CenterOS
  2. 选典型(推荐) – > 下一步
    VMware 安装CenterOS
  3. 选”稍后安装操作系统” – > 下一步
    VMware 安装CenterOS
  4. 客户机操作系统选择 Linux, 版本选择 CenterOS 64位,下一步
    VMware 安装CenterOS
  5. 虚拟机名称,建议加入别名(mdw),方便以后管理,虚拟机位置自定义即可。
    VMware 安装CenterOS
  6. 磁盘容量选的大一点吧,免得以后不够用还得再扩展容量,默认20G,这里我们选100G。
    VMware 安装CenterOS
  7. 自定义硬件
    VMware 安装CenterOS
  8. 硬件设定-内存设定,建议设置1G以上,1G以下安装可能会抛错。
    VMware 安装CenterOS
  9. 设定IOS 镜像文件,点击浏览,选择下载好的 CenterOS 6.9 镜像。
    VMware 安装CenterOS
  10. 网络适配器设定,网络模式选桥接模式,这一步很重要,方便以后设定 静态IP
    VMware 安装CenterOS
  11. 完成
    VMware 安装CenterOS
  12. 也可以从这里进入编辑虚拟机硬件。
    VMware 安装CenterOS

三、系统安装

  1. 开启虚拟机
    VMware 安装CenterOS
  2. 选择第一项 Install or upgrade …
    VMware 安装CenterOS
  3. 选择 “skip” 跳过媒体检测
    VMware 安装CenterOS
  4. 下一步
    VMware 安装CenterOS
  5. 语言选英文,生产环境一般都是英文
    VMware 安装CenterOS
  6. 键盘布局同样选美式键盘
    VMware 安装CenterOS
  7. 选第一项,安装到本地硬盘
    VMware 安装CenterOS
  8. 新电脑安装选 YES
    VMware 安装CenterOS
  9. next 下一步
    VMware 安装CenterOS
  10. 语言选择 Asia/ShangHai
    VMware 安装CenterOS
  11. 设定 root 密码,尽量设置的复杂一点
    VMware 安装CenterOS
  12. 如果密码过于简单会提示,直接点”Use anyway” 忽略提示。
    VMware 安装CenterOS
  13. 自定义分区
    VMware 安装CenterOS
    1. 点击 Free –> Create
      VMware 安装CenterOS
    2. Create
      VMware 安装CenterOS
    3. 创建 boot 分区 200M
      VMware 安装CenterOS
    4. 重复步骤(1~2),创建 swap 分区 2048M
      VMware 安装CenterOS
    5. 重复步骤(1~2),创建 / 分区,将剩余空间全部分至 / 分区
      VMware 安装CenterOS
    6. 分区完成,检查分区是否正确,然后继续
      VMware 安装CenterOS
    7. 格式化磁盘
      VMware 安装CenterOS
      VMware 安装CenterOS
  14. 继续
    VMware 安装CenterOS
  15. 这里选择最小安装,即不带图形界面的,如需要图形界面,可选择第一项”Desktop”的。
    VMware 安装CenterOS
  16. 开始安装,漫长的等待,你可以去干别的了…..
    VMware 安装CenterOS
  17. 安装完成,重启电脑
    VMware 安装CenterOS
  18. 重启后用 root 账号测试一下,这样就表示系统安装成功了。
    VMware 安装CenterOS

如需克隆虚拟机 和 设置静态IP 参考以下链接

VMware 克隆 CenterOS 虚拟机
CenterOS 设置静态IP