Continuing from the confluence of team collaboration software
Department jira
1) Download the software package
wget https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-8.4.1.tar.gz
You can also download and install the binary package directly , the same as confluence; here is another installation method that is different from confluence
wget https://product-downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-8.4.1-x64.bin
For packaged software, see Baidu Cloud Disk
链接:https://pan.baidu.com/s/1iFLz30Cc41xRf9fyQBdVxg
提取码:tw7w
2) A dress jira
cd /opt
tar -xf atlassian-jira-software-8.4.1.tar.gz
mv atlassian-jira-software-8.4.1 atlassian-jira-software
3) Create user jira and set the password to "123456"
useradd --create-home --comment "Account for running JIRA Software" --shell /bin/bash jira
echo "123456" | passwd --stdin jira
4) Set the jira directory to only allow jira users to access
chown -R jira.jira /opt/atlassian-jira-software
5) Create a jira home directory for storage of files such as log, search index, etc., and restrict access to only jira users
mkdir /home/jira/jirasoftware-home
6) Modify the /opt/atlassian-jira-software/atlassian-jira/WEB-INF/classes/jira-application.properties file, remove the comment at the end and modify it to the jira home directory path set above
jira.home=/home/jira/jirasoftware-home
7) Configure the environment variables of the home directory
echo 'JIRA_HOME=/home/jira/jirasoftware-home' >> /etc/profile
echo 'export JIRA_HOME' >> /etc/profile
source /etc/profile
8) Check whether the port is occupied. The default ports of jira are 8005 and 8080, Server port (8005) and the Connector port (8080). If they are occupied, you can open the /opt/atlassian-jira-software/conf/server.xml
file to modify the port. If the firewall is open, then release the modified Port, the following example is modified to 5005 and 5050,
9) Download the mysql database connection jar package and copy it to the lib directory of jira. If confluence has been installed, use the mysql driver jar package in the installation confluence; here it is directly referred to the mysql driver jar package in the installation confluence
Method one, download the driver package
wget -c -P /tmp http://120.52.72.23/cdn.mysql.com/c3pr90ntc0td//Downloads/Connector-J/mysql-connector-java-5.1.40.tar.gz
cd /tmp
tar zxvf mysql-connector-java-5.1.40.tar.gz
cd mysql-connector-java-5.1.40
cp mysql-connector-java-5.1.40-bin.jar /opt/jira/lib/
Method 2: Use the existing driver package
cp mysql-connector-java-5.1.48-bin.jar /opt/atlassian-jira-software/lib/
10) Switch to the jira user and start the jira project
cd /opt/atlassian-jira-software/bin
./start-jira.sh
11) Visit the homepage http://10.10.0.149:8080/secure/SetupMode!default.jspa
1> Create related databases
Refer to the official link
CREATE USER jiradb IDENTIFIED BY "zkwg123";
CREATE DATABASE jiradb CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX on jiradb.* TO 'jiradb'@'%' IDENTIFIED BY 'zkwg123';
FLUSH PRIVILEGES;
2> Restart the jaji service
step1: Log in to the homepage
step2: Enter relevant information
step3: set a titlle and URL
step4: You need to enter the license (look carefully)
Register an account
Check the server ID: BMVT-X6VW-OBQW-HOKR
AAABeA0ODAoPeNp9UUtPwkAQvvdXNPGihzbb8pCSNFHaTUSBIkXw4GUtA6yBbZndovx7+zKAPI6zO99zbsJU6CEkuu3opNlu1Nt2Q/f8sW4Ty9EWCCCWcZIAmj0egZBAZ1zxWLh0MKaj4agbUm2Qrj8Bg/mbBJSuYWleLBSL1ICtwb2vWQ3SapHmw2ZjRvFa++LIzBPIMMVoyST4TIGbaxvEMWxHq1THuwQKOi/o9+nI6z72/r7oT8Jxt8dZJMdVFmif8dWphxBwC9j13U5/Mjbem5OpEXRep8ZT8DIqDSYYz9JImflgyHiuvhmCmTHyLbgKUyjXLpdyprpzITJ/QoFgIroQ5IqbkxIrnSxXr+uHdGD0rHqNNIlFtGxyj1+uEIeKoQJ052wlQQtwwQSXrEgYLblg+aLmIRRP/y+2Kk1MMk85wD5qArKwmCCXVYk+yAh5UlA/Zx70sPKg35Y3uvto63TLVmmhVZq+dIVz/R6KH+L2nOX8Cy4EBsgwLAIUYzDOGyDGsywyo6UGbumsh4yaZxACFEhgtyewqLb7zdCNi9suWPO2jzdJX02ia
step5: Enter account number and set password
step2: Set up mailbox (skip)
step7: Simple setup and application