前言: 这篇博客将为您详细讲述怎样在Windows系统下,安装Linux系统,
在这里我们采用的是虚拟机的方式,Linux为CentOS 7 系统。


  1. 下载vmware workstation:下载地址
  2. windows wsl 安装centos windows如何安装centos_虚拟机


  3. 安装:
    1) 打开下载好的安装文件;
  4. windows wsl 安装centos windows如何安装centos_虚拟机_02


  5. windows wsl 安装centos windows如何安装centos_x系统_03

  6. 修改安装位置:
  7. windows wsl 安装centos windows如何安装centos_Linux_04


  8. windows wsl 安装centos windows如何安装centos_Linux_05

  9. 可选可不选:
  10. windows wsl 安装centos windows如何安装centos_x系统_06

  11. 开始安装:
  12. windows wsl 安装centos windows如何安装centos_x系统_07

  13. 安装完成后,如果你有密钥直接点击许可证并输入许可证(密钥可以自己去官网进行购买,也可以度娘找),
    如果想试用的话则点击完成按钮即可
  14. windows wsl 安装centos windows如何安装centos_VMware_08

  15. 打开安装好的vmware workstation, 如果上一步没有输入许可证,在这里也可以进行输入
    或者点击试用,可试用30天
  16. windows wsl 安装centos windows如何安装centos_虚拟机_09

  17. 点击继续,进入软件
  18. windows wsl 安装centos windows如何安装centos_Linux_10


  19. 下载Linux安装文件
    进入 【Centos 官网 】,下载安装所需镜像文件。
  20. windows wsl 安装centos windows如何安装centos_Linux_11

  21. 根据需要进行下载,这里我选择的是Minimal ISO (极简版),选择镜像地址
  22. windows wsl 安装centos windows如何安装centos_Linux_12


  23. 安装Linux系统
    打开之前安装好的vmware workstation;
    在主页选择 创建新的虚拟机; 或者选择菜单栏的[文件] -> [新建虚拟机];或者使用快捷键 Ctrl + N;
    1)选择典型安装 -> 下一步
  24. windows wsl 安装centos windows如何安装centos_虚拟机_13

  25. 2)选择 稍后安装操作系统 -> 下一步
  26. windows wsl 安装centos windows如何安装centos_VMware_14

  27. 3)这里选择 Linux 并选择 版本 为 Centos 7 64 位 -> 下一步
  28. windows wsl 安装centos windows如何安装centos_Linux_15

  29. 4)自定义虚拟机名称; 选择安装位置 -> 下一步
  30. windows wsl 安装centos windows如何安装centos_Linux_16

  31. 5)修改磁盘大小,我这里给的是60G,因为我这个虚拟机上将要安装很多东西;
    学习使用的话,默认的20G就够。
    选择将虚拟机磁盘存储为单个文件 -> 下一步
  32. windows wsl 安装centos windows如何安装centos_VMware_17

  33. 6)展示虚拟机基本信息,直接点击完成
  34. windows wsl 安装centos windows如何安装centos_虚拟机_18

  35. 7)选择刚安装好的虚拟机,编辑虚拟机设置
  36. windows wsl 安装centos windows如何安装centos_VMware_19

  37. 8)内存设置:根据自己电脑情况进行设置,一般2~4G内存就够了
  38. windows wsl 安装centos windows如何安装centos_VMware_20

  39. 9)处理器(CPU)设置:这里选择的 2*2;可根据自己电脑配置自行选择
  40. windows wsl 安装centos windows如何安装centos_Linux_21

  41. 10)CD/DVD 选择:
    首先选择 使用ISO 镜像文件;
    选择我们之前下载好的Linux镜像文件
    点击确定
  42. windows wsl 安装centos windows如何安装centos_VMware_22

  43. 11)开启虚拟机
  44. windows wsl 安装centos windows如何安装centos_VMware_23

  45. 12)进入等待页面
  46. windows wsl 安装centos windows如何安装centos_x系统_24

  47. 通过上下键选择Install CentOS 7;颜色不太好辨认,被选中的那项白色会比较多
    回车确定
  48. windows wsl 安装centos windows如何安装centos_CentOS_25

  49. 13)选择语言,中文在最后 -> 继续

  50. 14)设置时区
  51. windows wsl 安装centos windows如何安装centos_x系统_26

  52. 在地图上点击中国位置即可

  53. 15)选择系统安装位置
  54. windows wsl 安装centos windows如何安装centos_CentOS_27


  55. windows wsl 安装centos windows如何安装centos_CentOS_28

  56. 因为我之前选择了将虚拟磁盘存储为单个文件,所以我这里只显示一个磁盘
    点击开始安装
    16)在安装过程中可以设置root用户密码,并添加其他用户
  57. windows wsl 安装centos windows如何安装centos_Linux_29

  58. 设置root(超级用户)的密码
  59. windows wsl 安装centos windows如何安装centos_CentOS_30

  60. 新增其他用户
  61. windows wsl 安装centos windows如何安装centos_VMware_31

  62. 17)安装完成,重启虚拟机
  63. windows wsl 安装centos windows如何安装centos_虚拟机_32

  64. 18)选择系统,选第一个
  65. windows wsl 安装centos windows如何安装centos_虚拟机_33

  66. 19)输入用户名,及密码;登录成功
  67. windows wsl 安装centos windows如何安装centos_VMware_34

至此,CentOS 7 系统在Windows下安装完成,谢谢!