Update docs/source/install.rst
This commit is contained in:
parent
9e24263853
commit
a4d09881f8
|
@ -58,19 +58,22 @@ Manual Installation
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
RELEASE=$(lsb_release -cs)
|
||||
# Check release:
|
||||
lsb_release -cs
|
||||
|
||||
wget --no-check-certificate --quiet -O /etc/apt/keyrings/qgis-archive-keyring.gpg https://download.qgis.org/downloads/qgis-archive-keyring.gpg
|
||||
|
||||
cat >>/etc/apt/sources.list.d/qgis.sources <<CAT_EOF
|
||||
Types: deb deb-src
|
||||
URIs: https://qgis.org/ubuntu
|
||||
Suites: ${RELEASE}
|
||||
Suites: # use output from lsb_release -cs above
|
||||
Architectures: amd64
|
||||
Components: main
|
||||
Signed-By: /etc/apt/keyrings/qgis-archive-keyring.gpg
|
||||
CAT_EOF
|
||||
|
||||
apt-get update -y || true
|
||||
|
||||
apt-get install -y qgis-server
|
||||
|
||||
if [ -d /etc/logrotate.d ]; then
|
||||
|
@ -88,8 +91,8 @@ Manual Installation
|
|||
CAT_EOF
|
||||
fi
|
||||
|
||||
mkdir -p ${DATA_DIR}/qgis
|
||||
chown www-data:www-data ${DATA_DIR}/qgis
|
||||
mkdir -p /var/www/data/qgis
|
||||
chown www-data:www-data /var/www/data/qgis
|
||||
|
||||
touch /var/log/qgisserver.log
|
||||
chown www-data:www-data /var/log/qgisserver.log
|
||||
|
|
Loading…
Reference in New Issue