CentOS 7.x Install Jira

From Notes_Wiki
Revision as of 09:33, 25 August 2022 by Saurabh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > CentOS > CentOS 7.x > Web Based Tools > Atlassian products > CentOS 7.x Install Jira

To install Jira on CentOS 7.x use following steps:

  1. 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
  2. Make the installer executable
    chmod a+x atlassian-jira-software-X.X.X-x64.bin
  3. Run the installer as root user:
    ./atlassian-jira-software-X.X.X-x64.bin
  4. 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
  5. Install & Configure database
    1. Install mariadb
      yum install -y mariadb-server
    2. Configure mariadb to start on system boot and also start it for current run:
      systemctl start mariadb
      systemctl enable mariadb
    3. Harden mariadb installation and configure mariadb root password:
      mysql_secure_installation
    4. Add below parameters in '/etc/my.cnf' file
      default-storage-engine=INNODB
      max_allowed_packet=256M
    5. 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
    6. Restart database so that configuration changes in /etc/my.cnf take effect
      systemctl resart mariadb
  6. Copy MySQL JDBC driver to application server
    1. 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
    2. unzip mysql-connector-java-5.x.x-bin.jar
    3. 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/
  7. Restart JIRA / JIRA service
    cd <JIRA installation directory>/bin/
    ./stop-jira.sh
    ./start-jira.sh
  8. Login to web url and complete setup. http://<ipaddress>:8080 or http://<fqdn>:8080

Refer https://confluence.atlassian.com/adminjiraserver071/installing-jira-applications-on-linux-802592173.html


Steps contributed by Pavan Ponamala


Home > CentOS > CentOS 7.x > Web Based Tools > Atlassian products > CentOS 7.x Install Jira