Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next 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/03/12 09:30] urbanl [2. JDBC driver installation - CentOS7 ] |
||
---|---|---|---|
Line 38: | Line 38: | ||
**CentOS** | **CentOS** | ||
- | Install the package with PostgreSQL JDBC driver: | + | Download |
+ | In this example we download version 42.2.11. | ||
<code bash> | <code bash> | ||
- | yum install -y postgresql-jdbc | + | wget https:// |
</ | </ | ||
Line 47: | Line 48: | ||
<code bash> | <code bash> | ||
- | ln -s /usr/share/java/postgresql-jdbc.jar /opt/tomcat/current/lib/ | + | ln -s / |
</ | </ | ||
Line 276: | Line 277: | ||
# System.getProperty(" | # System.getProperty(" | ||
idm.sec.core.attachment.storagePath=/ | idm.sec.core.attachment.storagePath=/ | ||
+ | |||
+ | # Max file size of uploaded file. Values can use the suffixed " | ||
+ | spring.servlet.multipart.max-file-size=100MB | ||
+ | spring.servlet.multipart.max-request-size=100MB | ||
</ | </ | ||
Line 342: | Line 347: | ||
Apache Tomcat has to know where the new configuration is. Because CzechIdM uses SpringBoot project, we simply add the **/ | Apache Tomcat has to know where the new configuration is. Because CzechIdM uses SpringBoot project, we simply add the **/ | ||
- | Create new file **/ | + | Create new file **/ |
<code bash:> | <code bash:> | ||
Line 389: | Line 394: | ||
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**: | ||
< | < | ||
- | cp idm-app-9.4.0.war / | + | cp idm-app-9.4.0.war / |
- | chown tomcat: | + | chown tomcat: |
</ | </ | ||
Start the Tomcat container:< | Start the Tomcat container:< |