WSL2安装的一些问题和建议
默认安装的WSL2
PRETTY_NAME="Ubuntu 22.04.4 LTS"
Linux DESKTOP-xxxxyyyy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
默认systemd是开启的
使用root用户依然报错:
include/nginx.sh: line 110: /root/lnmp2.1/include/version_compare: Permission denied
include/nginx.sh: line 114: /root/lnmp2.1/include/version_compare: Permission denied
应该是version_compare没有执行权限
`fastcgi_buffering off;`在WSL2上是多余的,WSL2是完整的Linux
安装后systemctl并没有让nginx自启动,原因:isWSL应该只在WSL1上设置
页:
[1]