JIRA installation and deployment in CentOS 6.5

Source: Internet
Author: User

JIRA installation and deployment in CentOS 6.5

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.

Install and configure Jira and Confluence integration environments in CentOS 6.5

Installation and configuration of JIRA and Confluence in CentOS 5.3

Environment Introduction:

System: CentOS 6.5

JDK: jdk-7u60-ea-bin-b15-linux-x64-16_apr_2014.tar.gz

Mysql: mysql-5.5.33-linux2.6-x86_64.tar.gz

JIRA: atlassian-jira-6.0.3.tar.gz

1. Install JDK

1. Decompress JDK

[Root @ bkjia 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:

[Root @ bkjia bin] # cd/usr/bin/

[Root @ bkjia bin] # ln-s-f/usr/local/jdk1.7.0 _ 60/jre/bin/java

[Root @ bkjia bin] # ln-s-f/usr/local/jdk1.7.0 _ 60/bin/javac

3. Configure the JDK environment:

[Root @ bkjia bin] # vim/etc/profile

[Root @ bkjia bin] # tail-5/etc/profile

# Jdk

Export JAVA_HOME =/usr/local/jdk1.7.0 _ 60

Export JAVA_BIN =/usr/local/jdk1.7.0 _ 60/bin

Export PATH = $ PATH: $ JAVA_HOME/bin

Export CLASSPATH =.: $ JAVA_HOME/lib/dt. jar: $ JAVA_HOME/lib/tools. jar

4. Check whether the configuration is successful:

[Root @ bkjia bin] # java-version

Java version "1.7.0 _ 60-ea" # correct version

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:

[Root @ bkjia jira] # groupadd-g 306 mysql

[Root @ bkjia jira] # useradd-g mysql-u 306-r mysql

2. Create a data directory:

[Root @ bkjia jira] # mkdir-pv/mydata/data

3. Change Data Directory Permissions:

[Root @ bkjia jira] # chown-R mysql. mysql/mydata/data

4. Decompress Mysql

[Root @ bkjia jira] # tar-zxf mysql-5.5.33-linux2.6-x86_64.tar.gz-C/usr/local/

5. Create a link:

[Root @ bkjia local] # ln-sv mysql-5.5.33-linux2.6-x86_64/mysql

6. Change the owner group:

[Root @ bkjia local] # cd mysql

[Root @ bkjia mysql] # chown-R root: mysql ./*

7. initialize mysql

[Root @ bkjia mysql] # scripts/mysql_install_db -- user = mysql -- datadir =/mydata/data

8. Create a STARTUP script and assign permissions:

[Root @ bkjia mysql] # cp support-files/mysql. server/etc/rc. d/init. d/mysqld

[Root @ bkjia mysql] # chmod + x/etc/rc. d/init. d/mysqld

9. Create and modify the configuration file:

[Root @ bkjia mysql] # cp support-files/my-large.cnf/etc/my. cnf

[Root @ bkjia mysql] # vim/etc/my. cnf

Add the following line to specify the storage location of mysql data Files: datadir =/mydata/data

10. Change environment variables:

[Root @ bkjia mysql] # vim/etc/profile. d/mysql. sh

[Root @ bkjia mysql] # cat/etc/profile. d/mysql. sh

Export PATH =/usr/local/mysql/bin: $ PATH add this line

[Root @ bkjia mysql] #./etc/profile. d/mysql. sh

11. Start the mysql server:

[Root @ bkjia 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 jirasa @ '2017. 192.% 'identified by 'jira123 ';

Mysql> flush privileges;

4. install and configure the JIRA Server:

1. Decompress JIRA:

[Root @ bkjia jira] # tar-zxf atlassian-jira-6.0.3.tar.gz-C/usr/local/

[Root @ bkjia local] # mv atlassian-jira-6.0.3-standalone/jira

2. Create the JIRA installation directory:

[Root @ bkjia jira] # mkdir jira_home

[Root @ bkjia jira] # vim atlassian-jira/WEB-INF/classes/jira-application.properties

[Root @ bkjia jira] # cat atlassian-jira/WEB-INF/classes/jira-application.properties

Jira. home =/usr/local/jira/jira_home

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

[Root @ bkjia bin] # pwd

/Usr/local/jira/bin

[Root @ bkjia bin] # cp/root/jira/mysql-connector-java-5.0.3-bin.jar.

4. Start the JIRA Server:

[Root @ bkjia bin] # pwd

/Usr/local/jira/bin

[Root @ bkjia bin] #./startup. sh


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

[Root @ bkjia bin] # ss-tanlp

State Recv-Q Send-Q Local Address: Port Peer Address: Port

LISTEN 0 100 ::: 8080 ::: * users :( ("java", 4432,52 ))

LISTEN 0 128: 22: * users :( ("sshd", 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 ))

LISTEN 0 128: 1: 6010: * users :( ("sshd ))

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.

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • 3
  • Next Page

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.