安装命令
# tar -zxf jdk-8u121-linux-x64.tar.gz
# ln -s jdk1.8.0_121 java
# rm -rf src.zip
# rm -rf LICENSE README.html COPYRIGHT javafx-src.zip THIRDPARTYLICENSEREADME*
# rm -rf release
# vim /etc/profile
## SET JAVA_HOME
export JAVA_HOME=/opt/software/java
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
# source /etc/profile
# java -version
# yum install -y mariadb mariadb-server
# systemctl enable mariadb
# systemctl start mariadb
# mysqladmin -u root password bigdata => root/bigdata
# mysql -u root -pbigdata -e "create database jira character set utf8 collate utf8_bin;"
# mysql -u root -pbigdata -e "grant all privileges on jira.* to 'jira'@'%' identified by 'jira';"
# mysql -u root -pbigdata -e "flush privileges;"
# yum install -y wget
# wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.8.1-x64.bin
# chmod +x atlassian-jira-software-7.8.1-x64.bin
# ./atlassian-jira-software-7.8.1-x64.bin
# cd /opt/atlassian/jira/lib/
# cp atlassian-extras-7.8.1.jar mysql-connector-java-5.1.46-bin.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
rm -rf /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/atlassian-extras-3.2.jar
# cd /opt/atlassian/jira/bin/
# ./start-jira.sh
# ps -ef |grep jira
# systemctl status firewalld
# systemctl stop firewalld
# systemctl disable firewalld
# vim /etc/selinux/config
# getenforce
# setenforce 0
# getenforce
下载地址
https://www.atlassian.com/software/jira/update
wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.8.1-x64.bin
安装细节
[root@shijie69 jira]# ./atlassian-jira-software-7.8.1-x64.bin
Unpacking JRE ...
Starting Installer ...
Jul 06, 2018 1:57:55 AM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Jul 06, 2018 1:57:55 AM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.
This will install JIRA Software 7.8.1 on your computer.
OK [o, Enter], Cancel [c]
o
Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (use default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing JIRA installation [3]
2
Where should JIRA Software be installed?
[/opt/atlassian/jira]
Default location for JIRA Software data
[/var/atlassian/application-data/jira]
Configure which ports JIRA Software will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you will access JIRA
through your browser. The Control port is used to startup and shutdown JIRA.
Use default ports (HTTP: 8080, Control: 8005) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2]
1
JIRA can be run in the background.
You may choose to run JIRA as a service, which means it will start
automatically whenever the computer restarts.
Install JIRA as Service?
Yes [y, Enter], No [n]
y
Details on where JIRA Software will be installed and the settings that will be used.
Installation Directory: /opt/atlassian/jira
Home Directory: /var/atlassian/application-data/jira
HTTP Port: 8080
RMI Port: 8005
Install as service: Yes
Install [i, Enter], Exit [e]
mysql:jira/jira
jira: admin/bigdata
JIRA7.8.1安装
最新推荐文章于 2025-02-22 11:21:50 发布