centos安装nginx_module_geoip
- [root@localhost ~]# yum install nginx-module-geoip -y
- Loaded plugins: fastestmirror, refresh-packagekit, security
- Setting up Install Process
- Loading mirror speeds from cached hostfile
- * base: mirrors.aliyun.com
- * extras: mirrors.aliyun.com
- * updates: mirrors.aliyun.com
- Resolving Dependencies
- --> Running transaction check
- ---> Package nginx-module-geoip.x86_64 0:1.14.0-1.el6.ngx will be installed
- --> Processing Dependency: GeoIP for package: nginx-module-geoip-1.14.0-1.el6.ngx.x86_64
- --> Processing Dependency: libGeoIP.so.1()(64bit) for package: nginx-module-geoip-1.14.0-1.el6.ngx.x86_64
- --> Finished Dependency Resolution
- Error: Package: nginx-module-geoip-1.14.0-1.el6.ngx.x86_64 (nginx)
- Requires: GeoIP
- Error: Package: nginx-module-geoip-1.14.0-1.el6.ngx.x86_64 (nginx)
- Requires: libGeoIP.so.1()(64bit)
- You could try using --skip-broken to work around the problem