1.下载地址
https://nginx.org/download/
linux安装介绍
1.https://www.php.cn/nginx/429526.html
2.https://blog.youkuaiyun.com/by0920/article/details/87937646
2.安装报错信息
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
端口占用,解决方法:
netstat -ntlp|grep 80 --查看
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 21784/nginx: worker
kill -9 21784 --关闭进程