Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
tutorial:adm:czechidm_installation [2020/07/28 09:10] urbanl predelani navodu pro centos8 |
tutorial:adm:czechidm_installation [2021/05/11 06:44] urbanl [9. Deploy the CzechIdM] Remeval of change owner of idm.war |
| |
# Choose appropriate collation and create database. | # Choose appropriate collation and create database. |
# with english collation | # with czech collation (- typical) |
CREATE DATABASE "czechidm" WITH OWNER 'czechidm' ENCODING 'UTF8' LC_COLLATE = 'en_US.UTF-8' LC_CTYPE = 'en_US.UTF-8' template 'template0'; | |
# with czech collation | |
CREATE DATABASE "czechidm" WITH OWNER 'czechidm' ENCODING 'UTF8' LC_COLLATE = 'cs_CZ.UTF-8' LC_CTYPE = 'cs_CZ.UTF-8' template 'template0'; | CREATE DATABASE "czechidm" WITH OWNER 'czechidm' ENCODING 'UTF8' LC_COLLATE = 'cs_CZ.UTF-8' LC_CTYPE = 'cs_CZ.UTF-8' template 'template0'; |
| # or with english collation |
| # CREATE DATABASE "czechidm" WITH OWNER 'czechidm' ENCODING 'UTF8' LC_COLLATE = 'en_US.UTF-8' LC_CTYPE = 'en_US.UTF-8' template 'template0'; |
</code> | </code> |
| |
org.quartz.jobStore.tablePrefix=qrtz_ | org.quartz.jobStore.tablePrefix=qrtz_ |
</file> | </file> |
* The **/opt/czechidm/etc/logback-spring.xml** specifies logging configuration. This is the default logging configuration that you can use out of the box.<file xml logback-spring.xml> | * The **/opt/czechidm/etc/logback-spring.xml** specifies logging configuration. This is the default logging configuration that you can use out of the box. |
| |
| <file xml logback-spring.xml> |
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> |
<!-- https://springframework.guru/using-logback-spring-boot/ --> | <!-- https://springframework.guru/using-logback-spring-boot/ --> |
<springProperty name="spring.datasource.password" source="spring.datasource.password"/> | <springProperty name="spring.datasource.password" source="spring.datasource.password"/> |
| |
<appender name="DB" class="ch.qos.logback.classic.db.DBAppender"> | <appender name="DB" class="eu.bcvsolutions.idm.core.exception.IdmDbAppender"> |
<connectionSource class="ch.qos.logback.core.db.DriverManagerConnectionSource"> | <connectionSource class="ch.qos.logback.core.db.DriverManagerConnectionSource"> |
<driverClass>${spring.datasource.driver-class-name}</driverClass> | <driverClass>${spring.datasource.driver-class-name}</driverClass> |