Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyclestreets/nominatim-install
Bash script to install Nominatim
https://github.com/cyclestreets/nominatim-install
Last synced: 3 months ago
JSON representation
Bash script to install Nominatim
- Host: GitHub
- URL: https://github.com/cyclestreets/nominatim-install
- Owner: cyclestreets
- Created: 2012-10-04T22:07:50.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-07-13T19:28:50.000Z (over 8 years ago)
- Last Synced: 2024-05-03T06:39:06.379Z (6 months ago)
- Language: Shell
- Size: 144 KB
- Stars: 67
- Watchers: 12
- Forks: 31
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 hostThe *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:
```shell
# 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
```