CentOS 7.x Install Jira
From Notes_Wiki
<yambe:breadcrumb>CentOS 7.x Atlassian products</yambe:breadcrumb>
CentOS 7.x Install Jira
To install Jira on CentOS 7.x use following steps:
- Download the installer for your operating system – https://www.atlassian.com/software/jira/download. For example:
- wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.3.0-x64.bin
- Make the installer executable
- chmod a+x atlassian-jira-software-X.X.X-x64.bin
- Run the installer as root user:
- ./atlassian-jira-software-X.X.X-x64.bin
- Enter appropriate values for installation during installation prompts. After successful installation Jira login URL is displayed. Jira listens on all (0.0.0.0/0) interfaces by default. Hence Jira can be accessed by appropriate DNS name, if any, is assigned to the machine
- Install & Configure database
- Install mariadb
- yum install -y mariadb-server
- Configure mariadb to start on system boot and also start it for current run:
- systemctl start mariadb
- systemctl enable mariadb
- Harden mariadb installation and configure mariadb root password:
- mysql_secure_installation
- Add below parameters in '/etc/my.cnf' file
- default-storage-engine=INNODB
- max_allowed_packet=256M
- Create database and give permissions
- mysql -u root -p
- CREATE DATABASE jiradb CHARACTER SET utf8 COLLATE utf8_bin;
- grant all privileges on jiradb.* to 'jira'@'%' identified by '<secret>';
- flush privileges;
- exit
- Restart database so that configuration changes in /etc/my.cnf take effect
- systemctl resart mariadb
- Install mariadb
- Copy MySQL JDBC driver to application server
- Download JDBC driver form http://dev.mysql.com/downloads/connector/j/
- Example driver URL is http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.40.zip
- unzip mysql-connector-java-5.x.x-bin.jar
- Copy or move the MySQL JDBC driver jar to the <JIRA installation directory>/lib/ directory
- mv mysql-connector-java-5.1.40-bin.jar /opt/atlassian/jira/lib/
- Download JDBC driver form http://dev.mysql.com/downloads/connector/j/
- Restart JIRA / JIRA service
- cd <JIRA installation directory>/bin/
- ./stop-jira.sh
- ./start-jira.sh
- Login to web url and complete setup. http://<ipaddress>:8080 or http://<fqdn>:8080
Steps contributed by Pavan Ponamala
<yambe:breadcrumb>CentOS 7.x Atlassian products</yambe:breadcrumb>