How to Install Jira Project Management Software on Ubuntu 18.04
******Please Subscribe to my channel for the next video******
Install the Java JDK package.
apt-get update
apt-get install default-jdk
update-alternatives --config java
Let’s create a file to automate the required environment variables configuration
vi /etc/profile.d/java.sh
Here is the java.sh file content.
#/bin/bash
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
Reboot the computer.
Use the following command to verify if the JAVA_HOME variable was created.
env | grep JAVA_HOME
JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
Use the following command to test the Java installation.
java -version
MySQL Installation
Install the MySQL database service.
apt-get install mysql-server mysql-client
Download the MySQL Java connector.
mkdir /downloads/mysql -p
cd /downloads/mysql
wget https://cdn.mysql.com//Downloads/Conn...
tar -zxvf mysql-connector-java-5.1.48.tar.gz
Edit the mysqld.cnf configuration file.
vi /etc/mysql/mysql.conf.d/mysqld.cnf
[mysqld]
default-storage-engine=INNODB
innodb_default_row_format=DYNAMIC
innodb_large_prefix=ON
innodb_file_format=Barracuda
innodb_log_file_size=2G
character_set_server=utf8mb4
collation-server=utf8mb4_bin
max_allowed_packet=256M
transaction-isolation=READ-COMMITTED
binlog_format=row
Restart the MySQL service.
service mysql restart
mysql -u root -p
Create a database named jira.
CREATE DATABASE jira CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
Create a database user account named jira.
CREATE USER 'jira'@'%' IDENTIFIED BY 'technical@$#23';
GRANT ALL PRIVILEGES ON jira.* TO 'jira'@'%';
quit;
Installation on Ubuntu
Download the Jira installation package from the official website.
mkdir /downloads/jira -p
cd /downloads/jira
wget https://product-downloads.atlassian.c...
Extract and install the Jira software.
cd /downloads/jira
tar -zxvf atlassian-jira-core-8.5.0.tar.gz -C /opt
ln -s /opt/atlassian-jira-core-8.5.0-standalone /opt/jira
mkdir /opt/jira-home
cp /downloads/mysql/mysql-connector-java-5.1.48/mysql-connector-java-5.1.48.jar /opt/jira/lib/
Set the proper file permission.
chmod 700 /opt/jira -R
chmod 700 /opt/jira-home -R
You need to create an environment variable named JIRA_HOME.
vi /etc/profile.d/jira.sh
#/bin/bash
export JIRA_HOME=/opt/jira-home
Reboot the computer.
reboot
Start the Jira server.
Jira may take a long time to start.
/opt/jira/bin/start-jira.sh
In my example, the Jira service is running on port 8080.
tail -f /opt/jira-home/log/atlassian-jira.log
Open your browser and enter the IP address of your web server plus :8080
In our example, the following URL was entered in the Browser:
• http://192.168.21.98:8080
Enter the Database information for Jira database.
• Database Type: MySQl 5.7+
• Hostname: localhost
• Port: 3306
• Database: jira
• Username: jira
• Password: technical@$#23
After a successful test, click on the Next button
add your project
Thank you for watching my video if my video any help to you please like , comment, and subscribe to my channel for the next video.
Thank you once again...
-like -comment -share -subscribe
***********************Subscribe Please**************************