Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tutorial:adm:server_preparation [2020/01/13 13:32]
urbanl Uprava návodu instalace tomcat zpět na ruční instalaci tomcatu 8
tutorial:adm:server_preparation [2020/03/10 10:14]
fiserp [Apache Tomcat configuration]
Line 45: Line 45:
 ===== PostgreSQL ===== ===== PostgreSQL =====
 <note tip>If you are install CzechIdM on Sql server, please follow [[tutorial:adm:mssql_database_support|this tutorial]].</note> <note tip>If you are install CzechIdM on Sql server, please follow [[tutorial:adm:mssql_database_support|this tutorial]].</note>
-CentOS7 default repository version of PostgreSQL is 9.2. In our tutorial, we will install newer version 9.6. Moreover, we install database data into /data not /var/lib which is the default option.+CentOS7 default repository version of PostgreSQL is 9.2 but IdM not support that version. In our tutorial, we will install newer version 9.6. Moreover, we install database data into /data not /var/lib which is the default option.
 ==== Database server installation - CentOS7 ==== ==== Database server installation - CentOS7 ====
   * Software installation (versions can vary):   * Software installation (versions can vary):
Line 437: Line 437:
  
 === Rotating Tomcat logs === === Rotating Tomcat logs ===
-Default Tomcat logger appneds to the logfile, it is therefore safe to use simple ''logrotate'' configuration. Save following as ''/etc/logrotate.d/tomcat'', adjust log retention (the ''rotate COUNT''as necessary.+Default Tomcat logger appneds to the logfile, it is therefore safe to use simple ''logrotate'' configuration. Save following as ''/etc/logrotate.d/tomcat'', adjust log retention as necessary (recommended default is to keep at least three month's worth of logs).
 <file txt tomcat> <file txt tomcat>
 /opt/tomcat/current/logs/catalina.out { /opt/tomcat/current/logs/catalina.out {
- rotate COUNT+ rotate 90
  daily  daily
  dateext  dateext
Line 532: Line 532:
 <VirtualHost _default_:80> <VirtualHost _default_:80>
    DocumentRoot /var/www/html    DocumentRoot /var/www/html
-   Redirect permanent / https://server+   Redirect permanent / https://SERVER/
 </VirtualHost> </VirtualHost>
 </code> </code>
  • by koulaj