DebianにConfluenceを入れたときに困ったあれこれ
Confluence5.9で修正されるらしいですが、現状以下の設定が必要です。
カレントディレクトリは<confluence home>とします。
デフォルトでfonts-takaoを使うようなので、インストールします。
apt-get install fonts-takao |
setenv.shに以下の行を加えます。
# Set the JVM arguments used to start Confluence. For a description of the options, see # http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html CATALINA_OPTS="-XX:-PrintGCDetails -XX:+PrintGCTimeStamps -XX:-PrintTenuringDistribution ${CATALINA_OPTS}" CATALINA_OPTS="-Xloggc:$LOGBASEABS/logs/gc-`date +%F_%H-%M-%S`.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=2M ${CATALINA_OPTS}" CATALINA_OPTS="-Djava.awt.headless=true ${CATALINA_OPTS}" #追加 CATALINA_OPTS="-Dconfluence.document.conversion.fontpath=/usr/share/fonts/truetype/" |
停止します。
./confluence/bin/stop-confluence.sh |
豆腐になってしまったファイルのプレビューキャッシュを削除します
rm -fr application-data/confluence/shared-home/dcl-document/* |
起動します
./confluence/bin/start-confluence.sh |
何かあったら追記予定 |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|