/var/net/sys/admin/blog
| More

This is a continuation procedure for AWStats installation.

PROCEDURES:

GeoIP Information will show country information in AWStats.

1.    Download the current GeoLite Country from the internet
1. #wget http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz

2.    Create GeoIP directory
# mkdir /usr/local/share/GeoIP

3.    Move data files to directory and unzip.
#mv GeoIP.dat.gz /usr/local/share/GeoIP/
#gunzip /usr/local/share/GeoIP/GeoIP.dat.gz

4.    Install the GeoIP program
#wget http://www.maxmind.com/download/geoip/api/c/GeoIP-1.4.3.tar.gz
#cd /usr/local/src
#tar zxvf GeoIP-1.4.3.tar.gz
#cd /usr/local/src/GeoIP-1.4.3
#./configure
#make
#make check
#make install

#vi /etc/ld.so.conf
add the line:
/usr/local/lib

#ldconfig

5.    Install Geo::IP Perl Module

#wget http://www.maxmind.com/download/geoip/api/perl/Geo-IP-1.27.tar.gz

#cd /usr/local/src
#tar zxvf Geo-IP-1.27.tar.gz
#cd /usr/local/src/Geo-IP-1.27
#perl Makefile.PL LIBS=’-L/usr/local/lib’
#make
#make test
#make install

6.    Update your awstats.yoursite.conf configuration file
Add this line:
LoadPlugin=”geoip GEOIP_STANDARD /usr/local/share/GeoIP/GeoIP.dat”

Share

4 Responses to “Installation of GeoIP Information for AWStats”

  1. Adding new hard drives on an installed Linux Server | Linux Experience

    on May 1 2012

    […] Posted in Working with Servers by tux | No Comments […]

  2. Linux Topics – Tutorials « Zeeshan Ahmad Bhatti

    on December 29 2012

    […] Installation of GeoIP Information for AWStats […]

  3. Madhu

    on April 19 2013

    Hi,

    can please hsare me the resources for installing GEOIP. I couldnt download files through unix

  4. Cacodos12y

    on February 13 2017

    http://transportmiejskiiregionalny.org.pl/?m=20150408
    Purchasing a new or used auto could be a difficult method unless you know what you really are performing. By teaching yourself about automobile shopping before you decide to go to the car dealership, you could make stuff easier for your self. The following advice will help your next shopping getaway be pleasurable.

    Constantly provide a auto mechanic coupled when buying a whole new motor vehicle. Vehicle merchants are popular for offering lemons and you may not desire to be their following patient. If you can not get yourself a auto technician to check out automobiles along with you, a minimum of make sure that you have him look at your last choice before you buy it.

    Know your limitations. Before you start purchasing for your upcoming vehicle or pickup truck, determine how much you can afford to spend, and follow it. Don’t forget to include curiosity about your estimations. You are likely to shell out close to 20 percent as a payment in advance too, so prepare yourself.

    Just before attending a dealership, know which kind of motor vehicle you would like. Research all of you alternatives prior to shopping to help you determine what works the best for your finances and loved ones demands. Do your research to learn just how much you need to be paying for the probable car.

    Before you sign any agreement take the time to go through every range, for example the fine print. If you find something detailed you do not understand, usually do not indicator up until you receive an response which you recognize. Unsavory salesmen may use a contract to put in a lot of costs that were not talked about.

    When you retain the previous suggestions in mind the next time which you go shopping for a car, you will end up more prone to obtain a good bargain. Getting a car does not have to become frustration. Simply use the ideas from this post and you could get the vehicle you want at the excellent cost.

Comment RSS · TrackBack URI

Leave a comment

Name: (Required)

E-mail: (Required)

Website:

Comment:

 

About FLT

This site is dedicated to everyone who likes to learn and explore the beautiful world of Linux. If you have comments and suggestions, please feel free to email at freelinuxtutorials@gmail.com. I am happy to serve and share things esp. that is free and enjoyable as Linux.