Sidehistorik
...
Kodeblok | ||
---|---|---|
| ||
[mysqld] innodb_lock_wait_timeout = 300 |
SMTP Access for sending mail
IMAP Access for picking up mail
Installation
Prepare database
...
Kodeblok |
---|
mysql> CREATE DATABASE jira CHARACTER SET utf8 COLLATE utf8_bin; mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX on jira.* to jira@localhost identified by '*******'; Query OK, 0 rows affected (0.00 sec) |
Install binaries
Download JIRA from http://www.atlassian.com/software/jira/download
...
Advarsel |
---|
Configuration should (if possible) be done directly at the host:8080 - going through a proxy or trafficmanager add a risk that pages time out, leaving the JIRA server (and the client) in an unknown state |
...
Postinstall
This is where the tweaking comes into place, to avoid common problems:
setenv.sh
This file is found in the JIRA_Install/bin
...
Kodeblok |
---|
JAVA_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=512m $JAVA_OPTS -Djava.awt.headless=true -XX:NewSize=512m -Dfile.encoding=UTF-8" export JAVA_OPTS |
server.xml
This file is found in JIRA_Install/conf
...
Kodeblok |
---|
Time Format HH:mm Day Format dd-MM-yyyy dd-MM-yyyy HH:mm Complete Date/Time Format dd-MM-yyyy HH:mm Day/Month/Year Format dd-MM-yyyy jira.date.picker.java.format dd-MM-yyyy jira.date.picker.javascript.format %d-%m-%Y jira.date.time.picker.java.format dd-MM-yyyy HH:mm jira.date.time.picker.javascript.format %d-%m-%Y %H:%M |
...
Kodeblok |
---|
-Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true |
...
Logfiles
Logrotate
Set up logrotate to avoid ever growing catalina.out log file. Here JIRA_Home is /opt/jira, logs are rotated daily and kept for 7 days:
...