微软在Windows10 1607版中提供了一个Linux子系统,用户不需要虚拟机就可以直接运行Linux命令。
安装
打开开发人员模式

勾选 WSL 确定

CMD 运行 bash
自动下载安装,等待几分钟,CMD 运行 bash,就可以进入系统了。
安装 组件
sudo apt-get git
sudo apt-get zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
但是 apache2 和 nginx 的服务器 start 没反应,查了半小时也无果。
网友评论