I want to install nginx and let it use port 80, thank you!
仅有的幸福2017-05-16 16:59:52
lsof -i:80
Then kill
掉 Apache 任务对应的 pid
If lsof
输出太多,试试在后面加上 | grep -i 'apache'
伊谢尔伦2017-05-16 16:59:52
Guess, vi /etc/apache2/httpd.conf, modify listen 80 to listen 88.
You don’t have to worry about restarting like this.
黄舟2017-05-16 16:59:52
Look for the configuration file and modify port 80 of nginx or apache to another port.