原理就是在windows下建立一个虚拟机,不过是利用windows里面的虚拟机,这样稳定很多.
先开启程序:
运行 cmd命令:
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
然后直接访问:
https://apps.microsoft.com/detail/9n9tngvndl3q?rtc=1&hl=zh-cn&gl=CN
安装ubuntu.只有200多M非常小.安装也很快!
安装好之后:
设置好用户名和密码后安装docker.直接输入下面命令:
sudo apt update
更新完成后输入:
sudo apt install docker.io docker-compose
很快安装好了,查看版本:
docker -v
有了docker就非常简单了.雷池waf直接支持docker安装的.后面贴上官网的方法.
https://waf-ce.chaitin.cn/docs/guide/install