标签:nginx
ubuntu安装nginx,由于80端口已经被占用,sudo apt-get install nginx安装一半异常退出,报错误:再往上查询会看到错误
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
修复办法:
1.将80端口解绑,已占用的程序改用其他端口,将提示的错误解决后
2.运行以下命令卸载一半的安装:
sudo apt-get remove nginx*
sudo apt-get autoremove
标签:nginx
原文地址:http://blog.51cto.com/hjun169/2097061