LNMP1,7的nginx 1.8如何卸载重安装
昨天添加ngx_http_geoip2_module 发现今天网站打不开,/usr/local/nginx/conf/nginx .conf 这个配置文件也复制进去了,还是不行,网站代开,怎么重装NGINX"/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)加载nginx -s reload 弄得网站也打不开,因为我都是升级同版本的NINGX1.18
那个nginx 安装模块ngx_http_geoip2_module MMDB_open("/usr/share/GeoIP/GeoLite2-City.mmdb")failed - Error opening the specified MaxMind DB file in /usr/local/nginx/conf/nginx.conf:24 命令:/usr/local/nginx/sbin/nginx -t提示:MMDB_open("/usr/share/GeoIP/GeoLite2-City.mmdb")failed - Error opening the specified MaxMind DB file in /usr/local/nginx/conf/nginx.conf:24
将 GeoLite2-City.mmdb 下载好,放到/usr/share/GeoIP/ 目录下
页:
[1]