Sidehistorik
...
IMAP Access for picking up mail
Installation
Prepare
...
database
Create the Database
Kodeblok |
---|
mysql> create database confluence CHARACTER SET utf8 COLLATE utf8_bin; mysql> grant all privileges on confluence.* to confluence@localhost identified by '*******'; Query OK, 0 rows affected (0.00 sec) |
...
Follow the required steps (remember path to Confluence_Home and Confluence_Data) and connect to the tomcat instance started
...
For saving Garbage Collection in /pack/confluence/logs/gc.log for debugging
Kodeblok |
---|
JAVA_OPTS="-Xms2048m -Xmx2048m -XX:MaxPermSize=512m -Djava.awt.headless=true -verbose:gc -Xloggc:/pack/confluence/logs/gc.log -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:NewSize=700m -XX:+UseParallelGC -Dsun.rmi.dgc.client.gcInterval=900000 -Dsun.rmi.dgc.server.gcInterval=900000 -XX:+DisableExplicitGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/backup/hdump -Dfile.encoding=UTF-8" export JAVA_OPTS |
...
Kodeblok |
---|
<Context path="/confluence" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true" allowLinking="true"> |
Logfiles
Logrotate
Set up logrotate to avoid ever growing catalina.out log file. Here Confluence_Home is /opt/confluence, logs are rotated daily and keept for 7 days:
Kodeblok | ||
---|---|---|
| ||
/opt/confluence/logs/catalina.out {
daily
rotate 7
compress
copytruncate
delaycompress
missingok
size 10M
notifempty
} |