Howto install GeoIP or libGeoIP.so on Centos or Redhat RHEL

Howto install GeoIP or libGeoIP.so on Centos or Redhat RHEL

1. Check if GeoIP is in our system or not

[root@localhost ~]# rpm -qa | grep GeoIP*
[root@localhost ~]#

2. Install GeoIP

Before that you should install epel repository on your system

http://ithelpblog.com/os/linux/redhat/centos-redhat/install-epel-repository-on-centos-6-3-or-redhat-6-3-rhel/

[root@localhost ~]# yum install GeoIP
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.communilink.net
* epel: ftp.kddilabs.jp
* extras: centos.communilink.net
* updates: centos-hcm.viettelidc.com.vn
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package GeoIP.x86_64 0:1.4.8-1.el6 will be installed
–> Finished Dependency ResolutionDependencies Resolved=====================================================================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================================================================
Installing:
GeoIP x86_64 1.4.8-1.el6 epel 620 kTransaction Summary
=====================================================================================================================================================================================================
Install 1 Package(s)Total download size: 620 k
Installed size: 1.5 M
Is this ok [y/N]: y
Downloading Packages:
GeoIP-1.4.8-1.el6.x86_64.rpm | 620 kB 00:08
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : GeoIP-1.4.8-1.el6.x86_64 1/1
Verifying : GeoIP-1.4.8-1.el6.x86_64 1/1Installed:
GeoIP.x86_64 0:1.4.8-1.el6Complete!
[root@localhost ~]#

That’s all. Thanks for using IThelpblog.com.

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>