diff --git a/docs/source/install.rst b/docs/source/install.rst index 301f624..af10fb5 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -28,10 +28,7 @@ Upon completion, you should see the message below:: Backend installation is finished. -Complete Setup --------------- - -Go to https://domain.com/admin.setup.php to complete the installation. +Complete setup by navigating to https://domain.com/admin.setup.php to complete the installation. .. image:: images/installer-2.png @@ -159,14 +156,18 @@ Configure ProFTPD systemctl enable proftpd systemctl restart proftpd + Configure Apache ---------------------------- .. code-block:: bash a2enmod ssl headers expires fcgid cgi + cp installer/apache2.conf /etc/apache2/sites-available/default-ssl.conf + # Below is required for Certbot to provision SSL + for f in 000-default default-ssl; do sed -i.save "s/#ServerName example.com/#ServerName ${HNAME}/" /etc/apache2/sites-available/${f}.conf done @@ -186,6 +187,12 @@ Create Data and Cache Directories mkdir -p "${CACHE_DIR}" mkdir -p "${DATA_DIR}" + +Grant Apache permissions +---------------------------- + +.. code-block:: bash + chown -R www-data:www-data "${APPS_DIR}" chown -R www-data:www-data "${CACHE_DIR}" chown -R www-data:www-data "${DATA_DIR}" @@ -197,6 +204,12 @@ Create Data and Cache Directories systemctl restart apache2 + +Create Groups and Permissions +---------------------------- + +.. code-block:: bash + # create group for all FTP users groupadd qatusers @@ -215,7 +228,7 @@ Create Data and Cache Directories echo -e "postgres and other passwords are saved in /root/auth.txt file" -Install More Stuff +Create incl/const.php file --------------------------------------- .. code-block:: php @@ -236,25 +249,5 @@ Install More Stuff ?> CAT_EOF -.. note:: If you want to quickly install and test Lizmap Web Client in a few steps, you can follow those - `instructions `_ using Docker and Docker-Compose. - -.. note:: In Debian distributions, you can work as administrator (log in with ``root``), without using ``sudo`` on contrary to Ubuntu. - - - - -.. code-block:: bash - - ln -s /etc/nginx/sites-available/lizmap.conf /etc/nginx/sites-enabled/lizmap.conf - -Restart Nginx -------------- - -You must restart the Nginx server to validate the configuration. - -.. code-block:: bash - - service nginx restart