diff --git a/install/advanced/core/index.rst b/install/advanced/core/index.rst index 4a4e118d..f40395f5 100644 --- a/install/advanced/core/index.rst +++ b/install/advanced/core/index.rst @@ -160,8 +160,26 @@ At this point your command prompt shows a ``(geonode)`` prefix, this indicates t pip install -e . --upgrade pip install pygdal=="`gdal-config --version`.*" +Edit ``/opt/geonode/celery-cmd``. -.. _configure_dbs_core: +.. code-block:: shell + + CELERY__STATE_DB=${CELERY__STATE_DB:-"/opt/geonode/worker@%h.state"} + +Edit ``/opt/geonode/geonode/settings.py``. + +.. code-block:: python + + FILE_UPLOAD_DIRECTORY_PERMISSIONS = 0o777 + FILE_UPLOAD_PERMISSIONS = 0o777 + +Edit ``/opt/geonode/uwsgi.ini``. + +.. code-block:: ini + + chdir = /opt/geonode/ + + touch-reload = /opt/geonode/geonode/wsgi.py 3. Postgis database Setup ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -551,6 +569,24 @@ Let's now configure the ``JAVA_OPTS``, i.e. the parameters to run the Servlet Co .. warning:: The default options we are going to add to the Servlet Container, assume you can reserve at least ``4GB`` of ``RAM`` to ``GeoServer`` (see the option ``-Xmx4096m``). You must be sure your machine has enough memory to run both ``GeoServer`` and ``GeoNode``, which in this case means at least ``4GB`` for ``GeoServer`` plus at least ``2GB`` for ``GeoNode``. A total of at least ``6GB`` of ``RAM`` available on your machine. If you don't have enough ``RAM`` available, you can lower down the values ``-Xms512m -Xmx4096m``. Consider that with less ``RAM`` available, the performances of your services will be highly impacted. +.. code-block:: shell + + # Create the Logrotate config + sudo tee /etc/logrotate.d/geoserver <