Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经在我的笔记本电脑上安装了 Ruby,Rails,我对 Ubuntu 不熟悉,当我安装 Ruby 时,未经我的许可也安装了 Nginx,我是一名 PHP 程序员,现在我的 apache 被 Nginx 覆盖了,请帮助我
nginx 安装不应覆盖任何 apache 文件。我打赌你只需要停止它并启动 apache。
停止 nginx
/usr/bin/nginx -s stop
启动阿帕奇
sudo /etc/init.d/apache2 start
您也可以使用重新启动和停止而不是开始
使舒尔
apache2/conf/httpd.conf
文件是正确的
卸载 nginx
sudo rm -f -R /usr/local/nginx && rm -f /usr/local/sbin/nginx