Jira Environment:
System: CentOS 6.7
Jira version: 6.3.6
Other environment: jdk1.6, MariaDB10.0.21
First, configure the Yum source and upgrade the system to the latest
1), install Epel source
#yum-y install epel-release#yum-y upgrade && yum-y Update
2), Running one_key.sh
Second, JDK environment deployment
Refer to "install_java.sh", note jira6.3.6 need at least JDK1.6
Third, create a database
Reference to "install_mariadb.sh"
Mysql> CREATE DATABASE Jira default Character set utf8;mysql> grant all privileges on jira.* to Jira @ ' localhost ' ID Entified by ' 123456 ';mysql> flush privileges;
IV. JIRA Installation
1, download and unzip the Jira file and Chinese
1), upload the installation package
#cd/tmp#wget Http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-6.3.6.tar.gz#tar ZXF atlassian-jira-6.3.6.tar.gz# MV Atlassian-jira-6.3.6-standalone/usr/local/jira
2), File authorization
# Chown-r root.root/usr/local/jira/
2. Configuring the Jira File
1), create Jira installation directory
#mkdir-P/data/jira # #此目录为jira安装目录
2), Configuration Jira.home
#cd/usr/local/jira#vi atlassian-jira/web-inf/classes/jira-application.properties
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/87/D9/wKiom1fjM9uRDMMGAABR_xbnbqM814.png-wh_500x0-wm_3 -wmp_4-s_729113814.png "title=" Set Home "alt=" Wkiom1fjm9urdmmgaabr_xbnbqm814.png-wh_50 "/>
3), install the MySQL JDBC driver
Upload the Mysql-connector-java-5.1.26-bin.jar package to the/usr/local/jira/atlassian-jira/web-inf/lib directory
Five, start off Jira
#cd/usr/local/jira/bin
Start command:
#./start-jira.sh
Close command:
#./stop-jira.sh
VI. Web installation and Configuration
1. Installation Configuration
Visit http://ip:8080
Start configuration Database
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/87/D5/wKioL1fjNczzjy7EAAF931Q4li0948.png-wh_500x0-wm_3 -wmp_4-s_835748825.png "title=" configuration Database "alt=" Wkiol1fjnczzjy7eaaf931q4li0948.png-wh_50 "/>
After the test connection is complete, click Next to start the configuration:
Choose Private Management Mode
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/87/D9/wKiom1fjNhGy7HlXAACni_fRLjU478.png-wh_500x0-wm_3 -wmp_4-s_1263263381.png "title=" private Mode "alt=" Wkiom1fjnhgy7hlxaacni_frlju478.png-wh_50 "/>
Select Software Development version:
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/87/D9/wKiom1fjNljQC_l7AAF_cVnfqzw442.png-wh_500x0-wm_3 -wmp_4-s_1361621875.png "title=" Software development version "alt=" Wkiom1fjnljqc_l7aaf_cvnfqzw442.png-wh_50 "/>
Register to get key, register an account on the website:
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/87/D9/wKiom1fjNwuz4_ucAAEXBAg2gpQ457.png-wh_500x0-wm_3 -wmp_4-s_2608870135.png "title=" Get Key "alt=" Wkiom1fjnwuz4_ucaaexbag2gpq457.png-wh_50 "/>
Wait a minute and you'll get License, You can pass My Account View Your Authorization code (this is the following step):
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/87/D5/wKioL1fjOKaQDeANAAETD9Lmn_g998.png-wh_500x0-wm_3 -wmp_4-s_2184574456.png "title=" View Key "alt=" Wkiol1fjokaqdeanaaetd9lmn_g998.png-wh_50 "/>
Start configuring the Administrator password
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/87/D5/wKioL1fjOS6imjMXAAB9SE_irmg400.png-wh_500x0-wm_3 -wmp_4-s_2773604874.png "title=" Configuration Password "alt=" Wkiol1fjos6imjmxaab9se_irmg400.png-wh_50 "/>
Message sent later configured:
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/87/D9/wKiom1fjOWDh733tAACZkXmjAhw100.png-wh_500x0-wm_3 -wmp_4-s_1587385280.png "title=" configuration Message "alt=" Wkiom1fjowdh733taaczkxmjahw100.png-wh_50 "/>
Installation Complete:
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/87/D5/wKioL1fjOYSyAdI-AAJxzKrGNYk833.png-wh_500x0-wm_3 -wmp_4-s_3121827792.png "title=" Installation Complete "alt=" Wkiol1fjoysyadi-aajxzkrgnyk833.png-wh_50 "/>
2. Chinese
After the Jira installation deployment is complete, after restarting, the administrator logs in, finds the plugin (add on), manages the plugin (manage Add on) Upload, selects the language pack Jira-6.3.3-language-pack-zh_ Cn.jar, observe if there is an error, if the error, restart Jira, re-upload the Chinese file, after the installation of the Chinese plug-in successfully, find Jira system configuration, select the Chinese language.
650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M01/87/DA/wKiom1fjQaTjr6P5AAB7tNZSnjI027.png "title=" Upload plugin " alt= "Wkiom1fjqatjr6p5aab7tnzsnji027.png"/>
3, crack
1). Close Jira
#cd/usr/local/jira/bin#./stop-jira.sh
2), replace the file
Replace/atlassian-jira/web-inf/lib/atlassian-extras-2.2.2.jar
Replace/atlassian-jira/web-inf/atlassian-bundled-plugins/atlassian-universal-plugin-manager-plugin-2.17.13.jar
3), update the authorization file
(1), Start Jira
#cd/usr/local/jira/bin#./stop-jira.sh
(2), edit key file
Click "System"--authorization
Key Description:
Description=jira Agile (formerly GreenHopper) for Jira\: commercial,
Numberofusers=-1,
Creationdate= your installation date, format (YYYY-MM-DD),
Evaluation=false,
GreenHopper. Licenseedition=enterprise,
licenseversion=2,
Maintenanceexpirydate= you want to set the expiration date as: 2099-12-31,
Organisation= your company's organization name,
Greenhopper.active=true,
Sen= The sen you applied to,
Serverid= you applied to the ServerID,
Licenseexpirydate= you want to set the expiration date as: 2099-12-31,
Licensetypename=commercial,
Purchasedate your installation date, format (YYYY-MM-DD)
For example (please do not copy the following Licenseid directly, please use the key you obtained):
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/87/D9/wKiom1fjO1KzaHHIAAETD9Lmn_g939.png-wh_500x0-wm_3 -wmp_4-s_1108654563.png "title=" Use this Licenseid "alt=" wkiom1fjo1kzahhiaaetd9lmn_g939.png-wh_50 "/>"
Description=jira:commercial,
CREATIONDATE=2016-05-10,
Jira. Licenseedition=enterprise,
Evaluation=false,
Jira. Licensetypename=commercial,
Jira.active=true,
licenseversion=2,
maintenanceexpirydate=2099-12-31,
ORGANISATION=PL,
sen=sen-l7841388,
Serverid=b48s-5omt-5ul3-w2ys,
Jira. Numberofusers=-1, licenseid=aaabdg0odaopenp9uutvgkaqvu+v2ksx9gabhy012aqwoncagse2txpzybtb4ejmf1v/ fvfo1ppi9razu/o95iyqji34hlqptgmp7n6gz1hxs2jhsu/jeghkz1gwggyoupak/exouujmjxj/opkgsu9g1wooof7mfkbihk2+ bhlzpdupmp3kcjyugw3hdatv2bzpgznncso+auaoo8ifusew/hvyf0qbm4o5+ jjelatmqfyjlnkgkk2ehkdk1ulmyplxzc20wjeyca0yeoy558rgfxwlrn8wdo23znvccc2xykpum9vcumvcf3mes0ywa2aak2i+xfz/ jqvzzmqduopkmr1g6iqakzbbntpxghixpzlcb6dndx2h1au7alybjtvhdcgwpfdaxrjkuije+fvzvnpdad5werdh1/i/ wpb9tza2newcbqk1zyxrqdzld1skotxxvattiy1bmfs2wdxdx4duyrv1l5zxluzd8so5pwzt/wkabqt/mcwcfdea9crurue8wn+ Nynxpzk4ytvgsahrng+dgvod6rfpfru6iopocm7j1ta==x02ia,
licenseexpirydate=2099-12-31,
purchasedate=2016-05-10
Update the example content
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/87/D6/wKioL1fjOkqw1uRYAAA74EmPdB0605.png-wh_500x0-wm_3 -wmp_4-s_1147101565.png "title=" Update Key "alt=" Wkiol1fjokqw1uryaaa74empdb0605.png-wh_50 "/>
after the increase, if the expiry time is displayed as you set the expiration date as: 2099-12-31 , it means cracked done.
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/87/D6/wKioL1fjOqDwRISpAACap8YT9CU674.png-wh_500x0-wm_3 -wmp_4-s_2289109505.png "title=" hack Complete "alt=" Wkiol1fjoqdwrispaacap8yt9cu674.png-wh_50 "/>
VII, view configuration and exclusions
1. View Database configuration information
#vi/data/$jira _home/dbconfig.xml
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/87/D9/wKiom1fjO6DALuDoAAEPRXEKK3A788.png-wh_500x0-wm_3 -wmp_4-s_177355845.png "title=" View Database Configuration "alt=" Wkiom1fjo6daludoaaeprxekk3a788.png-wh_50 "/>
2. Log View
#cd/usr/local/jira/logs#tailf Catalina.out
3. Modify the application listening port
# netstat-anlp|grep 8080
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/87/D6/wKioL1fjO7zAxnaTAADKBTpRnOo471.png-wh_500x0-wm_3 -wmp_4-s_1237951744.png "title=" Modify port "alt=" Wkiol1fjo7zaxnataadkbtprnoo471.png-wh_50 "/>
Eighth, data backup and migration
Jira Backup (Attachment manual Backup):
Method 1: Manually Back up
Login jira, admin panel jira Click "Backup Data as XML"
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/87/D6/wKioL1fjPnTzd9kBAACCw4S6VNU135.png-wh_500x0-wm_3 -wmp_4-s_129526061.png "title=" Backup "alt=" Wkiol1fjpntzd9kbaaccw4s6vnu135.png-wh_50 "/>
Method 2: Automatic backup
Manage-to-service-->backup services (3 backups per day)
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/87/D6/wKioL1fjPoXCLXszAAA-6nT_VRI656.png-wh_500x0-wm_3 -wmp_4-s_3302466892.png "title=" Automatic Backup "alt=" Wkiol1fjpoxclxszaaa-6nt_vri656.png-wh_50 "/>
Note: The backup file is stored in the/data/jira/export directory, the file name is Jira custom name, and the latest file is selected when recovering!!!
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/87/DA/wKiom1fjPwGTRTyoAABizi-I76c231.png "title=" backed up Files " alt= "Wkiom1fjpwgtrtyoaabizi-i76c231.png"/>
Backup attachments:
Package/data/jira/data/attachments directory All files:
# 7za a 0920.7z attachments/*
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/87/DA/wKiom1fjPsWDYx_xAABhofyiAec961.png " title= "Pack" alt= "Wkiom1fjpswdyx_xaabhofyiaec961.png"/>
Jira Recovery:
First, recover data files
Upload the backup file to the new server under the specified directory, and then perform the recovery on the Web side:
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/87/D6/wKioL1fjP0yhzmU_AAELo3Y8FN8234.png-wh_ 500x0-wm_3-wmp_4-s_2629083796.png "title=" Restore Backup "alt=" wkiol1fjp0yhzmu_aaelo3y8fn8234.png-wh_50 "/>
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/87/D6/wKioL1fjP2nBfIZJAABj8zfegNQ494.png-wh_500x0-wm_3 -wmp_4-s_3240234148.png "title=" is recovering "style=" Float:none; alt= "Wkiol1fjp2nbfizjaabj8zfegnq494.png-wh_50"/>
Second, annex Recovery:
Upload attachments to the new server attachment storage directory
Unzip the attachment to overwrite the original file:
# 7za x 0920.7z
After decompression may have changes in permissions, modify permissions:
# chmod 751 Attachments
650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M01/87/D6/wKioL1fjP7zCJVYwAAA-1u0RV3g757.png "title=" Upload Attachment " alt= "Wkiol1fjp7zcjvywaaa-1u0rv3g757.png"/>
Validation results:
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/87/D6/wKioL1fjQEuTP4AIAAAmatkAjBw772.png-wh_500x0-wm_3 -wmp_4-s_3472632621.png "title=" verify "alt=" Wkiol1fjqeutp4aiaaamatkajbw772.png-wh_50 "/>
This article is from the "Little Mo Growth Road" blog, please be sure to keep this source http://309173854.blog.51cto.com/7370240/1855295
[JIRA] Linux version jira6.3.6 installation Chinese hack and data migration