问题 : 80端口被占用 解决办法 : 先查看进程 然后停止apache服务 启动nginx服务 查看nginx服务状态 或者 更改nginx端口 编辑配置文件 vim /etc/nginx/nginx.conf 更改端口成功