Installation of GeoIP Information for AWStats

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”

About the author

tux

View all posts

20 Comments

  • Hi,

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

  • 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.

  • Helo there, I discovered your site byy way off Google while searching for a
    comparable topic, your website got here up, it seems good.
    I have bookarked it in myy google bookmarks.
    Hi there, just become aware off your blog thru Google,
    and found that it’s truly informative. I’m gobna watch oout ffor
    brussels. I’ll be grateful in the event you proceed this in future.
    Lotss of other foloks can be benefited out of your writing.
    Cheers!

  • I’m still learning from you, while I’m trying to achieve my goals.

    I absolutely liked reading everything that is posted on your blog.Keep the information coming.
    I enjoyed it!

  • Hey there, You’ve performed a great job. I will
    certainly digg it and in my view suggest to my friends.
    I’m confident they’ll be benefited from this site.

  • Nice weblog right here! Additionally your website lots up very fast!
    What host are you the usage of? Can I get your affiliate link for your host?
    I desire my web site loaded up as quickly as yours lol.

  • Howdy very nice website!! Guy .. Excellent .. Amazing .. I will bookmark
    your web site and take the feeds also? I’m happy to find numerous useful info here in the put up,
    we’d like work out extra strategies on this regard, thank you
    for sharing. . . . . .

  • Hiya, I am really glad I’ve found this information. Today bloggers publish
    only about gossips and internet and this is actually frustrating.
    A good blog with exciting content, this is what I
    need. Thanks for keeping this web site, I’ll be visiting it.

    Do you do newsletters? Cant find it.

  • Hi всем
    Увидела блог про реальный заработок, тс 🙂 только для мамочек
    у кого мало опыта в бизнесе или хочет просто сменить место работы
    почитайте на каникулах https://moneymams.blogspot.com/

  • Are you trying to find powerful advertising that doesn’t charge a fortune and gets amazing resuts? Sorry to bug you on your contact form but actually that’s exactly where I wanted to make my point. We can send your promotional copy to sites through their contact pages just like you’re getting this ad right now. You can specify targets by keyword or just do mass blasts to sites in any country you choose. So let’s say you’re looking to blast a message to all the interior decorators in the United States, we’ll scrape websites for only those and post your ad message to them. Providing you’re advertising a product or service that’s relevant to that business category then your business will get an awesome result!

    Send an email to alfred3545will@gmail.com to find out how we do this

  • Meurut salah satu kepala sekolah di Finlandia, Kari Kivinen, sangat penting untuk mengaqjarkan anak-anak berpikir kritis di tengah perkembangan arus media
    sosial. Salah satu hal lain yang perlu dipeelajari dri dunia pendidikan dii Finlanria ialah bagaimana pendidikan di negara terkait mengajari para siswa sekolah basis melawan kehadiran dan pengaruh berita
    Hoax. Tapi, beberapa bagian yaa tambahkan informasi lain dari situs
    CDC dan bagian lain ya kurangi. Bagi saya, artikel berisi informasi penting tentang kesehatan bukan boleh dicampuri dengan opini perseorangan. Fenomena “googling” atau
    mencari informasi melaluimesin pencari informasi google
    sudah menjjadi trend global, kalo boleh dikatakanmemuncak dalaam satu
    dasawarsa terakhir ini;termasuk dalam dunia pendidikan. Pola konvensional dalam bentk membaca buku perlahan-lahan, kalo pun tidakditinggalkan, mulai dinomor-duakan. Informasi yang ada dapat ditampilkan dalam bentuk tulisan, movement,
    grafis, foto, video, dan sebagainya. Homepage atau yang
    dalam kode Indoneia disebut sebagai beranda internet site
    merupakan sebuah halaman utama yg ditampilkan oleh suatu website.
    Mereka inilah yang seringkali bingung buat membuat website dan platform yg digunakan, kalau
    tidak terbiasa menyajikan website sudah pasti mereka jadi cari developer.
    2 . Rajin cuici tangan kalau sudah kontak oleh orang lain, dekat dengan jamaah yang batuk-pilek pakai masker lalu personal hygiene lainnya.

  • Guess me and the squad gonna tour aroud Europe next year.

    Thankful for my homies still stationed in Germany and Italy

  • It’s a shame you don’t have a donate button! I’d most certainly donate to this outstanding blog!
    I guess for now i’ll settle for bookmarking and adding your RSS feed to my Google account.

    I look forward to fresh updates and will talk about this site with
    my Facebook group. Chat soon!

  • Hi there everyone, it’s my first pay a visit
    at this site, and paragraph is truly fruitful in favor of me, keep up posting
    these articles.

Leave a Reply