Git Product home page Git Product logo

nominatim-install's Introduction

Bash script to install Nominatim on Ubuntu

Tested on 14.04 using Postgres 9.3

http://wiki.openstreetmap.org/wiki/Nominatim/Installation

After the repository has been cloned from github, proceed by making your own .config.sh file based on the .config.sh.template file.

Running the installation script run.sh (as root) will:

  • create a nominatim user
  • download all the necessary packages
  • download the planet extract as defined by the .config.sh file
  • build the Nominatim index
  • create a virtual host

The root user is required to install the packages, but most of the installation is done as the nominatim user (using sudo).

Setup

Add this repository to a machine using the following, as your normal username (not root). In the listing the grouped items can usually be cut and pasted together into the command shell, others require responding to a prompt:

# Install git
sudo apt-get -y install git

# Tell git who you are
git config --global user.name "Your git username"
git config --global user.email "Your git email"

# Clone the installer
git clone https://github.com/cyclestreets/nominatim-install.git

# Move to the right place
sudo mv nominatim-install /opt
cd /opt/nominatim-install/
git config core.sharedRepository group

# Instantiate a config file
cp .config.sh.template .config.sh

# Edit .config.sh
# At least set a password for the nominatim user
# Rest of file defaults to processing Andorra - which should take about half an hour

# Run the installation
sudo ./run.sh

nominatim-install's People

Contributors

a-hahn avatar devployment avatar melvinzhang avatar mvl22 avatar si-the-pie avatar xivk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.