Vagrant setup for CentOS 8

This commit is contained in:
marc tobias
2020-02-03 13:13:46 +01:00
parent a3728b7188
commit 4a451671d3
3 changed files with 226 additions and 3 deletions

View File

@@ -35,6 +35,10 @@
proj-epsg bzip2-devel proj-devel boost-devel \
expat-devel zlib-devel
# make sure pg_config gets found
echo 'PATH=/usr/pgsql-11/bin/$PATH' >> ~/.bash_profile
source ~/.bash_profile
# If you want to run the test suite, you need to install the following
# additional packages:
@@ -85,9 +89,6 @@ sudo chown vagrant /srv/nominatim #DOCS:
# CentOS does not automatically create a database cluster. Therefore, start
# with initializing the database, then enable the server to start at boot:
echo 'PATH=$PATH:/usr/pgsql-11/bin' > .bash_profile
source .bash_profile
sudo /usr/pgsql-11/bin/postgresql-11-setup initdb
sudo systemctl enable postgresql-11