CentOS 7 installation tutorial under VMware12

  1. CentOS 7 DVD installation disc (Baidu search CentOS to find the official homepage);
    VMware Workstation 12 Pro and above software;

  2. Start the VMware Workstation 12 Pro program, and in the pop-up VMware Workstation main window, click the menu "File -> New Virtual Machine" to create a new virtual machine;


     
     
  3. In the pop-up "New Virtual Machine Wizard Welcome" window, select the "Typical" option, and then click the "Next" button to enter the next step;


     
     
  4. In the pop-up "Install Guest Operating System" window, select the "Installer CD Image File (iso) (M)" option, and then click the "Browse" button to select the storage path of the CentOS 7 DVD. After setting the storage path of the CentOS ISO file, click the "Next" button to enter the next step;

     
     

     

  5. In the pop-up "Name the virtual machine" window, fill in the virtual machine name and the storage location of the virtual machine files, and then click the "Next" button to enter the next step;


     
     
  6. In the pop-up "Specify Disk Size" window, set the "Maximum disk size" to 60.0GB, select the "Save virtual disk as a single file" option, and then click the "Next" button to enter the next step;

     
     

     

  7. In the "Ready to create virtual machine" window that pops up, click the "Customize Hardware" button;

     
     

     

  8. In the pop-up "Hardware Configuration" window, select the "Memory" item in the list on the left, and then set the memory size to 2GB on the right.

     
     

     

  9. Select the "Processor" item in the list on the left side of the "Hardware Configuration" window, and then set the "Number of cores per processor" to 4 in the configuration on the right (select 2 here for dual-core CPU), and check "Virtualize Intel VT" -x/EPT or AMD-V/RVI(V)" and "Virtualize CPU performance counters" checkboxes;

     
     

     

  10. Select "Network Adapters" in the list on the left of the "Hardware Configuration" window, and then in the configuration on the right, select "Bridged Mode (B): Directly connect to the physical network" (make the virtual machine and the host on the same network segment). After the hardware configuration is completed, click the "Close" button to close the hardware configuration window;

     
     

     

  11. Click the "Finish" button in the "Configured to create a virtual machine" window to end the virtual machine creation wizard;

     
     

     

  12. When the virtual machine is started for the first time, a prompt that "Keyboard Hook Timeout Value" is incorrect may pop up. Click the "OK" button in the message box directly, and VMware will update this value;


     
     
  13. 如果系统中存在可移动设备,那么CentOS虚拟机启动时,VMware会给出可移动设备连接方式的提示框,直接勾选“不再显示连接”后,点击“确定”按钮继续运行虚拟机;

     
     

     

  14. 在安装CentOS 7的启动界面中,选择“Install CentOS 7”并回车(点击控制台界面后,按键才会生效,但是鼠标会消失,此时可以按Ctrl + Alt键可以让鼠标重新出现);

     
     

     

  15. 在安装提示界面中,直接按“Enter(回车)”键开始安装;

     
     

     

  16. 等待控制台打印完一堆输出信息后, 出现图形化的CentOS 7欢迎使用界面。在界面左侧列表中选择“中文”(也可以选择你熟悉的语言),然后点击“继续”按钮进入下一步;


     
     

     
     
  17. 在“安装信息摘要”界面中,单击系统下的“安装位置”,打开安装目标位置配置(这里可以自定义磁盘分区,如果不需要自定义分区和选择安装磁盘的话,这里可以采用默认配置);

     
     

     

  18. 在“安装目标位置”界面中,选中“我要配置分区”,然后点击左上角的“完成”按钮进入手动分区界面;

     
     

     

  19. 在“手动分区”界面中,点击“点这里自动创建他们”开始自定义磁盘分区;


     
     
  20. 选中“手动分区”界面中“新CentOS 7安装”下的“/”,然后点击下方的“减号”按钮将其删除。以同样的操作,将列表中的“/home”也删除。仅保留“/boot”(引导分区,通常1GB)和”swap”(交换分区(虚拟内存),通常等于内存大小);

     
     

     
     

     

  1. 点击“手动分区”中的“加号”按钮,添加一个新的分区;


     
     
  2. 在弹出的“添加新挂载点”窗口中,点击下拉列表,选择挂载点为“/home”(这里是可以手动添加挂在点的,比如:/usr、/usr/local等),设置期望容量为20GB,然后点击“添加挂载点”按钮确认添加挂载点;

     
     

     

  3. 再次点击“加号”按钮,在弹出的“添加新挂载点”窗口中,选择挂载点为“/”,设置期望容量为100GB(只有大于可用空间,它才会计算得到尽可能占用可用空间的大小),然后点击“添加挂载点”按钮确认添加挂载点;

     
     

     
     

     

  4. 添加完根目录的挂载点后,在“手动分区”界面中仍然会发现可用空间还有剩余,可以忽略此值,基本上所有空间都已经用上了;

     
     

     

  5. 点击“手动分区”界面左上角的“完成”按钮结束手动分区操作;

     
     

     

  6. 在弹出的“更改摘要”窗口中,点击“接受更改”按钮确认更改生效;


     
     
  7. 在“安装信息摘要”界面中点击“软件选择”,打开CentOS软件选择界面;

     
     

     

  8. 在“软件选择”界面中,选中“GNOME桌面”并勾选右侧所有的附加选项,然后点击左上角的“完成”按钮完成软件选择(CentOS 7默认采用最小化安装,并不带图形界面);

     
     

     

  9. 点击“安装信息摘要”界面中的“开始安装”按钮开始安装CentOS 7;

     
     

     

  10. 在出现的“配置”界面中(此时CentOS安装正在进行中),点击“ROOT密码”,打开ROOT账户密码设置界面;

     
     

     

  11. 在“ROOT密码”界面中,填写Root密码和确认密码(必须相同),然后点击左上角的“完成”按钮完成ROOT账户密码设置;

     
     

     

  12. 点击“配置”界面中的“创建用户”,打开“创建用户”界面;

     
     

     

  13. 在“创建用户”界面中,填写用户账户名和密码及确认密码(最好不要勾选“将此用户作为管理员”,管理员只需要ROOT就行了),然后点击左上角的“完成”按钮完成用户创建工作;

     
     

     

  14. 等待CentOS 7安装完成之后,点击界面中的“重启”按钮重启CentOS 7;


     
     
  15. CentOS 7初次启动时,会出现“初始设置”界面,点击“LICENSE INFORMATION”进入许可信息配置界面;

     
     

     

  16. 在 “许可信息配置”界面中,勾选“我同意许可协议”,然后点击左上角的完成按钮,完成许可信息配置;

     
     

     

  17. 返回 “初始设置”界面后,可以见到“许可证已接受”字样。点击“完成配置”按钮结束初始配置;

     
     

     

  18. 在用户登录界面中,点击用户名(点击“未列出”可以使用其他用户名登录,比如:ROOT),然后输入登录密码并点击“登录”按钮登录系统;


     
     

     
     
  19. 在出现的“欢迎”界面中,选择列表中的语言为“汉语”,然后点击右上角的“前进”按钮进入下一步;

     
     

     

  20. 在出现的“输入”界面中,可以选择默认的输入法,这里保持默认,直接点击“前进”按钮进入下一步;

     
     

     

  21. 在出现的“隐私”界面中,可以打开或者关闭位置服务,这里保持默认,直接点击“前进”按钮进入下一步;

     
     

     

  22. 在出现的“在线账号”界面中,可以设置云平台的登录账户,如果没有或不想用,可以直接点击“跳过”按钮进入下一步;

     
     

     

  23. 在出现的“准备好了”界面中,点击“开始使用CentOS Linux(S)”按钮,进入CentOS系统;

     
     

     

  24. 点击VMware Workstation菜单“虚拟机->设置”打开虚拟机设置窗口;

     
     

     

  25. 在弹出的虚拟机设置窗口中,选中硬件列表中的“CD/DVD(IDE)”,然后在右侧配置中,去掉“启动时连接”前的勾并选中“使用物理驱动器”。(为了防止系统启动后自动加载CentOS安装磁盘)配置完毕后,点击确定按钮完成硬件配置;

     
     

     

CentOS 7中安装VMware Tools和简单配置的教程将在第2部分中介绍;

一定要记得,在“安装信息摘要”界面中,点击“软件选择”,挑选带图形界面的软件安装方式;

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326403949&siteId=291194637