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 [2020/02/03 08:32]
urbanl [8. Adjust Tomcat's classpath] Uprava formátování
tutorial:adm:czechidm_installation [2020/02/18 11:44] (current)
urbanl [10. Deploy the CzechIdM] oprava bilých znaků
Line 47: Line 47:
  
 <code bash> <code bash>
-ln -s /usr/share/java/postgresql-jdbc.jar /​opt/​tomcat/​current/​lib/​+ln -s /​usr/​share/​java/​postgresql-jdbc.jar /​opt/​tomcat/​current/​lib/​
 </​code> ​ </​code> ​
  
Line 342: Line 342:
 Apache Tomcat has to know where the new configuration is. Because CzechIdM uses SpringBoot project, we simply add the **/​opt/​czechidm/​etc** directory (and others) on the classpath. Apache Tomcat has to know where the new configuration is. Because CzechIdM uses SpringBoot project, we simply add the **/​opt/​czechidm/​etc** directory (and others) on the classpath.
  
-Create new file **/​opt/​tomcat/​current/​bin/setenv.sh** with following ​content:+Create new file **/​opt/​tomcat/​current/​bin/​setenv.sh** with following ​content:
  
 <code bash:> <code bash:>
Line 389: Line 389:
 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-9.4.0.war /​opt/​tomcat/​current/​webapps/​idm.war +cp idm-app-9.4.0.war /​opt/​tomcat/​current/​webapps/​idm.war 
-chown tomcat:​tomcat /​opt/​tomcat/​current/​webapps/​idm.war+chown tomcat:​tomcat /​opt/​tomcat/​current/​webapps/​idm.war
 </​code>​ </​code>​
 Start the Tomcat container:<​code>​ Start the Tomcat container:<​code>​