Installation Preparation:
System: centos6.5 x64
Software: mysql5.x,jira6.3.6
Chinese documents: Jira-6.3.3-language-pack-zh_cn.jar
Hack file: Atlassian-extras-2.2.2.jar Atlassian-universal-plugin-manager-plugin-2.17.4.jar
To start the installation:
Because Jira needs to use the Java environment, it is necessary to install the JDK first, it is recommended to install the jdk1.6 version and the above version
My version is jdk1.6
The installation of the JDK is very simple, follow the prompts step-by-step walk on OK;
./jdk-6u13-linux-i586.bin
After the JDK is installed, you need to configure the Java environment variables, preferably added to/etc/profile. So that each login can be loaded into effect:
Vi/etc/profile
Export JAVA_HOME=/USR/JAVA/JDK1.6.0_32
Export Java_bin=/usr/java/jdk1.6.0_32/bin
Export path= $PATH: $JAVA _home/bin
Export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
Export Java_home java_bin PATH CLASSPATH
Exit the VI editor.
To make an environment variable effective:
Source/etc/profile
Check that the configuration is in effect:
Java-version
See if the output is correct
To this JDK installation is complete.
Next Install Jira:
TAR-ZXVF atlassian-jira-6.3.6.tar.gz
MV Atlassian-jira-6.3.6-standalone/jira
Next you need to set Jira's home directory # # #这步很重要, do not operate this step has no way to configure
Mkdir/opt/jira_home
Vi/opt/jira/atlassian-jira/web-inf/classes/jira-application.properties
Set up:
Jira.home =/opt/jira_home
Note here:
Firewall needs to open port 8080
If you do not apply port 8080, you can modify the port in the Server.xml file under the Conf file.
Because the Jira default does not work with MySQL database, if you want to use MySQL database need to copy the MySQL connection file to the relevant directory as follows:
CP Mysql-connector-java-5.1.25-bin.jar/opt/jira/atlassian-jira/web-inf/lib
Configure the database:Create databases Jira character set UTF8;
Next, you can configure Jira via the Web page:
http://xxxx:8080 the relevant settings can be
The configuration to this jira is basically complete
Next is the Chinese:
Using the administrator login into the Jira system, find Add-ons,upload, will jira-6.3.3-language-pack-zh_cn.jar Chinese package add to Chinese.
Next hack:
Log in as Administrator, click on the System panel, find authorization, need to record information:
Service ID and Sen code
Replace the Atlassian-extras-2.2.2.jar with the/opt/jira/atlassian-jira/web-inf/lib
Replace the Atlassian-universal-plugin-manager-plugin-2.17.4.jar with the/opt/jira/atlassian-jira/web-inf/ Atlassian-bundled-plugins
Then restart Jira
Paste the configured authorization file in:
Configure the authorization file as follows:
Description=jira Agile (formerly GreenHopper) for Jira\: commercial,
Numberofusers=-1,
CREATIONDATE=2014-08-01,
Evaluation=false,
GreenHopper. Licenseedition=enterprise,
licenseversion=2,
MAINTENANCEEXPIRYDATE=2099-01-01,
Organisation=xxxx,
Greenhopper.active=true,
Sen=sen-l4xxxx,
Serverid=xxxx-xxx-xxx-xxx,
LICENSEEXPIRYDATE=2099-01-01,
Licensetypename=commercial,
Purchasedate=2014-08-01
Description
Description=jira:commercial,
Creationdate= your installation date, format (YYYY-MM-DD),
Jira. Licenseedition=enterprise,
Evaluation=false,
Jira. Licensetypename=commercial,
Jira.active=true,
licenseversion=2,
Maintenanceexpirydate= you want to set the expiration date as: 2099-12-31,
Organisation=saper,
Sen= you apply to the Sen note there is no prefix lid,
Serverid= you applied to the ServerID,
Jira. Numberofusers=-1,
Licenseid=lid you apply to the Sen, note lid prefix do not throw away,
Licenseexpirydate= you want to set the expiration date as: 2099-12-31,
Purchasedate= your installation date, format (YYYY-MM-DD)
This article from "Nginx Installation Optimization" blog, declined reprint!
centos6.5 installation jira6.3.6 detailed documentation Chinese hack