SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
How to install the Geolocation
database in your server side
This guide will help you to install the geolocation
free database in your own server side.
1. Download the Geolocation Database
The last free IP2Location database is available
through the follow link : http://lite.ip2location.com
, remeber you need to use the DB5.
NOTE : The database is available in two formats, CSV and Bin.
In order to make the process easily we converted
the CSV file and the table DML in a single standard
SQL script that can be load easily through the mysql
console. Our script have 1.685.307 records.
NOTE : Our single script is available through our technical forum at the follow link :
http://www.activehelper.com/forum/joomla/general-discussion
2. Install the Ip2Location Database
In order to do the installation you need to have
access to your server via SSH. The process is quite
simple, please follow the next steps :
1. Upload the script ip2location.sql in your server side via FTP.
2. Via SSH go to the same path where you have the file and start the
MySQL Console through the follow command line:
$ mysql --user=username --pass=password database_name
3. Select the database where you want to run the script.
mysql> use ipdb;
4. Finally run the import script through the follow command line:
mysql> source ip2location.sql;
NOTE : The script will be run for a few moments in order to upload the all records.
NOTE : You can create and upload the data in the same database where you have the CMS.
3. Install the Gelocation Script
In order to access the Geolocation database you
need to install a simple php script in your server
side. The process is quite simple, please follow the
next steps :
1. In your server side create a folder named : iplocation
2. Upload the script ip_query.php in the new folder.
3. Edit the php script and enter the database connection info.
NOTE : Remember you always need to use the information that point to the database where is the
Geolocation database installed.
4. Setup the Script on the LiveHelp Server
The last process is enter the link to the script in the
LiveHelp Server tracking script. Please follow the
next steps :
1. Via FTP go to the path where is the LiveHelp Server Tracking script:
Joomla : componentscom_activehelper_livehelpserverimport
WordPress : wp-contentpluginsactivehelper-livehelpserverimport
Drupal : sitesallmodulesactivehelper_livehelpserverimport
2. Edit the file named : javascript.php
3. Search for the line : http://s99.velaio.com/iplocation/ and update for
your server link. Example : http://www.myserver.com/iplocation/
5. Test the new Database
The database need to be tested with a fresh visitor.
NOTE : If you don’t get any geolocation info this is because you don't follow the steps like the guide says.
NOTE : Please remember that the database is provided by a third-party and we don’t offer support related
with this or with the accuracy of the data.

Mais conteúdo relacionado

Mais de ActiveHelper

Livehelp server guia de usuario para joomla
Livehelp server guia de usuario para joomlaLivehelp server guia de usuario para joomla
Livehelp server guia de usuario para joomlaActiveHelper
 
Livehelp server Guia de usuario para wordpress
Livehelp server Guia de usuario para wordpressLivehelp server Guia de usuario para wordpress
Livehelp server Guia de usuario para wordpressActiveHelper
 
Livehelp server user guide for wordpress
Livehelp server user guide for wordpressLivehelp server user guide for wordpress
Livehelp server user guide for wordpressActiveHelper
 
Livehelp Server User Guide for Joomla
Livehelp Server User Guide for JoomlaLivehelp Server User Guide for Joomla
Livehelp Server User Guide for JoomlaActiveHelper
 
LiveHelp for Druap Quick start
LiveHelp for Druap Quick startLiveHelp for Druap Quick start
LiveHelp for Druap Quick startActiveHelper
 
Support panel mobile user guide for PlayBook - English
Support panel mobile user guide for PlayBook - EnglishSupport panel mobile user guide for PlayBook - English
Support panel mobile user guide for PlayBook - EnglishActiveHelper
 
Support panel mobile user guide for iPhone and iPad - English
Support panel mobile user guide for iPhone and iPad - EnglishSupport panel mobile user guide for iPhone and iPad - English
Support panel mobile user guide for iPhone and iPad - EnglishActiveHelper
 
Support panel mobile user guide for iPhone and iPad - spanish
Support panel mobile user guide for iPhone and iPad - spanishSupport panel mobile user guide for iPhone and iPad - spanish
Support panel mobile user guide for iPhone and iPad - spanishActiveHelper
 
Support panel mobile user guide for Android - English
Support panel mobile user guide for Android - EnglishSupport panel mobile user guide for Android - English
Support panel mobile user guide for Android - EnglishActiveHelper
 
Support panel mobile user guide for Android - Spanish
Support panel mobile user guide for Android - SpanishSupport panel mobile user guide for Android - Spanish
Support panel mobile user guide for Android - SpanishActiveHelper
 
Guia de usuario Support Panel Console 3
Guia de usuario Support Panel Console 3Guia de usuario Support Panel Console 3
Guia de usuario Support Panel Console 3ActiveHelper
 
LiveHelp Server for Joomla Quick start v3
LiveHelp Server for Joomla Quick start   v3LiveHelp Server for Joomla Quick start   v3
LiveHelp Server for Joomla Quick start v3ActiveHelper
 
ActiveHelper LiveHelp Quick start V2 for Joomla
ActiveHelper LiveHelp Quick start V2 for JoomlaActiveHelper LiveHelp Quick start V2 for Joomla
ActiveHelper LiveHelp Quick start V2 for JoomlaActiveHelper
 
ActiveHelper LiveHelp Quick start
ActiveHelper LiveHelp Quick startActiveHelper LiveHelp Quick start
ActiveHelper LiveHelp Quick startActiveHelper
 

Mais de ActiveHelper (14)

Livehelp server guia de usuario para joomla
Livehelp server guia de usuario para joomlaLivehelp server guia de usuario para joomla
Livehelp server guia de usuario para joomla
 
Livehelp server Guia de usuario para wordpress
Livehelp server Guia de usuario para wordpressLivehelp server Guia de usuario para wordpress
Livehelp server Guia de usuario para wordpress
 
Livehelp server user guide for wordpress
Livehelp server user guide for wordpressLivehelp server user guide for wordpress
Livehelp server user guide for wordpress
 
Livehelp Server User Guide for Joomla
Livehelp Server User Guide for JoomlaLivehelp Server User Guide for Joomla
Livehelp Server User Guide for Joomla
 
LiveHelp for Druap Quick start
LiveHelp for Druap Quick startLiveHelp for Druap Quick start
LiveHelp for Druap Quick start
 
Support panel mobile user guide for PlayBook - English
Support panel mobile user guide for PlayBook - EnglishSupport panel mobile user guide for PlayBook - English
Support panel mobile user guide for PlayBook - English
 
Support panel mobile user guide for iPhone and iPad - English
Support panel mobile user guide for iPhone and iPad - EnglishSupport panel mobile user guide for iPhone and iPad - English
Support panel mobile user guide for iPhone and iPad - English
 
Support panel mobile user guide for iPhone and iPad - spanish
Support panel mobile user guide for iPhone and iPad - spanishSupport panel mobile user guide for iPhone and iPad - spanish
Support panel mobile user guide for iPhone and iPad - spanish
 
Support panel mobile user guide for Android - English
Support panel mobile user guide for Android - EnglishSupport panel mobile user guide for Android - English
Support panel mobile user guide for Android - English
 
Support panel mobile user guide for Android - Spanish
Support panel mobile user guide for Android - SpanishSupport panel mobile user guide for Android - Spanish
Support panel mobile user guide for Android - Spanish
 
Guia de usuario Support Panel Console 3
Guia de usuario Support Panel Console 3Guia de usuario Support Panel Console 3
Guia de usuario Support Panel Console 3
 
LiveHelp Server for Joomla Quick start v3
LiveHelp Server for Joomla Quick start   v3LiveHelp Server for Joomla Quick start   v3
LiveHelp Server for Joomla Quick start v3
 
ActiveHelper LiveHelp Quick start V2 for Joomla
ActiveHelper LiveHelp Quick start V2 for JoomlaActiveHelper LiveHelp Quick start V2 for Joomla
ActiveHelper LiveHelp Quick start V2 for Joomla
 
ActiveHelper LiveHelp Quick start
ActiveHelper LiveHelp Quick startActiveHelper LiveHelp Quick start
ActiveHelper LiveHelp Quick start
 

Último

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 

Último (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

How to Install the Geolocation Database for the LiveHelp Server

  • 1. How to install the Geolocation database in your server side This guide will help you to install the geolocation free database in your own server side.
  • 2. 1. Download the Geolocation Database The last free IP2Location database is available through the follow link : http://lite.ip2location.com , remeber you need to use the DB5. NOTE : The database is available in two formats, CSV and Bin. In order to make the process easily we converted the CSV file and the table DML in a single standard SQL script that can be load easily through the mysql console. Our script have 1.685.307 records. NOTE : Our single script is available through our technical forum at the follow link : http://www.activehelper.com/forum/joomla/general-discussion
  • 3. 2. Install the Ip2Location Database In order to do the installation you need to have access to your server via SSH. The process is quite simple, please follow the next steps : 1. Upload the script ip2location.sql in your server side via FTP. 2. Via SSH go to the same path where you have the file and start the MySQL Console through the follow command line: $ mysql --user=username --pass=password database_name 3. Select the database where you want to run the script. mysql> use ipdb; 4. Finally run the import script through the follow command line: mysql> source ip2location.sql; NOTE : The script will be run for a few moments in order to upload the all records. NOTE : You can create and upload the data in the same database where you have the CMS.
  • 4. 3. Install the Gelocation Script In order to access the Geolocation database you need to install a simple php script in your server side. The process is quite simple, please follow the next steps : 1. In your server side create a folder named : iplocation 2. Upload the script ip_query.php in the new folder. 3. Edit the php script and enter the database connection info. NOTE : Remember you always need to use the information that point to the database where is the Geolocation database installed.
  • 5. 4. Setup the Script on the LiveHelp Server The last process is enter the link to the script in the LiveHelp Server tracking script. Please follow the next steps : 1. Via FTP go to the path where is the LiveHelp Server Tracking script: Joomla : componentscom_activehelper_livehelpserverimport WordPress : wp-contentpluginsactivehelper-livehelpserverimport Drupal : sitesallmodulesactivehelper_livehelpserverimport 2. Edit the file named : javascript.php 3. Search for the line : http://s99.velaio.com/iplocation/ and update for your server link. Example : http://www.myserver.com/iplocation/
  • 6. 5. Test the new Database The database need to be tested with a fresh visitor. NOTE : If you don’t get any geolocation info this is because you don't follow the steps like the guide says. NOTE : Please remember that the database is provided by a third-party and we don’t offer support related with this or with the accuracy of the data.