CentOS 7上安装Jira步骤详解

CentOS 7 上 安装 jira_mysql

步骤

1.安装jdk8

2.安装mysql
wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm
yum -y install mysql57-community-release-el7-10.noarch.rpm
yum -y install mysql-community-server

#开启MySQL服务
systemctl start  mysqld.service
#查看MySQL状态
systemctl status mysqld.service

#获取密码
grep "password" /var/log/mysqld.log

#使用密码登陆
mysql -uroot -p

#修改密码长度规则
mysql> set global validate_password_policy=0;
mysql> set global validate_password_length=1;

#修改root密码
ALTER USER 'root'@'localhost' IDENTIFIED BY '111111';



3.创建数据库
CREATE DATABASE jira CHARACTER SET utf8 COLLATE utf8_bin;

#创建新用户:
CREATE USER 'jira'@'localhost' IDENTIFIED BY '111111';

#新用户授权:
grant all privileges on *.* to jira@localhost identified by '111111'; 

#刷新更改
flush privileges;

#测试连接
mysql -u jira -h localhost -p111111

#不使用ssl
set useSSL=false

4.下载jira
链接: https://pan.baidu.com/s/13BQgkh-TE85oMJ5JgsW4Eg 
提取码: 99cs 

#上传文件
scp jdk-8u221-linux-x64.tar.gz root@x.x.x.x:/root/

#移动到/opt下
mv atlassian-jira-software-7.4.1-x64.bin /opt/

#赋予执行权限
chmod +x atlassian-jira-software-7.4.1-x64.bin

#开始安装
./atlassian-jira-software-7.4.1-x64.bin



#log 信息
[root@xxx opt]# ./atlassian-jira-software-7.4.1-x64.bin
Unpacking JRE ...
Starting Installer ...
九月 29, 2019 3:50:07 下午 java.util.prefs.FileSystemPreferences$1 run
信息: Created user preferences directory.
九月 29, 2019 3:50:07 下午 java.util.prefs.FileSystemPreferences$2 run
信息: Created system preferences directory in java.home.

This will install JIRA Software 7.4.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]
1
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]
i

Extracting files ...


Please wait a few moments while JIRA Software is configured.
Installation of JIRA Software 7.4.1 is complete
Start JIRA Software 7.4.1 now?
Yes [y, Enter], No [n]
y

Please wait a few moments while JIRA Software starts up.
Launching JIRA Software ...
Installation of JIRA Software 7.4.1 is complete
Your installation of JIRA Software 7.4.1 is now ready and can be accessed
via your browser.
JIRA Software 7.4.1 can be accessed at http://localhost:8080
Finishing installation ...
[root@xxx opt]#


#下载破解文件
链接:https://pan.baidu.com/s/1NbfN00mvnRrAhHPQyUW8zw  密码:d9ov
链接:https://pan.baidu.com/s/1-tfquh1f1b3atqxg1nz2JQ  密码:t8ec
一共有两个,其中
atlassian-extras-3.2.jar是用来替换原来的atlassian-extras-3.2.jar文件,用作破解jira系统的。
mysql-connector-java-5.1.39-bin.jar是用来连接mysql数据库的驱动软件包。


#上传
bogon:Desktop macname$ scp atlassian-extras-3.2.jar mysql-connector-java-5.1.39-bin.jar root@x.x.x.x:/root/
root@x.x.x.x's password:
atlassian-extras-3.2.jar                                                  100%  153KB 476.4KB/s   00:00
mysql-connector-java-5.1.39-bin.jar                                       100%  966KB   1.1MB/s   00:00
bogon:Desktop macname$


# 停止jira
/opt/atlassian/jira/bin/stop-jira.sh 
# 启动jira
/opt/atlassian/jira/bin/start-jira.sh 
或者
#关闭服务
/etc/init.d/jira stop
#启动服务
/etc/init.d/jira start



#关闭服务
/etc/init.d/jira stop

#移动破解文件
[root@xxx ~]# mv atlassian-extras-3.2.jar mysql-connector-java-5.1.39-bin.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
mv:是否覆盖"/opt/atlassian/jira/atlassian-jira/WEB-INF/lib/atlassian-extras-3.2.jar"? y
[root@xxx ~]#

#启动服务
/etc/init.d/jira start


#查看日志
tailf /opt/atlassian/jira/logs/catalina.out


#创建文件夹
mkdir -p /opt/atlassian/jira/conf/Catalina/localhost


#删除jira
rm -rf /var/atlassian /opt/atlassian


#安装失败了,好像说是内存不够,谁安装成功了指点下!!!
1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.24.25.26.27.28.29.30.31.32.33.34.35.36.37.38.39.40.41.42.43.44.45.46.47.48.49.50.51.52.53.54.55.56.57.58.59.60.61.62.63.64.65.66.67.68.69.70.71.72.73.74.75.76.77.78.79.80.81.82.83.84.85.86.87.88.89.90.91.92.93.94.95.96.97.98.99.100.101.102.103.104.105.106.107.108.109.110.111.112.113.114.115.116.117.118.119.120.121.122.123.124.125.126.127.128.129.130.131.132.133.134.135.136.137.138.139.140.141.142.143.144.145.146.147.148.149.150.151.152.153.154.155.156.157.158.159.160.

, ,
 



免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删

QR Code
微信扫一扫,欢迎咨询~

联系我们
武汉格发信息技术有限公司
湖北省武汉市经开区科技园西路6号103孵化器
电话:155-2731-8020 座机:027-59821821
邮件:tanzw@gofarlic.com
Copyright © 2023 Gofarsoft Co.,Ltd. 保留所有权利
遇到许可问题?该如何解决!?
评估许可证实际采购量? 
不清楚软件许可证使用数据? 
收到软件厂商律师函!?  
想要少购买点许可证,节省费用? 
收到软件厂商侵权通告!?  
有正版license,但许可证不够用,需要新购? 
联系方式 155-2731-8020
预留信息,一起解决您的问题
* 姓名:
* 手机:

* 公司名称:

姓名不为空

手机不正确

公司不为空