Preface:
JIRA is an excellent problem-tracking management software tool developed by the Australian Atlassian Company to track and manage various types of issues, including defects, tasks, requirements, improvements, and more. Jira uses the Java EE technology to deploy across platforms. It is being used by a wide range of open source software organizations, as well as world-renowned companies.
Jira products are very complete and powerful, simple installation, multi-lingual support, very friendly interface, and other systems such as CVS, Subversion (SVN), VSS, LDAP, mail service integration is very good, complete documentation, usability and scalability are excellent, Have complete user Rights management.
Environment: Jira software, 192.xx8.171.xx0;jira database, 192.xx8.171.xx2.
1, download
Official website: https://www.atlassian.com/software/jira/download, only see the installation version under Window, this time need to click? All JIRA download Options option, open the Linux download page bar option, select JIRA 6.3.6 (TAR. GZ Archive) for download. wget http://www.atlassian.com/software/jira/downloads/binary/ Atlassian-jira-6.3.6.tar.gz, but under relatively slow, you can go to my Baidu Cloud network disk address Http://pan.baidu.com/s/1eQgTYKE download.
2, installation2.1, installationJDKEnvironment
Installing the Tomcat environment under Linux, refer to: http://blog.csdn.net/mchdba/article/details/23769731
Installing the JDK environment under Linux, refer to: http://blog.csdn.net/mchdba/article/details/38768513
2.2, create a directory
Mkdir–p/home/jira
Mv/root/atlassian-jira-6.3.6.tar.gz./
2.3, unzip the installation
TAR-XVF atlassian-jira-6.3.6.tar.gz
CD Atlassian-jira-6.3.6-standalone
Because 8080 port has been occupied, so start Jira error, find Server.xml, need to change the default 8080 port to 8081, probably in the 49th line of the file attachment, modify the method as follows:
# let's see . 8081 whether the port is occupied
[Email protected] conf]# lsof-i:8081
[Email protected] conf]#
[Email protected] conf]# Vim/home/jira/atlassian-jira-6.3.6-standalone/conf/server.xml
#<connector port= "8080",
<connector port= "8081"
[Email protected] conf]# more server.xml |grep 8080
[Email protected] conf]# more Server.xml |grep 8081
<connector port= "8081"
[Email protected] conf]#
Configuration Jira_home
Vim/home/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/web-inf/classes/jira-application.properties
Jira.home =/home/jira_home
2.4, startJira
[Email protected] bin]#/home/jira/atlassian-jira-6.3.6-standalone/bin/start-jira.sh
To run JIRA in the foreground, start the server with START-JIRA.SH-FG
......
Server startup logs is located in/home/jira/atlassian-jira-6.3.6-standalone/logs/catalina.out
Using catalina_base:/home/jira/atlassian-jira-6.3.6-standalone
Using Catalina_home:/home/jira/atlassian-jira-6.3.6-standalone
Using Catalina_tmpdir:/home/jira/atlassian-jira-6.3.6-standalone/temp
Using Jre_home:/usr/lib/jvm/jdk1.6.0_35/jre
Using CLASSPATH:/home/jira/atlassian-jira-6.3.6-standalone/bin/bootstrap.jar:/home/jira/ Atlassian-jira-6.3.6-standalone/bin/tomcat-juli.jar
Using Catalina_pid:/home/jira/atlassian-jira-6.3.6-standalone/work/catalina.pid
Tomcat started.
[Email protected] bin]#
See that the Tomcat container where Jira is already started successfully.
Open URL http://192.xx8.171.xxx:8081/, background tomcat log error is as follows:
2014-9-17 18:46:02 Org.apache.catalina.core.StandardServer await
Severity: standardserver.await:create[localhost:8005]:
Java.net.BindException:Address already in use
At Java.net.PlainSocketImpl.socketBind (Native Method)
At Java.net.PlainSocketImpl.bind (plainsocketimpl.java:383)
At Java.net.ServerSocket.bind (serversocket.java:328)
At Java.net.serversocket.<init> (serversocket.java:194)
At Org.apache.catalina.core.StandardServer.await (standardserver.java:427)
At Org.apache.catalina.startup.Catalina.await (catalina.java:777)
At Org.apache.catalina.startup.Catalina.start (catalina.java:723)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:39)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:25)
At Java.lang.reflect.Method.invoke (method.java:597)
At Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:321)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:455)
2014-9-17 18:46:02 Org.apache.coyote.AbstractProtocol Pause
The page error message is as follows:
JIRA Startup Failed
Configured Jira.home '/home/jira/atlassian-jira-6.3.6-standalone ' must not being a parent directory of the WebApp servlet Pat H '/home/jira/atlassian-jira-6.3.6-standalone/atlassian-jira '
*************************************************************************************************************** ************************************************************************
Configured Jira.home '/home/jira/atlassian-jira-6.3.6-standalone ' must not being a parent directory of the WebApp servlet Pat H '/home/jira/atlassian-jira-6.3.6-standalone/atlassian-jira '
set it up again . Jira.home , set to not present in this Jira Install the Software directory, and then restart Jira Service, open Jira URLs, OK , you can see the following page:
3, Chinese
Chinese package for: http://download.csdn.net/detail/mchdba/7941381, the Jira-language-std-cn.jar Chinese package copy to the Linux Jira installation directory, When booting, note that the JDK version is jdk1.6 series,/home/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/web-inf/lib below, then restart the Jira service
/home/jira/atlassian-jira-6.3.6-standalone/bin/shutdown.sh
/home/jira/atlassian-jira-6.3.6-standalone/bin/start-jira.sh
open it again . Http://192.168.171.230:8081/secure/SetupDatabase!default.jspa , you will see the following Chinese interface:
4,jira Configuration
First establish the Jira database and the account password:
mysql> CREATE DATABASE ' jira636 '/*!40100 DEFAULT CHARACTER SET utf8*/;
Query OK, 1 row affected (0.13 sec)
Mysql> GRANT all on jira636.* to [e-mail protected] '% ' identified by ' jira_user0919 ';
Query OK, 0 rows affected (0.38 sec)
Mysql>
Configure the database connection information in the interface and click on the "Next" button as shown in:
If you get an error, you cannot find the class: Com.mysql.jdbc.Driver
need to be JDBC Driver Package Mysql-connector-java-5.1.25-bin.jar copied to /home/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/web-inf/lib directory, and then restart, there are error messages as follows:
JIRA Startup Failed
Org.ofbiz.core.entity.GenericDataSourceException:SQL Exception while executing the following:select Pluginkey, Pluginenabled from Pluginstate (Table ' jira636.pluginstate ' doesn ' t exist)
Workaround: Remove the database configuration file Dbconfig.xml, and then restart Jira, reconfigure
PS: The error after the Han, because the Chinese version of the problem, will be Jira-language-std-cn.jar Chinese package for Jira-6.3.3-language-pack-zh_cn.jar new Chinese package for:
http://download.csdn.net/download/mchdba/7943421, Configure DB First, as shown in:
After configuring the database, enter the program title in the new interface and click the "Back" button
Enter a temporary authorization code to register:
After registering, fill in the Administrator account and password
After configuring the mail server, click the "Finish" button, as shown below,
After that, the Jira installation is formally completed, and the following automatically jumps to the Jira administration page as follows:
5, crack authorization
Click the Gear Shape management icon in the top right corner, select "System", then "authorize" to see the use date is not 1 months, as shown below:
Replace the Atlassian-extras-2.2.2.jar in the attachment with the jar package \atlassian-jira\web-inf\lib with the same name as your Jira installation directory, cracking the package as: http://download.csdn.net/ detail/mchdba/7950429.
Fill in the authorization code, the authorization code parameter example is as follows:
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=joiandjoin,
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 installation authorization Code instance is:
Description=jira:commercial,
CREATIONDATE=2014-09-20,
Jira. Licenseedition=enterprise,
Evaluation=false,
Jira. Licensetypename=commercial,
Jira.active=true,
licenseversion=2,
MAINTENANCEEXPIRYDATE=2099-12-31,
ORGANISATION=PL,
sen=sen-l4572887,
SERVERID=BPT3-4QRK-FCRR-HEP3,
Jira. Numberofusers=-1,
Licenseid=aaabbw0odaopenptkftlxdaqhd/zkwi+r9kwy66fpkxthghvtf0p4kuso0a6suwvup/edissyj4md
Hpofhoyqzu0ticweojy4a+fzzknwpik7q1icf2ntu3tl5p3ot89+1snphnmpcebwqkjtq9y9jn+w
Zxbpi2a68jw4dpqr/a0rzjs5vmuc0xobnnjah/s5bgfxbxabmkcqzzqu2jrtd3bezafzve+anyzr
Jdywnedm64g9d1apj4texxolok7cbzbjrbngkygwwtg+rbvjpbkhikar0adytt0xzfv7r5y+qqzv
Kwziovk5fqswq03yrvdkn/ekz3s4sxlcprswprddpd/at+p1nzdmc0cfqcm9+0llhvnnzqnstwur
O3EK+2GVGIUCTETS4Q3KHIGRNSY64HXYB/D8BM=X02DH,
LICENSEEXPIRYDATE=2099-12-31,
Purchasedate=2014-09-20
Fill in the Authorization Code input box with the above authorization code information and click the "Add" button as follows:
After you see the authorization information updated, it means that the success of the decryption, you will see the following success information, such as:
6, recover Data
Enter the authorization code:
Aaabbw0odaopenptkftlxdaqhd/zkwi+r9kwy66fpkxthghvtf0p4kuso0a6suwvup/edissyj4md
Hpofhoyqzu0ticweojy4a+fzzknwpik7q1icf2ntu3tl5p3ot89+1snphnmpcebwqkjtq9y9jn+w
Zxbpi2a68jw4dpqr/a0rzjs5vmuc0xobnnjah/s5bgfxbxabmkcqzzqu2jrtd3bezafzve+anyzr
Jdywnedm64g9d1apj4texxolok7cbzbjrbngkygwwtg+rbvjpbkhikar0adytt0xzfv7r5y+qqzv
Kwziovk5fqswq03yrvdkn/ekz3s4sxlcprswprddpd/at+p1nzdmc0cfqcm9+0llhvnnzqnstwur
O3ek+2gvgiuctets4q3khigrnsy64hxyb/d8bm=x02dh
Click Restore to start recovering the data as follows:
Linux 24M jira data file import soon, 4 minutes to complete the import, as follows:
If you import an error:
An error occurred while parsing the file. Your import file is not correct. It may be because the file contains an older version of CDATA (http://jira.atlassian.com/browse/JRA-4980). Exception error org.xml.sax.SAXParseException; linenumber:168270; columnnumber:16; XML document structures must start and end within the same entity.
Workaround: Select the Disable button without selecting the Enable button, as shown below:
Sincerely, Jira latest Linux version 6.3.6 installation hack and data migration, successfully completed.
Reference Document: Http://www.linuxidc.com/Linux/2014-08/105586p3.htm
[JIRA] Latest Linux version jira6.3.6 install Chinese hack and data migration