SlideShare a Scribd company logo
1 of 6
Download to read offline
» GeoIP Information for AWStats: improve country and city location in...            http://antezeta.com/awstats/geoip.html




                                                           Wed Sep 28 2011
                Home → Resources → Web analytics resources ‹4› → AWStats Resource
                Overview → GeoIP Information for AWStats



                GeoIP Information for AWStats
                                   Improve country and city location
                                   information in your web analytics reports
                AWStats offers three different ways to provide Country level information about
                visitors ("hosts") connecting to your site. By default, the host domain extension
                is used if you have performed reverse DNS look-up. While this results in human
                readable host names as well, reverse DNS lookup is time consuming.
                Alternatively, GeoIP plugins can be used. They match the host IP with a
                database of IP allocations which is already installed locally on your computer,
                significantly reducing the time needed to match a host to a location. There are
                two country level GeoIP databases available. A Geo::IPFree Perl module is
                available, but it does not appear that the database is being maintained. The better
                solution is MaxMind's Geo::IP GeoLite Country open source version, said to be
                97% accurate. An even more accurate commercial version is also available.

                Recently, MaxMind made a free version of its GeoLite City database available.
                The free version <http://www.maxmind.com/app/geolitecity> is about 60%
                accurate; the commercial version improves that to about 75%.

                MaxMind's Autonomous System Numbers <http://en.wikipedia.org
                /wiki/Autonomous_system_%28Internet%29> database works well for
                organization identification, although the display of AS numbers in AWStats may
                be incentive enough to license the commercial organization database.

                The GeoIP installation can be a bit tedious. The instructions below, for Linux
                <#geolin> and for MS Windows <#geowin> , should help you get up and
                running. We conclude with some general observations <#geoobs> .

                Last updated: 2008-12-18.


                GeoIP installation for Linux

                Download the current GeoLite Country, GeoLite City and
                Organization (AS Numbers) databases

                          http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat
                          http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
                          http://geolite.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz




1 de 6                                                                                                   28/9/2011 15:03
» GeoIP Information for AWStats: improve country and city location in...                         http://antezeta.com/awstats/geoip.html


                Create GeoIP data directory if it doesn't already exist




                Move data files to directory and unzip.




                Install the GeoIP program.
                There are two options:

                 a. Install a C program and a Perl program
                 b. Install just a Perl program.

                Option a) will provide the fastest performance.

                The instructions for a) are known to work using Fedora Core 6 - FC6.

                  i. Install GeoIP C API http://www.maxmind.com/app/c

                Download the GeoIP-*.tar.gz file, uncompress it and compile.


                  wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP-1.4.5.tar.gz




                2007-10-10: Thanks to James Rice who notified us of version 1.4.3. 2007-02-21: Thanks to Daniel
                Wallace who notified us of version 1.4.2. 2007-01-13: Thanks to Daniel Wallace who notified us of
                version 1.4.1. 2006-09-25: Thanks to Oleg Nerus who notified us of version 1.4.0. 2006-05-21:
                Thanks to Florian Burka who notified us of the availability of version 1.3.17.

                With a text editor, add the directory libGeoIP.so was installed in, i.e.
                /usr/local/lib, to /etc/ld.so.conf, and execute ldconfig

                 ii. Install Geo::IP Perl Module

                Download the Geo-IP-*.tar.gz file, uncompress it and compile.


                  wget http://geolite.maxmind.com/download/geoip/api/perl/Geo-IP-1.35.tar.gz




2 de 6                                                                                                                28/9/2011 15:03
» GeoIP Information for AWStats: improve country and city location in...            http://antezeta.com/awstats/geoip.html



                  tar -xvzf Geo-IP-1.35.tar.gz
                  cd Geo-IP-1.35

                  perl Makefile.PL LIBS='-L/usr/local/lib'
                  make
                  make test
                  sudo make install


                Option b) (in lieu of option a!)

                PurePerl Module (is slower, but does not require C library). Download latest
                Geo-IP-PurePerl-*.tar.gz file, uncompress and compile. Replace the version below
                with the current version.

                      wget http://www.maxmind.com/download/geoip/api/pureperl/Geo-IP-PurePerl-1.17.tar.gz




                Update your awstats.mysite.conf configuration file
                Look for the following geoip LoadPlugin options in your AWStats configuration
                file. Update them with the full path to each of the two database files.

                     LoadPlugin="geoip GEOIP_STANDARD /usr/local/share/GeoIP/GeoIP.dat"
                  LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /usr/local/share/GeoIP/GeoLiteCity.dat"
                  LoadPlugin="geoip_org_maxmind GEOIP_STANDARD /usr/local/share/GeoIP/GeoIPASNum.dat"




                MS Windows

                Install Geo::IP Perl Module
                open a windows terminal window

                For ActivePerl 6xx builds, use:




                For 8xx builds, use:




                ppm [Perl Module (pm) Management] is an ActiveState Perl Module
                Management system. Follow the prompts to install the Perl modules. Optionally
                install the GeoIP database. Your output should look like this:




3 de 6                                                                                                   28/9/2011 15:03
» GeoIP Information for AWStats: improve country and city location in...             http://antezeta.com/awstats/geoip.html



                      C:>ppm install http://theoryx5.uwinnipeg.ca/ppms/Geo-IP.ppd




                  Files found in blibarch: installing files in bliblib into architecture depende




                  The database GeoIP.dat is needed to complete the installation,
                  and should be placed in the C:Program Files/GeoIP directory. I will



                  Fetching http://theoryx5.uwinnipeg.ca/ppms/scripts/GeoIP.dat ...   done!

                  GeoIP.dat has been successfully installed to C:/Program Files/GeoIP
                  Successfully installed Geo-IP version 1.27 in ActivePerl 5.8.7.815.




                Update the GeoIP GeoLite Country database. Add the
                GeoIP GeoLite City and Organization (AS Numbers)
                databases.
                 a. Download the current Country, City and Organization (AS Numbers) databases


                  http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
                  http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
                  http://geolite.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz




                 b. Unzip the files and place them in your GeoIP data directory, i.e. C:Program
                    FilesGeoIP


                Update your awstats.mysite.conf configuration file
                Look for the following geoip LoadPlugin options in your AWStats configuration
                file. Update them with the full path to each of the two database files.

                     LoadPlugin="geoip GEOIP_STANDARD C:Program FilesGeoIPGeoIP.dat"
                  LoadPlugin="geoip_city_maxmind GEOIP_STANDARD C:Program FilesGeoIPGeoLiteCity.dat"
                  LoadPlugin="geoip_org_maxmind GEOIP_STANDARD C:Program FilesGeoIPGeoIPASNum.dat"




                      Various people have reported problems using the
                      geoip_org_maxmind plugin with the PurePerl GeoIP
                   module and MS Windows. This appears to have been



4 de 6                                                                                                    28/9/2011 15:03
» GeoIP Information for AWStats: improve country and city location in...              http://antezeta.com/awstats/geoip.html


                   addressed in the AWStats 6.6 release
                   <http://awstats.sourceforge.net/files/awstats-6.6.tar.gz> .
                   Alternatively, you could compile the GeoIP C library (dll).
                   See the note below on this topic. (Added 2006-05-12)


                Windows Notes




                General Observations
                The following tips are valid for all environments.

                     We suggest you create and schedule a script to download and update the
                     database files monthly.
                     For even better accuracy, approximately 75% vs. 60% for GeoLiteCity,
                     consider licensing MaxMind's commercial version.
                     The GeoIP plugins will slow AWStats statistics file generation if your AWStats
                     server is connected to the Internet, at least if reverse DNS Lookup has already
                     been performed on the host IPs. This is probably a bug, either in the GeoIP Perl
                     module or in AWStats. If your server is not connected to the internet, resolved
                     addresses will display Unknown (or the local language translation of Unknown)
                     for GeoIP data.

                Improve the quality this document by sending your feedback </awstats-
                contact.html> .


                Call for translations
                If you find this document useful and want to provide a translation in your native
                language, write us </awstats-contact.html> .


                Additional AWStats Resources
                We have other AWStats resources in this site, including ExtraSection
                </awstats.html#extrasection> s and Robots updates </awstats/robots.html> .
                See our AWStats resource </awstats/> overview for a full listing.



                Contents
                     GeoIP Information for AWStats
                          GeoIP installation for Linux
                               Download the current GeoLite Country, GeoLite City and Organization (AS


5 de 6                                                                                                     28/9/2011 15:03
» GeoIP Information for AWStats: improve country and city location in...                            http://antezeta.com/awstats/geoip.html


                                   Numbers) databases
                                   Install the GeoIP program.
                                   Update your awstats.mysite.conf configuration file
                            MS Windows
                                Install Geo::IP Perl Module
                                Update the GeoIP GeoLite Country database. Add the GeoIP GeoLite City
                                and Organization (AS Numbers) databases.
                                Update your awstats.mysite.conf configuration file
                                   Windows Notes
                            General Observations
                                Call for translations



                Let Antezeta help you in the selection, implementation and usage of a
                Web Analytics solution!

                Contact us today </cntct.html> to find out more about this topic and the rest
                of the Web Ecosystem.

                                Did you find what you were looking for?



                                          Copyright © 2005-2011 Sean Carlos. All rights reserved.




6 de 6                                                                                                                   28/9/2011 15:03

More Related Content

What's hot

開放運算&GPU技術研究班
開放運算&GPU技術研究班開放運算&GPU技術研究班
開放運算&GPU技術研究班Paul Chao
 
Añadiendo Jenkins al entorno para Integración continua
Añadiendo Jenkins al entorno para Integración continuaAñadiendo Jenkins al entorno para Integración continua
Añadiendo Jenkins al entorno para Integración continuaCésar Martín Ortiz Pintado
 
Simplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackB1 Systems GmbH
 
Arbeiten mit distribute, pip und virtualenv
Arbeiten mit distribute, pip und virtualenvArbeiten mit distribute, pip und virtualenv
Arbeiten mit distribute, pip und virtualenvMarkus Zapke-Gründemann
 
Kernel Recipes 2019 - ftrace: Where modifying a running kernel all started
Kernel Recipes 2019 - ftrace: Where modifying a running kernel all startedKernel Recipes 2019 - ftrace: Where modifying a running kernel all started
Kernel Recipes 2019 - ftrace: Where modifying a running kernel all startedAnne Nicolas
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库maclean liu
 
Linux Container Basics
Linux Container BasicsLinux Container Basics
Linux Container BasicsMichael Kehoe
 
Introduction and Deep Dive Into Containerd
Introduction and Deep Dive Into ContainerdIntroduction and Deep Dive Into Containerd
Introduction and Deep Dive Into ContainerdKohei Tokunaga
 
Docker - container and lightweight virtualization
Docker - container and lightweight virtualization Docker - container and lightweight virtualization
Docker - container and lightweight virtualization Sim Janghoon
 
DCSF19 Tips and Tricks of the Docker Captains
DCSF19 Tips and Tricks of the Docker Captains  DCSF19 Tips and Tricks of the Docker Captains
DCSF19 Tips and Tricks of the Docker Captains Docker, Inc.
 
Drupal in Libraries
Drupal in LibrariesDrupal in Libraries
Drupal in LibrariesCary Gordon
 
Kernel Recipes 2019 - Kernel documentation: past, present, and future
Kernel Recipes 2019 - Kernel documentation: past, present, and futureKernel Recipes 2019 - Kernel documentation: past, present, and future
Kernel Recipes 2019 - Kernel documentation: past, present, and futureAnne Nicolas
 
Check the version with fixes. Link in description
Check the version with fixes. Link in descriptionCheck the version with fixes. Link in description
Check the version with fixes. Link in descriptionPrzemyslaw Koltermann
 
제4회 한국IBM과 함께하는 난공불락 오픈소스 인프라 세미나-CRUI
제4회 한국IBM과 함께하는 난공불락 오픈소스 인프라 세미나-CRUI제4회 한국IBM과 함께하는 난공불락 오픈소스 인프라 세미나-CRUI
제4회 한국IBM과 함께하는 난공불락 오픈소스 인프라 세미나-CRUITommy Lee
 
Reproducible Computational Pipelines with Docker and Nextflow
Reproducible Computational Pipelines with Docker and NextflowReproducible Computational Pipelines with Docker and Nextflow
Reproducible Computational Pipelines with Docker and Nextflowinside-BigData.com
 
Lenovo system management solutions
Lenovo system management solutionsLenovo system management solutions
Lenovo system management solutionsinside-BigData.com
 
Single node hadoop cluster installation
Single node hadoop cluster installation Single node hadoop cluster installation
Single node hadoop cluster installation Mahantesh Angadi
 

What's hot (20)

開放運算&GPU技術研究班
開放運算&GPU技術研究班開放運算&GPU技術研究班
開放運算&GPU技術研究班
 
Añadiendo Jenkins al entorno para Integración continua
Añadiendo Jenkins al entorno para Integración continuaAñadiendo Jenkins al entorno para Integración continua
Añadiendo Jenkins al entorno para Integración continua
 
Simplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStack
 
Arbeiten mit distribute, pip und virtualenv
Arbeiten mit distribute, pip und virtualenvArbeiten mit distribute, pip und virtualenv
Arbeiten mit distribute, pip und virtualenv
 
Kernel Recipes 2019 - ftrace: Where modifying a running kernel all started
Kernel Recipes 2019 - ftrace: Where modifying a running kernel all startedKernel Recipes 2019 - ftrace: Where modifying a running kernel all started
Kernel Recipes 2019 - ftrace: Where modifying a running kernel all started
 
Rac on NFS
Rac on NFSRac on NFS
Rac on NFS
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
 
Linux Container Basics
Linux Container BasicsLinux Container Basics
Linux Container Basics
 
Introduction and Deep Dive Into Containerd
Introduction and Deep Dive Into ContainerdIntroduction and Deep Dive Into Containerd
Introduction and Deep Dive Into Containerd
 
Docker - container and lightweight virtualization
Docker - container and lightweight virtualization Docker - container and lightweight virtualization
Docker - container and lightweight virtualization
 
DCSF19 Tips and Tricks of the Docker Captains
DCSF19 Tips and Tricks of the Docker Captains  DCSF19 Tips and Tricks of the Docker Captains
DCSF19 Tips and Tricks of the Docker Captains
 
Drupal in Libraries
Drupal in LibrariesDrupal in Libraries
Drupal in Libraries
 
Kernel Recipes 2019 - Kernel documentation: past, present, and future
Kernel Recipes 2019 - Kernel documentation: past, present, and futureKernel Recipes 2019 - Kernel documentation: past, present, and future
Kernel Recipes 2019 - Kernel documentation: past, present, and future
 
Check the version with fixes. Link in description
Check the version with fixes. Link in descriptionCheck the version with fixes. Link in description
Check the version with fixes. Link in description
 
Backups
BackupsBackups
Backups
 
제4회 한국IBM과 함께하는 난공불락 오픈소스 인프라 세미나-CRUI
제4회 한국IBM과 함께하는 난공불락 오픈소스 인프라 세미나-CRUI제4회 한국IBM과 함께하는 난공불락 오픈소스 인프라 세미나-CRUI
제4회 한국IBM과 함께하는 난공불락 오픈소스 인프라 세미나-CRUI
 
Reproducible Computational Pipelines with Docker and Nextflow
Reproducible Computational Pipelines with Docker and NextflowReproducible Computational Pipelines with Docker and Nextflow
Reproducible Computational Pipelines with Docker and Nextflow
 
Lenovo system management solutions
Lenovo system management solutionsLenovo system management solutions
Lenovo system management solutions
 
PROSE
PROSEPROSE
PROSE
 
Single node hadoop cluster installation
Single node hadoop cluster installation Single node hadoop cluster installation
Single node hadoop cluster installation
 

Viewers also liked

Additional resources repositories_rpm_forge - centos wiki
Additional resources repositories_rpm_forge - centos wikiAdditional resources repositories_rpm_forge - centos wiki
Additional resources repositories_rpm_forge - centos wikiCarlos Eduardo
 
Postfix amavisd connect to 127.0.0.1[127.0.0.1]-10024_ connection refused _...
Postfix amavisd   connect to 127.0.0.1[127.0.0.1]-10024_ connection refused _...Postfix amavisd   connect to 127.0.0.1[127.0.0.1]-10024_ connection refused _...
Postfix amavisd connect to 127.0.0.1[127.0.0.1]-10024_ connection refused _...Carlos Eduardo
 
Migrate linux user password to postfix vmail database
Migrate linux user password to postfix vmail databaseMigrate linux user password to postfix vmail database
Migrate linux user password to postfix vmail databaseCarlos Eduardo
 
Iptables bridging and firewalling
Iptables bridging and firewallingIptables bridging and firewalling
Iptables bridging and firewallingCarlos Eduardo
 
Alberta skills network 3 22-10[1]
Alberta skills network 3 22-10[1]Alberta skills network 3 22-10[1]
Alberta skills network 3 22-10[1]affinitygroup
 
Configuração dns memorial descritivo
Configuração dns   memorial descritivoConfiguração dns   memorial descritivo
Configuração dns memorial descritivoCarlos Eduardo
 

Viewers also liked (8)

Additional resources repositories_rpm_forge - centos wiki
Additional resources repositories_rpm_forge - centos wikiAdditional resources repositories_rpm_forge - centos wiki
Additional resources repositories_rpm_forge - centos wiki
 
Postfix amavisd connect to 127.0.0.1[127.0.0.1]-10024_ connection refused _...
Postfix amavisd   connect to 127.0.0.1[127.0.0.1]-10024_ connection refused _...Postfix amavisd   connect to 127.0.0.1[127.0.0.1]-10024_ connection refused _...
Postfix amavisd connect to 127.0.0.1[127.0.0.1]-10024_ connection refused _...
 
Migrate linux user password to postfix vmail database
Migrate linux user password to postfix vmail databaseMigrate linux user password to postfix vmail database
Migrate linux user password to postfix vmail database
 
Iptables bridging and firewalling
Iptables bridging and firewallingIptables bridging and firewalling
Iptables bridging and firewalling
 
Ingles autobigrafia2
Ingles autobigrafia2Ingles autobigrafia2
Ingles autobigrafia2
 
Desabilitando
 Desabilitando Desabilitando
Desabilitando
 
Alberta skills network 3 22-10[1]
Alberta skills network 3 22-10[1]Alberta skills network 3 22-10[1]
Alberta skills network 3 22-10[1]
 
Configuração dns memorial descritivo
Configuração dns   memorial descritivoConfiguração dns   memorial descritivo
Configuração dns memorial descritivo
 

Similar to Instalação geo ip

How to Set Up Esri Geoportal Server 1.2.2 on Windows
How to Set Up Esri Geoportal Server 1.2.2 on WindowsHow to Set Up Esri Geoportal Server 1.2.2 on Windows
How to Set Up Esri Geoportal Server 1.2.2 on WindowsEsri
 
(120303) #fitalk ip finder and geo ip for fun
(120303) #fitalk   ip finder and geo ip for fun(120303) #fitalk   ip finder and geo ip for fun
(120303) #fitalk ip finder and geo ip for funINSIGHT FORENSIC
 
(120303) #fitalk ip finder and geo ip for fun
(120303) #fitalk   ip finder and geo ip for fun(120303) #fitalk   ip finder and geo ip for fun
(120303) #fitalk ip finder and geo ip for funINSIGHT FORENSIC
 
Django deployment with PaaS
Django deployment with PaaSDjango deployment with PaaS
Django deployment with PaaSAppsembler
 
The journey to GitOps
The journey to GitOpsThe journey to GitOps
The journey to GitOpsNicola Baldi
 
State of GeoServer
State of GeoServerState of GeoServer
State of GeoServerJody Garnett
 
NZ MEGA 2012 Presentation - GSAK 4 - Advanced
NZ MEGA 2012 Presentation - GSAK 4 - AdvancedNZ MEGA 2012 Presentation - GSAK 4 - Advanced
NZ MEGA 2012 Presentation - GSAK 4 - AdvancedNZ_GPS_Society
 
22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...
22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...
22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...Athens Big Data
 
Android porting for dummies @droidconin 2011
Android porting for dummies @droidconin 2011Android porting for dummies @droidconin 2011
Android porting for dummies @droidconin 2011pundiramit
 
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024Cloud Native NoVA
 
mago3D Technical Workshop Material
mago3D Technical Workshop Material mago3D Technical Workshop Material
mago3D Technical Workshop Material SANGHEE SHIN
 
IRJET- Analysis of Boston’s Crime Data using Apache Pig
IRJET- Analysis of Boston’s Crime Data using Apache PigIRJET- Analysis of Boston’s Crime Data using Apache Pig
IRJET- Analysis of Boston’s Crime Data using Apache PigIRJET Journal
 
carrow - Go bindings to Apache Arrow via C++-API
carrow - Go bindings to Apache Arrow via C++-APIcarrow - Go bindings to Apache Arrow via C++-API
carrow - Go bindings to Apache Arrow via C++-APIYoni Davidson
 
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...SaltStack
 
Configuration Management with Saltstack
Configuration Management with SaltstackConfiguration Management with Saltstack
Configuration Management with Saltstackinovex GmbH
 
FIWARE Wednesday Webinars - Short Term History within Smart Systems
FIWARE Wednesday Webinars - Short Term History within Smart SystemsFIWARE Wednesday Webinars - Short Term History within Smart Systems
FIWARE Wednesday Webinars - Short Term History within Smart SystemsFIWARE
 
Lecture02web 140phpapp01
Lecture02web 140phpapp01Lecture02web 140phpapp01
Lecture02web 140phpapp01letuan9999
 
Déploiement dynamique d'applications OSGi sur le Cloud
Déploiement dynamique d'applications OSGi sur le CloudDéploiement dynamique d'applications OSGi sur le Cloud
Déploiement dynamique d'applications OSGi sur le CloudOSGi User Group France
 

Similar to Instalação geo ip (20)

How to Set Up Esri Geoportal Server 1.2.2 on Windows
How to Set Up Esri Geoportal Server 1.2.2 on WindowsHow to Set Up Esri Geoportal Server 1.2.2 on Windows
How to Set Up Esri Geoportal Server 1.2.2 on Windows
 
(120303) #fitalk ip finder and geo ip for fun
(120303) #fitalk   ip finder and geo ip for fun(120303) #fitalk   ip finder and geo ip for fun
(120303) #fitalk ip finder and geo ip for fun
 
(120303) #fitalk ip finder and geo ip for fun
(120303) #fitalk   ip finder and geo ip for fun(120303) #fitalk   ip finder and geo ip for fun
(120303) #fitalk ip finder and geo ip for fun
 
Django deployment with PaaS
Django deployment with PaaSDjango deployment with PaaS
Django deployment with PaaS
 
The journey to GitOps
The journey to GitOpsThe journey to GitOps
The journey to GitOps
 
State of GeoServer
State of GeoServerState of GeoServer
State of GeoServer
 
NZ MEGA 2012 Presentation - GSAK 4 - Advanced
NZ MEGA 2012 Presentation - GSAK 4 - AdvancedNZ MEGA 2012 Presentation - GSAK 4 - Advanced
NZ MEGA 2012 Presentation - GSAK 4 - Advanced
 
22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...
22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...
22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...
 
Android porting for dummies @droidconin 2011
Android porting for dummies @droidconin 2011Android porting for dummies @droidconin 2011
Android porting for dummies @droidconin 2011
 
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
 
mago3D Technical Workshop Material
mago3D Technical Workshop Material mago3D Technical Workshop Material
mago3D Technical Workshop Material
 
Heroku pycon
Heroku pyconHeroku pycon
Heroku pycon
 
IRJET- Analysis of Boston’s Crime Data using Apache Pig
IRJET- Analysis of Boston’s Crime Data using Apache PigIRJET- Analysis of Boston’s Crime Data using Apache Pig
IRJET- Analysis of Boston’s Crime Data using Apache Pig
 
carrow - Go bindings to Apache Arrow via C++-API
carrow - Go bindings to Apache Arrow via C++-APIcarrow - Go bindings to Apache Arrow via C++-API
carrow - Go bindings to Apache Arrow via C++-API
 
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
 
Configuration Management with Saltstack
Configuration Management with SaltstackConfiguration Management with Saltstack
Configuration Management with Saltstack
 
FIWARE Wednesday Webinars - Short Term History within Smart Systems
FIWARE Wednesday Webinars - Short Term History within Smart SystemsFIWARE Wednesday Webinars - Short Term History within Smart Systems
FIWARE Wednesday Webinars - Short Term History within Smart Systems
 
Lecture02web 140phpapp01
Lecture02web 140phpapp01Lecture02web 140phpapp01
Lecture02web 140phpapp01
 
Howto Pxeboot
Howto PxebootHowto Pxeboot
Howto Pxeboot
 
Déploiement dynamique d'applications OSGi sur le Cloud
Déploiement dynamique d'applications OSGi sur le CloudDéploiement dynamique d'applications OSGi sur le Cloud
Déploiement dynamique d'applications OSGi sur le Cloud
 

More from Carlos Eduardo

Criando plugin para o Nagios em Shell Script _ Nagios
Criando plugin para o Nagios em Shell Script _ NagiosCriando plugin para o Nagios em Shell Script _ Nagios
Criando plugin para o Nagios em Shell Script _ NagiosCarlos Eduardo
 
Alterar nome do_domínio–rendom_win-2008_e_2003
Alterar nome do_domínio–rendom_win-2008_e_2003Alterar nome do_domínio–rendom_win-2008_e_2003
Alterar nome do_domínio–rendom_win-2008_e_2003Carlos Eduardo
 
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...Carlos Eduardo
 
Samsung r440 com wireless broadcom bcm4313 no ubuntu 11.10
Samsung r440 com wireless broadcom bcm4313 no ubuntu 11.10Samsung r440 com wireless broadcom bcm4313 no ubuntu 11.10
Samsung r440 com wireless broadcom bcm4313 no ubuntu 11.10Carlos Eduardo
 
Exploit access root to kernel 2.6.32 2.6.36 privilege escalation exploit
Exploit access root to kernel 2.6.32 2.6.36   privilege escalation exploitExploit access root to kernel 2.6.32 2.6.36   privilege escalation exploit
Exploit access root to kernel 2.6.32 2.6.36 privilege escalation exploitCarlos Eduardo
 
How to root phones or tablets running android 2.3 gingerbread jailbreak an...
How to root phones or tablets running android 2.3 gingerbread    jailbreak an...How to root phones or tablets running android 2.3 gingerbread    jailbreak an...
How to root phones or tablets running android 2.3 gingerbread jailbreak an...Carlos Eduardo
 
Compartilhamento no samba com permissão de grupo
Compartilhamento no samba com permissão de grupoCompartilhamento no samba com permissão de grupo
Compartilhamento no samba com permissão de grupoCarlos Eduardo
 
Converting parallels or vm ware to virtual box
Converting parallels or vm ware to virtual boxConverting parallels or vm ware to virtual box
Converting parallels or vm ware to virtual boxCarlos Eduardo
 
Startup guide for kvm on cent os 6
Startup guide for kvm on cent os 6Startup guide for kvm on cent os 6
Startup guide for kvm on cent os 6Carlos Eduardo
 
Alterar memória kvm virtual machine
Alterar memória kvm virtual machineAlterar memória kvm virtual machine
Alterar memória kvm virtual machineCarlos Eduardo
 
Instalando e configurando o serviço snmpd no red hat 5.3 cent_os
Instalando e configurando o serviço snmpd no red hat 5.3   cent_osInstalando e configurando o serviço snmpd no red hat 5.3   cent_os
Instalando e configurando o serviço snmpd no red hat 5.3 cent_osCarlos Eduardo
 
Instalando rrd tool-no-centos-5-usando-yum
Instalando rrd tool-no-centos-5-usando-yumInstalando rrd tool-no-centos-5-usando-yum
Instalando rrd tool-no-centos-5-usando-yumCarlos Eduardo
 
Como criar um repositório Ubuntu
Como criar um repositório UbuntuComo criar um repositório Ubuntu
Como criar um repositório UbuntuCarlos Eduardo
 
Backup Incremental auto - Windows Server 2008
Backup Incremental auto - Windows Server 2008Backup Incremental auto - Windows Server 2008
Backup Incremental auto - Windows Server 2008Carlos Eduardo
 
Alterar password linux user pam autentication
Alterar password linux user   pam autenticationAlterar password linux user   pam autentication
Alterar password linux user pam autenticationCarlos Eduardo
 

More from Carlos Eduardo (20)

Criando plugin para o Nagios em Shell Script _ Nagios
Criando plugin para o Nagios em Shell Script _ NagiosCriando plugin para o Nagios em Shell Script _ Nagios
Criando plugin para o Nagios em Shell Script _ Nagios
 
Alterar nome do_domínio–rendom_win-2008_e_2003
Alterar nome do_domínio–rendom_win-2008_e_2003Alterar nome do_domínio–rendom_win-2008_e_2003
Alterar nome do_domínio–rendom_win-2008_e_2003
 
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
 
Samsung r440 com wireless broadcom bcm4313 no ubuntu 11.10
Samsung r440 com wireless broadcom bcm4313 no ubuntu 11.10Samsung r440 com wireless broadcom bcm4313 no ubuntu 11.10
Samsung r440 com wireless broadcom bcm4313 no ubuntu 11.10
 
Exploit access root to kernel 2.6.32 2.6.36 privilege escalation exploit
Exploit access root to kernel 2.6.32 2.6.36   privilege escalation exploitExploit access root to kernel 2.6.32 2.6.36   privilege escalation exploit
Exploit access root to kernel 2.6.32 2.6.36 privilege escalation exploit
 
How to root phones or tablets running android 2.3 gingerbread jailbreak an...
How to root phones or tablets running android 2.3 gingerbread    jailbreak an...How to root phones or tablets running android 2.3 gingerbread    jailbreak an...
How to root phones or tablets running android 2.3 gingerbread jailbreak an...
 
Compartilhamento no samba com permissão de grupo
Compartilhamento no samba com permissão de grupoCompartilhamento no samba com permissão de grupo
Compartilhamento no samba com permissão de grupo
 
Canivete shell
Canivete shellCanivete shell
Canivete shell
 
Lsof
LsofLsof
Lsof
 
Converting parallels or vm ware to virtual box
Converting parallels or vm ware to virtual boxConverting parallels or vm ware to virtual box
Converting parallels or vm ware to virtual box
 
Startup guide for kvm on cent os 6
Startup guide for kvm on cent os 6Startup guide for kvm on cent os 6
Startup guide for kvm on cent os 6
 
Alterar memória kvm virtual machine
Alterar memória kvm virtual machineAlterar memória kvm virtual machine
Alterar memória kvm virtual machine
 
Comando kvm terminal
Comando kvm terminalComando kvm terminal
Comando kvm terminal
 
Otimizando seu Squid
Otimizando seu SquidOtimizando seu Squid
Otimizando seu Squid
 
Instalando e configurando o serviço snmpd no red hat 5.3 cent_os
Instalando e configurando o serviço snmpd no red hat 5.3   cent_osInstalando e configurando o serviço snmpd no red hat 5.3   cent_os
Instalando e configurando o serviço snmpd no red hat 5.3 cent_os
 
Instalando rrd tool-no-centos-5-usando-yum
Instalando rrd tool-no-centos-5-usando-yumInstalando rrd tool-no-centos-5-usando-yum
Instalando rrd tool-no-centos-5-usando-yum
 
Como criar um repositório Ubuntu
Como criar um repositório UbuntuComo criar um repositório Ubuntu
Como criar um repositório Ubuntu
 
Backup Incremental auto - Windows Server 2008
Backup Incremental auto - Windows Server 2008Backup Incremental auto - Windows Server 2008
Backup Incremental auto - Windows Server 2008
 
SSL no apache
SSL no apacheSSL no apache
SSL no apache
 
Alterar password linux user pam autentication
Alterar password linux user   pam autenticationAlterar password linux user   pam autentication
Alterar password linux user pam autentication
 

Recently uploaded

Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 

Instalação geo ip

  • 1. » GeoIP Information for AWStats: improve country and city location in... http://antezeta.com/awstats/geoip.html Wed Sep 28 2011 Home → Resources → Web analytics resources ‹4› → AWStats Resource Overview → GeoIP Information for AWStats GeoIP Information for AWStats Improve country and city location information in your web analytics reports AWStats offers three different ways to provide Country level information about visitors ("hosts") connecting to your site. By default, the host domain extension is used if you have performed reverse DNS look-up. While this results in human readable host names as well, reverse DNS lookup is time consuming. Alternatively, GeoIP plugins can be used. They match the host IP with a database of IP allocations which is already installed locally on your computer, significantly reducing the time needed to match a host to a location. There are two country level GeoIP databases available. A Geo::IPFree Perl module is available, but it does not appear that the database is being maintained. The better solution is MaxMind's Geo::IP GeoLite Country open source version, said to be 97% accurate. An even more accurate commercial version is also available. Recently, MaxMind made a free version of its GeoLite City database available. The free version <http://www.maxmind.com/app/geolitecity> is about 60% accurate; the commercial version improves that to about 75%. MaxMind's Autonomous System Numbers <http://en.wikipedia.org /wiki/Autonomous_system_%28Internet%29> database works well for organization identification, although the display of AS numbers in AWStats may be incentive enough to license the commercial organization database. The GeoIP installation can be a bit tedious. The instructions below, for Linux <#geolin> and for MS Windows <#geowin> , should help you get up and running. We conclude with some general observations <#geoobs> . Last updated: 2008-12-18. GeoIP installation for Linux Download the current GeoLite Country, GeoLite City and Organization (AS Numbers) databases http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz http://geolite.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz 1 de 6 28/9/2011 15:03
  • 2. » GeoIP Information for AWStats: improve country and city location in... http://antezeta.com/awstats/geoip.html Create GeoIP data directory if it doesn't already exist Move data files to directory and unzip. Install the GeoIP program. There are two options: a. Install a C program and a Perl program b. Install just a Perl program. Option a) will provide the fastest performance. The instructions for a) are known to work using Fedora Core 6 - FC6. i. Install GeoIP C API http://www.maxmind.com/app/c Download the GeoIP-*.tar.gz file, uncompress it and compile. wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP-1.4.5.tar.gz 2007-10-10: Thanks to James Rice who notified us of version 1.4.3. 2007-02-21: Thanks to Daniel Wallace who notified us of version 1.4.2. 2007-01-13: Thanks to Daniel Wallace who notified us of version 1.4.1. 2006-09-25: Thanks to Oleg Nerus who notified us of version 1.4.0. 2006-05-21: Thanks to Florian Burka who notified us of the availability of version 1.3.17. With a text editor, add the directory libGeoIP.so was installed in, i.e. /usr/local/lib, to /etc/ld.so.conf, and execute ldconfig ii. Install Geo::IP Perl Module Download the Geo-IP-*.tar.gz file, uncompress it and compile. wget http://geolite.maxmind.com/download/geoip/api/perl/Geo-IP-1.35.tar.gz 2 de 6 28/9/2011 15:03
  • 3. » GeoIP Information for AWStats: improve country and city location in... http://antezeta.com/awstats/geoip.html tar -xvzf Geo-IP-1.35.tar.gz cd Geo-IP-1.35 perl Makefile.PL LIBS='-L/usr/local/lib' make make test sudo make install Option b) (in lieu of option a!) PurePerl Module (is slower, but does not require C library). Download latest Geo-IP-PurePerl-*.tar.gz file, uncompress and compile. Replace the version below with the current version. wget http://www.maxmind.com/download/geoip/api/pureperl/Geo-IP-PurePerl-1.17.tar.gz Update your awstats.mysite.conf configuration file Look for the following geoip LoadPlugin options in your AWStats configuration file. Update them with the full path to each of the two database files. LoadPlugin="geoip GEOIP_STANDARD /usr/local/share/GeoIP/GeoIP.dat" LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /usr/local/share/GeoIP/GeoLiteCity.dat" LoadPlugin="geoip_org_maxmind GEOIP_STANDARD /usr/local/share/GeoIP/GeoIPASNum.dat" MS Windows Install Geo::IP Perl Module open a windows terminal window For ActivePerl 6xx builds, use: For 8xx builds, use: ppm [Perl Module (pm) Management] is an ActiveState Perl Module Management system. Follow the prompts to install the Perl modules. Optionally install the GeoIP database. Your output should look like this: 3 de 6 28/9/2011 15:03
  • 4. » GeoIP Information for AWStats: improve country and city location in... http://antezeta.com/awstats/geoip.html C:>ppm install http://theoryx5.uwinnipeg.ca/ppms/Geo-IP.ppd Files found in blibarch: installing files in bliblib into architecture depende The database GeoIP.dat is needed to complete the installation, and should be placed in the C:Program Files/GeoIP directory. I will Fetching http://theoryx5.uwinnipeg.ca/ppms/scripts/GeoIP.dat ... done! GeoIP.dat has been successfully installed to C:/Program Files/GeoIP Successfully installed Geo-IP version 1.27 in ActivePerl 5.8.7.815. Update the GeoIP GeoLite Country database. Add the GeoIP GeoLite City and Organization (AS Numbers) databases. a. Download the current Country, City and Organization (AS Numbers) databases http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz http://geolite.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz b. Unzip the files and place them in your GeoIP data directory, i.e. C:Program FilesGeoIP Update your awstats.mysite.conf configuration file Look for the following geoip LoadPlugin options in your AWStats configuration file. Update them with the full path to each of the two database files. LoadPlugin="geoip GEOIP_STANDARD C:Program FilesGeoIPGeoIP.dat" LoadPlugin="geoip_city_maxmind GEOIP_STANDARD C:Program FilesGeoIPGeoLiteCity.dat" LoadPlugin="geoip_org_maxmind GEOIP_STANDARD C:Program FilesGeoIPGeoIPASNum.dat" Various people have reported problems using the geoip_org_maxmind plugin with the PurePerl GeoIP module and MS Windows. This appears to have been 4 de 6 28/9/2011 15:03
  • 5. » GeoIP Information for AWStats: improve country and city location in... http://antezeta.com/awstats/geoip.html addressed in the AWStats 6.6 release <http://awstats.sourceforge.net/files/awstats-6.6.tar.gz> . Alternatively, you could compile the GeoIP C library (dll). See the note below on this topic. (Added 2006-05-12) Windows Notes General Observations The following tips are valid for all environments. We suggest you create and schedule a script to download and update the database files monthly. For even better accuracy, approximately 75% vs. 60% for GeoLiteCity, consider licensing MaxMind's commercial version. The GeoIP plugins will slow AWStats statistics file generation if your AWStats server is connected to the Internet, at least if reverse DNS Lookup has already been performed on the host IPs. This is probably a bug, either in the GeoIP Perl module or in AWStats. If your server is not connected to the internet, resolved addresses will display Unknown (or the local language translation of Unknown) for GeoIP data. Improve the quality this document by sending your feedback </awstats- contact.html> . Call for translations If you find this document useful and want to provide a translation in your native language, write us </awstats-contact.html> . Additional AWStats Resources We have other AWStats resources in this site, including ExtraSection </awstats.html#extrasection> s and Robots updates </awstats/robots.html> . See our AWStats resource </awstats/> overview for a full listing. Contents GeoIP Information for AWStats GeoIP installation for Linux Download the current GeoLite Country, GeoLite City and Organization (AS 5 de 6 28/9/2011 15:03
  • 6. » GeoIP Information for AWStats: improve country and city location in... http://antezeta.com/awstats/geoip.html Numbers) databases Install the GeoIP program. Update your awstats.mysite.conf configuration file MS Windows Install Geo::IP Perl Module Update the GeoIP GeoLite Country database. Add the GeoIP GeoLite City and Organization (AS Numbers) databases. Update your awstats.mysite.conf configuration file Windows Notes General Observations Call for translations Let Antezeta help you in the selection, implementation and usage of a Web Analytics solution! Contact us today </cntct.html> to find out more about this topic and the rest of the Web Ecosystem. Did you find what you were looking for? Copyright © 2005-2011 Sean Carlos. All rights reserved. 6 de 6 28/9/2011 15:03