VPS侦探论坛

 找回密码
 注册
查看: 5959|回复: 3

lnmp安装http_geoip_module模块

[复制链接]
发表于 2013-6-18 16:36:44 | 显示全部楼层 |阅读模式

我用lnmp安装http_geoip_module模块,到最后出现
./configure: error: the GeoIP module requires the GeoIP library.
You can either do not enable the module or install the library.
出现这样的错误了!!
我是按照这个http://www.vpsee.com/2011/03/ins ... -country-targeting/操作的。。
麻烦军哥帮忙看下哦。。谢谢了。。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-6-18 20:24:07 | 显示全部楼层


geoip库没装上吧

debian的话直接apt-get install geoip-database libgeoip-dev
centos的话可以安装epel https://www.vpser.net/manage/cen ... ty-source-epel.html 第三方源再装
不想用钱买的方法就按教程编译安装
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2013-6-18 21:25:18 | 显示全部楼层

回复 2# 的帖子


rpm -Uvh http://dl.fedoraproject.org/pub/ ... ease-6-7.noarch.rpm 我复制这个,结果显示:
[root@tmallshopping lnmp1.0-full]# rpm -Uvh http://dl.fedoraproject.org/pub/ ... ease-6-7.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/ ... ease-6-7.noarch.rpm
curl: (22) The requested URL returned error: 404 Not Found
error: skipping http://dl.fedoraproject.org/pub/ ... ease-6-7.noarch.rpm - transfer failed
地址出错了?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-6-18 22:11:30 | 显示全部楼层



把6-7换成6-8,版本升级了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-24 17:15 , Processed in 0.026571 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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