JIRA installation and deployment

Source: Internet
Author: User

JIRA introduction:

JIRA: Professional defect tracking and project management software

JIRA is a project tracking management tool that helps teams create scheduled tasks, build and release excellent products. Thousands of teams around the world use Jira to capture, manage defects, assign tasks, and track team activities. JIRA works perfectly on both desktop PCs and mobile devices to help the team complete their work.

For more information, see http://www.unlimax.com/jira.htmland http://www.confluence.cn.

Environment Introduction:

System: centos6.5jdk: jdk-7u60-ea-bin-b15-linux-x64-16_apr_2014.tar.gzMysql: mysql-5.5.33-linux2.6-x86_64.tar.gzJIRA: atlassian-jira-6.0.3.tar.gz

1. Install JDK

1. Decompress JDK

[[email protected] jira]# tar -zxf jdk-7u60-ea-bin-b15-linux-x64-16_apr_2014.tar.gz -C /usr/local/

2. Create a soft connection and append the JDK to the bin:

[[email protected] bin]# cd /usr/bin/[[email protected] bin]# ln -s -f /usr/local/jdk1.7.0_60/jre/bin/java[[email protected] bin]# ln -s -f /usr/local/jdk1.7.0_60/bin/javac

3. Configure the JDK environment:

[[email protected] bin]# vim /etc/profile[[email protected] bin]# tail -5 /etc/profile#jdkexport JAVA_HOME=/usr/local/jdk1.7.0_60export JAVA_BIN=/usr/local/jdk1.7.0_60/binexport PATH=$PATH:$JAVA_HOME/binexport CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

4. Check whether the configuration is successful:

[[Email protected] bin] # Java-versionjava version "1.7.0 _ 60-ea" # correct Java (TM) se Runtime Environment (build 1.7.0 _ 60-ea-b15) Java hotspot (TM) 64-bit server VM (build 24.60-b09, mixed mode)

Ii. Install MYSQL:

1. Create a user:

[[email protected] jira]# groupadd -g 306 mysql[[email protected] jira]# useradd -g mysql -u 306 -r mysql

2. Create a data directory:

[[email protected] jira]# mkdir -pv /mydata/data

3. Change Data Directory Permissions:

[[email protected] jira]# chown -R mysql.mysql /mydata/data

4. Decompress MySQL

[[email protected] jira]# tar -zxf mysql-5.5.33-linux2.6-x86_64.tar.gz -C /usr/local/

5. Create a link:

[[email protected] local]# ln -sv mysql-5.5.33-linux2.6-x86_64/ mysql

6. Change the owner group:

[[email protected] local]# cd mysql[[email protected] mysql]# chown -R root:mysql ./*

7. initialize MySQL

[[email protected] mysql]# scripts/mysql_install_db --user=mysql --datadir=/mydata/data

8. Create a STARTUP script and assign permissions:

[[email protected] mysql]# cp support-files/mysql.server /etc/rc.d/init.d/mysqld[[email protected] mysql]# chmod +x /etc/rc.d/init.d/mysqld

9. Create and modify the configuration file:

[[Email protected] MySQL] # cp support-files/my-large.cnf/etc/My. CNF [[email protected] MySQL] # Vim/etc/My. add the following lines to CNF to specify the location where MySQL data files are stored: datadir =/mydata/Data

10. Change environment variables:

[[Email protected] MySQL] # Vim/etc/profile. d/MySQL. sh [[email protected] MySQL] # Cat/etc/profile. d/MySQL. shexport Path =/usr/local/MySQL/bin: $ PATH add this line [[email protected] MySQL] #. /etc/profile. d/MySQL. sh

11. Start the MySQL server:

[[email protected] mysql]# service mysqld start

3. Configure the MySQL database:

Create a database:

mysql> CREATE DATABASE jira  DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

Grant the permission to connect to the secondary database:

mysql>  grant all privileges on jira.* to [email protected]‘192.168.100.%‘ identified by ‘jira123‘;mysql> flush privileges;

4. install and configure the Jira Server:

1. Decompress Jira:

[[email protected] jira]# tar -zxf atlassian-jira-6.0.3.tar.gz -C /usr/local/[[email protected] local]# mv atlassian-jira-6.0.3-standalone/ jira

2. Create the Jira installation directory:

[[email protected] jira]# mkdir jira_home[[email protected] jira]# vim atlassian-jira/WEB-INF/classes/jira-application.properties [[email protected] jira]# cat atlassian-jira/WEB-INF/classes/jira-application.propertiesjira.home = /usr/local/jira/jira_home

3. It is understood that Jira does not support MySQL, so you need to add the MySQL Module

[[email protected] bin]# pwd/usr/local/jira/bin[[email protected] bin]# cp /root/jira/mysql-connector-java-5.0.3-bin.jar .

4. Start the Jira Server:

[[email protected] bin]# pwd/usr/local/jira/bin[[email protected] bin]# ./startup.sh

5. view port: port 8080 is bound by default.

[[email protected] bin]# ss -tanlpState       Recv-Q Send-Q                        Local Address:Port                          Peer Address:Port LISTEN      0      100                                      :::8080                                    :::*      users:(("java",4432,52))LISTEN      0      128                                      :::22                                      :::*      users:(("sshd",1100,4))LISTEN      0      128                                       *:22                                       *:*      users:(("sshd",1100,3))LISTEN      0      100                                     ::1:25                                      :::*      users:(("master",1176,13))LISTEN      0      100                               127.0.0.1:25                                       *:*      users:(("master",1176,12))LISTEN      0      128                               127.0.0.1:6010                                     *:*      users:(("sshd",1215,8))LISTEN      0      128                                     ::1:6010                                    :::*      users:(("sshd",1215,7))LISTEN      0      128                               127.0.0.1:6011                                     *:*      users:(("sshd",1259,8))LISTEN      0      128                                     ::1:6011                                    :::*      users:(("sshd",1259,7))LISTEN      0      50                                        *:3306                                     *:*      users:(("mysqld",3912,11))

6. Install Jira

In the browser, enter the IP address and port 8080 to access Jira.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/45/CA/wKiom1PrREDxlCjIAAIkpccGZEk679.jpg "Title =" 113.jpg" alt = "wkiom1prredxlcjiaaikpccgzek679.jpg"/>

7. Select connection and set MySQL connection

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/45/CB/wKioL1PrRciwwZDjAAI_DbpnWm0161.jpg "Title =" 115.jpg" alt = "wkiol1prrciwwzdjaai_dbpnwm0161.jpg"/>

8. Test the connection

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/45/CB/wKioL1PrRiWihKdkAACjI6kaBN8321.jpg "Title =" 116.jpg" alt = "wkiol1prriwihkdkaacji6kabn8321.jpg"/>

9. Enter personal information

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/CB/wKioL1PrRozDVlbWAAJbcXQwQCw206.jpg "Title =" qq 40813114234.jpg "alt =" wkiol1prrozdvlbwaajbcxqwqcw206.jpg "/> 10. Commercial Version, enter the authorization key

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/CB/wKioL1PrRvHS9Xs5AAJxrvS3jNk673.jpg "Title =" 23.jpg" alt = "wkiol1prrvhs9xs5aajxrvs3jnk673.jpg"/>

11. Create a Super User who manages Jira

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/45/CA/wKiom1PrRijgsv6kAAEUFoO2zwU178.jpg "Title =" 120.jpg" alt = "wkiom1prrijgsv6kaaeufoo2zwu178.jpg"/>

12. Set email notification

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/CA/wKiom1PrRnSR28WsAAGKETErgLU539.jpg "Title =" 121.jpg" alt = "wkiom1prrnsr28wsaagketerglu539.jpg"/>

13. The setting is successful. log on to the Jira page.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/CA/wKiom1PrR_DTFHHDAAJNjHxx-hs686.jpg "Title =" 211.jpg" alt = "wKiom1PrR_DTFHHDAAJNjHxx-hs686.jpg"/>

14. Add plug-ins --> Add Chinese plug-ins

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/CA/wKiom1PrSICDkupLAANb8-N6d9c462.jpg "Title =" 212.png" alt = "wKiom1PrSICDkupLAANb8-N6d9c462.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/CA/wKiom1PrSLGyfrnzAAI7MntBKPk005.jpg "style =" float: none; "Title =" 24.jpg" alt = "wkiom1prslgyfrnzaai7mntbkpk005.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/45/CA/wKiom1PrSLHw1MqFAACunIJVUDA009.jpg "style =" float: none; "Title =" 25.jpg" alt = "wkiom1prslhw1mqfaacunijvuda009.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/CC/wKioL1PrScrSdKheAACyejJy3Ks396.jpg "style =" float: none; "Title =" 26.jpg" alt = "wkiol1prscrsdkheaacyejjy3ks396.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/45/CA/wKiom1PrSLHCzexwAAEfPfh0_G4326.jpg "style =" float: none; "Title =" 27.jpg" alt = "wkiom1prslhczexwaaefpfh0_g4326.jpg"/>

15. After adding, refresh the page or clear the cache to refresh the page

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/45/CC/wKioL1PrSn_wm_0dAAKHqXPUABs062.jpg "Title =" 231.jpg" alt = "wkiol1prsn_wm_0daakhqxpuabs062.jpg"/>


So far, the installation and deployment of Jira have been completed. In fact, it is very simple. Later maintenance work and secondary development are the key points. More communication. Thank you.




This article from the "starting point dream" blog, please be sure to keep this source http://pangge.blog.51cto.com/6013757/1539622

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.