VPS侦探论坛

 找回密码
 注册
查看: 2994|回复: 1

军哥你好,lnmp安装完以后,如何新添加新模快

[复制链接]
发表于 2017-5-21 15:25:25 | 显示全部楼层 |阅读模式

军哥你好,lnmp安装完以后,如何新添加新模快./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_spdy_module --with-http_gzip_static_module --with-ipv6 --with-http_sub_module ${NginxMAOpt} ${Nginx_Modules_Options} --add-module=/root/ngx_cache_purge-2.0


再最后add了新模块ngx_cache_purge是否可行.
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-5-21 19:57:26 | 显示全部楼层


编辑lnmp安装包目录下的 lnmp.conf 文件,在Nginx_Modules_Options=''  的单引号中加上 --add-module=/root/ngx_cache_purge-2.0 保存,升级一下nginx就安装上了,其他模块也参考这个就行
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-26 05:24 , Processed in 0.025009 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表