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:czechidm_installation [2020/02/03 08:25]
urbanl [5. Create CzechIdM configuration folders] Odstraněn adresář app, který se již nepoužívá
tutorial:adm:czechidm_installation [2020/03/11 11:55]
fiserp [6. Create CzechIdM configuration]
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 276: Line 276:
 # System.getProperty("user.home")/idm_data will be used if no path is given # System.getProperty("user.home")/idm_data will be used if no path is given
 idm.sec.core.attachment.storagePath=/opt/czechidm/data idm.sec.core.attachment.storagePath=/opt/czechidm/data
 +
 +# Max file size of uploaded file. Values can use the suffixed "MB" or "KB" to indicate a Megabyte or Kilobyte size.
 +spring.servlet.multipart.max-file-size=100MB
 +spring.servlet.multipart.max-request-size=100MB
 </file> </file>
  
Line 342: Line 346:
 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:>
 CLASSPATH=/opt/czechidm/etc:/opt/czechidm/lib/* CLASSPATH=/opt/czechidm/etc:/opt/czechidm/lib/*
 </code> </code>
Line 388: Line 393:
 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>
  • by kralikf