安装后Nginx不启动

Kho*_*r.F 1 apache-2.2

我尝试按照以下步骤在我的 vps 上安装 nginx

cd /usr/local/src

wget http://nginxcp.com/latest/nginxadmin.tar 

tar xf nginxadmin.tar

cd publicnginx

./nginxinstaller install 
Run Code Online (Sandbox Code Playgroud)

最后,调整设置中的 apache 在端口 8081 上检查工作,但服务器仍然出现错误并且 nginex 状态为down.

这是我从 ssh 重新启动 apache 时的错误

Restarting nginx daemon: nginxnginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) already running.
Run Code Online (Sandbox Code Playgroud)

我正在使用 vps centos 5 whm cpanel

Kho*_*r.F 7

我修好了它

我的VPS是IPv4的不支持IPv6,所以我改变了 [::]:8080在ngnix配置文件,它的做工精细:)