You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -551,6 +569,24 @@ Let's now configure the ``JAVA_OPTS``, i.e. the parameters to run the Servlet Co
551
569
552
570
.. 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.
553
571
572
+
.. code-block:: shell
573
+
574
+
# Create the Logrotate config
575
+
sudo tee /etc/logrotate.d/geoserver <<EOF
576
+
/opt/data/geoserver_logs/geoserver.log
577
+
/opt/tomcat/apache-tomcat-*/logs/*.log
578
+
/opt/tomcat/apache-tomcat-*/logs/*.out
579
+
/opt/tomcat/apache-tomcat-*/logs/*.txt
580
+
{
581
+
copytruncate
582
+
daily
583
+
rotate 5
584
+
delaycompress
585
+
missingok
586
+
su tomcat tomcat
587
+
}
588
+
EOF
589
+
554
590
Conifgure the Geofence DB
555
591
............................
556
592
@@ -744,6 +780,21 @@ Serving {“geonode”, “geoserver”} via NGINX
744
780
sudo systemctl status geonode-uwsgi.service
745
781
sudo systemctl enable geonode-uwsgi.service
746
782
783
+
.. code-block:: shell
784
+
785
+
# Create the Logrotate config
786
+
sudo tee /etc/logrotate.d/uwsgi-geonode <<EOF
787
+
"/var/log/geonode.log" {
788
+
copytruncate
789
+
daily
790
+
rotate 5
791
+
delaycompress
792
+
missingok
793
+
notifempty
794
+
su root root
795
+
}
796
+
EOF
797
+
747
798
.. code-block:: shell
748
799
749
800
# Backup the original NGINX config
@@ -1214,6 +1265,21 @@ Daemonize and configure Celery
0 commit comments