![]() Next tune the postgresql configuration, which is located in With initializing the database, then enable the server to start at boot: sudo postgresql-setup initdb Make sure that system servers can read from the home directory: chmod a x $USERHOME Setting up PostgreSQL ĬentOS does not automatically create a database cluster. Never, ever run the installation as a root user. User name and home directory now like this: export USERNAME=nominatim To be able to copy and paste instructions from this manual, export You may find a more suitable location if you wish. To create the user and directory run: sudo useradd -d /srv/nominatim -s /bin/bash -m nominatim We assume this user is called nominatim and the installation will be in It is thereforeīest to install it under its own separate user account. Nominatim will run as a global service on your machine. You may skip some of the steps if you have your The following steps are meant to configure a fresh CentOS installationįor use with Nominatim. Sudo pear install PHP_CodeSniffer System Configuration Pip3 install -user behave nose pytidylib psycopg2 If you want to run the test suite, you need to install the followingĪdditional packages: sudo yum install -y python34-pip python34-setuptools python34-devel \ Proj-epsg bzip2-devel proj-devel libxml2-devel boost-devel \ Php-pgsql php php-pear php-pear-DB php-intl libpqxx-devel \ Wget git cmake make gcc gcc-c libtool policycoreutils-python \ Now you can install all packages needed for Nominatim: sudo yum install -y postgresql-server postgresql-contrib postgresql-devel \ ![]() Install the epel-release RPM by running: sudo yum install -y epel-release ![]() You need to enable the EPEL repository as well. The standard CentOS repositories don't contain all the required packages, Make sure all packages are up-to-date by running: sudo yum update -y These instructions expect that you have a freshly installed CentOS version 7. ![]() Note: these installation instructions are also available in executableįorm for use with vagrant under vagrant/Install-on-Centos-7.sh.
0 Comments
Leave a Reply. |