平时用centos系统都是在虚拟机中搭建系统测试,每次启动操作也不是很方便,想想有没有更简单的办法,后来了解到windows10子系统可以安装liunx系统,不过可惜只支持ubuntu系统,后来在国外网站发现别人已经实现在windows10安装centos,操作也相对简点。
安装要求:
1. windows10 x64架构系统
2. 启用windows10 子系统 。
安装过程如下:
打开"设置”界面,选择“应用”,右侧设置选择”程序和功能“。

启用或关闭windows功能-选择 “适用于linux的windows子系统”确定,系统自动提示重启,重启之后即可。

3. 打开 github 下载centos包 https://github.com/yuk7/CentWSL#centwsl
选择“download",打开7.0.1905.1版本链接,下载 centos.zip压缩包,并解压到本地。

4.双击运行”centos.exe,等待安装完成之后,再次启动centos.exe ,熟悉的linux命令行就来了。
操作很简单,默认的网络用的是本机网络,也能连接外网,大家积极探索linux的世界!

很适合用来学习linux功能,本地搭建服务使用,随用随启很方便。
网友评论