Changes

Jump to: navigation, search

Ops635 reading list

3,553 bytes added, 19:06, 3 February 2016
Week 4
== Week 4 ==
* Wednesday Presentation on GIT : Uzair Shamim
* 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 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!
</pre>
To use GeoIP, try the following command:
<pre>
[root@identity ~]# geoiplookup 142.204.1.2
GeoIP Country Edition: CA, Canada
GeoIP City Edition, Rev 1: CA, ON, Ontario, North York, M2M, 43.779701, -79.415604, 0, 0
GeoIP ASNum Edition: AS10265 Seneca College of Applied Arts and Technology
</pre>
 
 
* Friday Discussion: Enterprise Monitoring using Nagios
** [http://libaccess.senecacollege.ca:2048/login?url=http://proquest.safaribooksonline.com/book/networking/network-monitoring/9780133135695 Nagios: Building Enterprise-Grade Monitoring Infrastructures for Systems and Networks, Second Edition]
1,760
edits

Navigation menu