我尝试按照以下步骤在我的 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