您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息
免费发信息
三六零分类信息网 > 阳泉分类信息网,免费分类信息发布

ubuntu下使用apt方式安装、卸载nginx

2024/7/24 11:06:46发布37次查看
ubuntu和debain下的apt方式安装软件很方便,特别是对于新手安装和卸载nginx。
由于nginx不能动态添加模块,所以会经常安装和卸载、升级。
apt安装nginx方法sudo apt-add-repository ppa:nginx/developmentsudo apt-get updatesudo apt-get install nginx
apt卸载nginx方法卸载方法1.
删除nginx,保留配置文件
sudo apt-get remove nginx
删除配置文件
rm -rf /etc/nginx
卸载方法2.
删除nginx连带配置文件
sudo apt-get purge nginx # removes everything.
卸载不再需要的nginx依赖程序
sudo apt-get autoremove
').addclass('pre-numbering').hide(); $(this).addclass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadein(1700); }); }); 以上就介绍了 ubuntu下使用apt方式安装、卸载nginx,包括了方面的内容,希望对php教程有兴趣的朋友有所帮助。
阳泉分类信息网,免费分类信息发布

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录