Update docs/source/install.rst
This commit is contained in:
parent
a4d09881f8
commit
80b6881d16
|
@ -48,6 +48,17 @@ Go to https://yourdomain.com/admin/setup.php to complete the installation
|
|||
Manual Installation
|
||||
-------------------
|
||||
|
||||
For below, we will use the following. You can adjust as needed
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
APP_DB='quartz'
|
||||
APP_DB_PASS='SuperSecret';
|
||||
DATA_DIR='/var/www/data'
|
||||
CACHE_DIR='/var/www/cache'
|
||||
APPS_DIR='/var/www/html/apps'
|
||||
|
||||
|
||||
1. Install dependencies:
|
||||
|
||||
.. code-block:: console
|
||||
|
@ -91,8 +102,8 @@ Manual Installation
|
|||
CAT_EOF
|
||||
fi
|
||||
|
||||
mkdir -p /var/www/data/qgis
|
||||
chown www-data:www-data /var/www/data/qgis
|
||||
mkdir -p ${DATA_DIR}/qgis
|
||||
chown www-data:www-data ${DATA_DIR}/qgis
|
||||
|
||||
touch /var/log/qgisserver.log
|
||||
chown www-data:www-data /var/log/qgisserver.log
|
||||
|
@ -154,13 +165,15 @@ Manual Installation
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
mkdir /var/www/data
|
||||
mkdir /var/www/cache
|
||||
mkdir /var/www/html/apps
|
||||
mkdir -p "${APPS_DIR}"
|
||||
mkdir -p "${CACHE_DIR}"
|
||||
mkdir -p "${DATA_DIR}"
|
||||
|
||||
|
||||
chown -R www-data:www-data "${APPS_DIR}"
|
||||
chown -R www-data:www-data "${CACHE_DIR}"
|
||||
chown -R www-data:www-data "${DATA_DIR}"
|
||||
|
||||
chown -R www-data:www-data /var/www/data
|
||||
chown -R www-data:www-data /var/www/cache
|
||||
chown -R www-data:www-data /var/www/html/apps
|
||||
|
||||
|
||||
8. Give sync service +w to apps/1/images dir
|
||||
|
|
Loading…
Reference in New Issue