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 [2021/09/08 08:24]
urbanl Oprava nastaveni opravneni na temp certifikatu pro apache
tutorial:adm:server_preparation [2022/03/21 12:59]
fiserp [Basic system setup]
Line 12: Line 12:
   * PostgreSQL 12.x - installed from OS packages.   * PostgreSQL 12.x - installed from OS packages.
   * Java 11 - installed from OS packages.   * Java 11 - installed from OS packages.
-  * Apache Tomcat 8.5.x - installed manually into ''/opt/tomcat''.+  * Apache Tomcat 9.0.x - installed manually into ''/opt/tomcat''.
   * Apache HTTPd 2.4.x - installed from OS packages. Can be replaced by nGinx.   * Apache HTTPd 2.4.x - installed from OS packages. Can be replaced by nGinx.
   * All services start via systemd.   * All services start via systemd.
   * Each service runs under dedicated non-privileged user.   * Each service runs under dedicated non-privileged user.
 +
  
 ===== Instalation and software configuration ===== ===== Instalation and software configuration =====
Line 240: Line 241:
 mkdir /opt/tomcat mkdir /opt/tomcat
 cd /opt/tomcat cd /opt/tomcat
 +
  
 </code> </code>
Line 250: Line 252:
 <code bash> <code bash>
 tar xzf apache-tomcat-9.0.45.tar.gz tar xzf apache-tomcat-9.0.45.tar.gz
 +
  
 </code> </code>
Line 257: Line 260:
 <code bash> <code bash>
 cd /opt/tomcat cd /opt/tomcat
-ln -s apache-tomcat-8.5.57 current+ln -s apache-tomcat-9.0.45 current 
  
 </code> </code>
Line 277: Line 281:
 chown tomcat:tomcat /opt/tomcat/current/conf/Catalina chown tomcat:tomcat /opt/tomcat/current/conf/Catalina
 chmod 750 /opt/tomcat/current/conf/Catalina chmod 750 /opt/tomcat/current/conf/Catalina
 +
  
 </code> </code>
 +
  
 ==== Start Tomcat automatically after system startup ==== ==== Start Tomcat automatically after system startup ====
  • by koulaj