Open main menu

CDOT Wiki β

GeoIP Package

Revision as of 19:09, 3 February 2016 by Rchan (talk | contribs) (Created page with 'Category:OPS635Category:rchan Install the GeoIP package to track Geo location of a given IP. The following was done on a CentOS 6.5 system: <pre> [root@identity ~]# yum i…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Install the GeoIP package to track Geo location of a given IP. The following was done on a CentOS 6.5 system:

[root@identity ~]# yum install GeoIP*
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.csclub.uwaterloo.ca
 * epel: mirror.csclub.uwaterloo.ca
 * extras: mirror.csclub.uwaterloo.ca
 * updates: centos.bhs.mirrors.ovh.net
Resolving Dependencies
--> Running transaction check
---> Package GeoIP.x86_64 0:1.6.5-1.el6 will be installed
---> Package GeoIP-GeoLite-data.noarch 0:2015.12-1.el6 will be installed
---> Package GeoIP-GeoLite-data-extra.noarch 0:2015.12-1.el6 will be installed
---> Package GeoIP-devel.x86_64 0:1.6.5-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                       Arch        Version              Repository
                                                                           Size
================================================================================
Installing:
 GeoIP                         x86_64      1.6.5-1.el6          epel      113 k
 GeoIP-GeoLite-data            noarch      2015.12-1.el6        epel      363 k
 GeoIP-GeoLite-data-extra      noarch      2015.12-1.el6        epel       23 M
 GeoIP-devel                   x86_64      1.6.5-1.el6          epel       16 k

Transaction Summary
================================================================================
Install       4 Package(s)

Total download size: 24 M
Installed size: 48 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): GeoIP-1.6.5-1.el6.x86_64.rpm                      | 113 kB     00:00    
(2/4): GeoIP-GeoLite-data-2015.12-1.el6.noarch.rpm       | 363 kB     00:00    
(3/4): GeoIP-GeoLite-data-extra-2015.12-1.el6.noarch.rpm |  23 MB     00:06    
(4/4): GeoIP-devel-1.6.5-1.el6.x86_64.rpm                |  16 kB     00:00    
--------------------------------------------------------------------------------
Total                                           3.6 MB/s |  24 MB     00:06    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : GeoIP-GeoLite-data-2015.12-1.el6.noarch                      1/4
  Installing : GeoIP-GeoLite-data-extra-2015.12-1.el6.noarch                2/4
  Installing : GeoIP-1.6.5-1.el6.x86_64                                     3/4
  Installing : GeoIP-devel-1.6.5-1.el6.x86_64                               4/4
  Verifying  : GeoIP-devel-1.6.5-1.el6.x86_64                               1/4
  Verifying  : GeoIP-GeoLite-data-extra-2015.12-1.el6.noarch                2/4
  Verifying  : GeoIP-1.6.5-1.el6.x86_64                                     3/4
  Verifying  : GeoIP-GeoLite-data-2015.12-1.el6.noarch                      4/4

Installed:
  GeoIP.x86_64 0:1.6.5-1.el6                                                   
  GeoIP-GeoLite-data.noarch 0:2015.12-1.el6                                    
  GeoIP-GeoLite-data-extra.noarch 0:2015.12-1.el6                              
  GeoIP-devel.x86_64 0:1.6.5-1.el6                                             

Complete!