From daf45a2993b893b8030aba0da2567e0e90dd31a3 Mon Sep 17 00:00:00 2001 From: Simon Will Date: Thu, 7 May 2020 00:36:13 +0200 Subject: [PATCH] Integrate Ubuntu 20 instructions into documentation --- docs/CMakeLists.txt | 1 + docs/admin/Installation.md | 1 + vagrant/Install-on-Ubuntu-20.sh | 11 ++++++++--- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 2735733a..5361d12f 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -43,6 +43,7 @@ ADD_CUSTOM_TARGET(doc COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/bash2md.sh ${PROJECT_SOURCE_DIR}/vagrant/Install-on-Centos-7.sh ${CMAKE_CURRENT_BINARY_DIR}/appendix/Install-on-Centos-7.md COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/bash2md.sh ${PROJECT_SOURCE_DIR}/vagrant/Install-on-Ubuntu-16.sh ${CMAKE_CURRENT_BINARY_DIR}/appendix/Install-on-Ubuntu-16.md COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/bash2md.sh ${PROJECT_SOURCE_DIR}/vagrant/Install-on-Ubuntu-18.sh ${CMAKE_CURRENT_BINARY_DIR}/appendix/Install-on-Ubuntu-18.md + COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/bash2md.sh ${PROJECT_SOURCE_DIR}/vagrant/Install-on-Ubuntu-20.sh ${CMAKE_CURRENT_BINARY_DIR}/appendix/Install-on-Ubuntu-20.md COMMAND mkdocs build -d ${CMAKE_CURRENT_BINARY_DIR}/../site-html -f ${CMAKE_CURRENT_BINARY_DIR}/../mkdocs.yml ) diff --git a/docs/admin/Installation.md b/docs/admin/Installation.md index 0dd6579b..765b2716 100644 --- a/docs/admin/Installation.md +++ b/docs/admin/Installation.md @@ -4,6 +4,7 @@ This page contains generic installation instructions for Nominatim and its prerequisites. There are also step-by-step instructions available for the following operating systems: + * [Ubuntu 20.04](../appendix/Install-on-Ubuntu-20.md) * [Ubuntu 18.04](../appendix/Install-on-Ubuntu-18.md) * [Ubuntu 16.04](../appendix/Install-on-Ubuntu-16.md) * [CentOS 7.2](../appendix/Install-on-Centos-7.md) diff --git a/vagrant/Install-on-Ubuntu-20.sh b/vagrant/Install-on-Ubuntu-20.sh index 85a95c9b..9b79adda 100644 --- a/vagrant/Install-on-Ubuntu-20.sh +++ b/vagrant/Install-on-Ubuntu-20.sh @@ -6,6 +6,11 @@ sudo update-locale LANG=en_US.UTF-8 #DOCS: export APT_LISTCHANGES_FRONTEND=none #DOCS: export DEBIAN_FRONTEND=noninteractive #DOCS: +# +# !!! danger "Important" +# Ubuntu 20.04 uses Postgresql 12 and Postgis 3, which are known to cause +# performance issues. They are not recommended for a production +# installation at the moment. # # *Note:* these installation instructions are also available in executable # form for use with vagrant under vagrant/Install-on-Ubuntu-20.sh. @@ -19,9 +24,9 @@ export DEBIAN_FRONTEND=noninteractive #DOCS: # #DOCS: :::sh - sudo apt-get \ - -o DPkg::options::="--force-confdef" -o DPkg::options::="--force-confold" \ - --allow-downgrades --allow-remove-essential --allow-change-held-packages \ + sudo apt-get \ #DOCS: + -o DPkg::options::="--force-confdef" -o DPkg::options::="--force-confold" \ #DOCS: + --allow-downgrades --allow-remove-essential --allow-change-held-packages \ #DOCS: -fuy install grub-pc #DOCS: sudo apt-get update -qq -- 2.45.1