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
tutorial:adm:czechidm_installation [2022/07/28 13:49]
janatam
tutorial:adm:czechidm_installation [2022/12/20 10:11] (current)
kralikf [9. Deploy the CzechIdM]
Line 105: Line 105:
  
 <code> <code>
-cat /dev/urandom | tr -dc 'a-z0-9' | head -c 32 > /opt/czechidm/etc/secret.key+cat /dev/urandom | tr -dc 'a-z0-9' | head -c 32> /opt/czechidm/etc/secret.key
  
 </code> </code>
Line 158: Line 158:
  
         <appender name="DB" class="eu.bcvsolutions.idm.core.exception.IdmDbAppender">         <appender name="DB" class="eu.bcvsolutions.idm.core.exception.IdmDbAppender">
-            <connectionSource class="ch.qos.logback.core.db.DriverManagerConnectionSource"> +
-                <driverClass>${spring.datasource.driver-class-name}</driverClass> +
-                <url>${spring.datasource.url}</url> +
-                <user>${spring.datasource.username}</user> +
-                <password>${spring.datasource.password}</password> +
-            </connectionSource>+
         </appender>         </appender>
  
Line 195: Line 190:
 idm.pub.app.stage=production idm.pub.app.stage=production
  
-spring.datasource.url=jdbc:postgresql://localhost:5432/czechidm+spring.datasource.jdbcUrl=jdbc:postgresql://localhost:5432/czechidm
 spring.datasource.username=czechidm spring.datasource.username=czechidm
 spring.datasource.password=********** TODO ********* spring.datasource.password=********** TODO *********
Line 374: Line 369:
 </code> </code>
 ==== 9. Deploy the CzechIdM ==== ==== 9. Deploy the CzechIdM ====
-Download the latest CzechIdM version. Currently it is idm-app-10.4.1.war.+ 
 +Download the latest CzechIdM version. Currently it is idm-app-12.2.3.war.
  
 Ensure Tomcat is stopped: Ensure Tomcat is stopped:
 +
 <code> <code>
 systemctl stop tomcat.service systemctl stop tomcat.service
 +
 </code> </code>
 +
 Copy the identity manager WAR into webapps folder in Tomcat and name it ''idm.war'': Copy the identity manager WAR into webapps folder in Tomcat and name it ''idm.war'':
 <code> <code>
 cp idm-app-10.4.1.war /opt/tomcat/current/webapps/idm.war cp idm-app-10.4.1.war /opt/tomcat/current/webapps/idm.war
 +
 </code> </code>
-Start the Tomcat container:<code>+ 
 +Start the Tomcat container: 
 + 
 +<code>
 systemctl start tomcat.service systemctl start tomcat.service
 +
 </code> </code>
 +
 If everything is set up right, the CzechIdM will deploy. Default log is ''/opt/tomcat/​current/logs/​catalina.out''. If everything is set up right, the CzechIdM will deploy. Default log is ''/opt/tomcat/​current/logs/​catalina.out''.
  
  • by janatam