我最近安装了vestacp,但是我不想使用ngix,我只想使用Apache
我必须重新安装所有吗?
我怎么才能从我的护身符上除去ngix?
发布于 2017-10-04 11:18:57
是的,您可以不重新安装就可以删除nginx。
//在Debian/Ubuntu
apt-get remove nginx// In CentOS
yum remove nginx//在Debian/Ubuntu
cd /etc/apache2/conf.d// In CentOS
cd /etc/httpd/conf.d接下来做的是:
sed -i "s/8080/80/" *.conf
sed -i "s/8443/443/" *.conf您可以在:http://vestacp.com/docs/#how-to-remove-nginx-rhel-centos中找到说明
http://vestacp.com/docs/#how-to-remove-nginx-debian-ubuntu
https://stackoverflow.com/questions/46450050
复制相似问题