Install Devolia Geo
From Devolia.org wiki - EN
Contents |
Prerequisites
Core prerequisites
- A server with enough disk space to store data from GeoNames (up to 4 GB, depending on the indexes setup)
- A webserver (we suggest Apache)
- PHP 5.2.0 (at least) in order to enable json response format.
- MySQL 4.x (at least)
Getting and unpacking latest release
- Download the latest release on Devolia.org
Installing data
- Make the install script executable (it should already be if you got it through subversion)
chmod a+x ./import.sh
- Run the script
./import.sh
- Create a geonames user with full SELECT rights on the geonames database
- Edit geoservice-config.incl.php and replace YOUR_PASSWORD_HERE with your actual password
- Configure your web server with a virtual server which root directory is the www subdirectory of the release
Optional tasks
We recommend to set up indexes in the geoname table on the following fields:
- latitude
- longitude
- fclass
- population
Once the installation is complete, have a look on how to use Devolia Geo.