美文网首页
ubuntu系统安装jira

ubuntu系统安装jira

作者: 天草二十六_简村人 | 来源:发表于2019-07-15 16:51 被阅读0次

一、安装需要注意的几点
1、破解
2、安装前的准备工作
3、申请jira的license
4、google账号登录Atlassian

二、下载并安装
cd /opt
wget https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.8.4-x64.bin //下载jira

root@ubuntu:/opt# wget  https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.8.4-x64.bin--2019-07-15 09:46:02--  https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.8.4-x64.bin
Resolving downloads.atlassian.com (downloads.atlassian.com)... failed: Temporary failure in name resolution.
wget: unable to resolve host address 'downloads.atlassian.com'
root@ubuntu:/opt# vi /etc/resolv.conf 
root@ubuntu:/opt# wget  https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.8.4-x64.bin--2019-07-15 09:47:18--  https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.8.4-x64.bin
Resolving downloads.atlassian.com (downloads.atlassian.com)... 13.249.231.37, 2600:9000:2078:5e00:1f:ab86:b4a:17e1, 2600:9000:2078:ec00:1f:ab86:b4a:17e1, ...
Connecting to downloads.atlassian.com (downloads.atlassian.com)|13.249.231.37|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 341301956 (325M) [application/octet-stream]
Saving to: 'atlassian-jira-software-7.8.4-x64.bin'

atlassian-jira-software-7.8.4 100%[==============================================>] 325.49M   607KB/s    in 9m 26s  

2019-07-15 09:56:46 (589 KB/s) - 'atlassian-jira-software-7.8.4-x64.bin' saved [341301956/341301956]

chmod a+x atlassian-jira-software-7.8.4-x64.bin //设置权限
./atlassian-jira-software-7.8.4-x64.bin //安装jira

root@ubuntu:/opt# ./atlassian-jira-software-7.8.4-x64.bin 
Unpacking JRE ...
Starting Installer ...
Jul 15, 2019 9:59:52 AM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.

This will install JIRA Software 7.8.4 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.8.4 is complete
Start JIRA Software 7.8.4 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.8.4 is complete
Your installation of JIRA Software 7.8.4 is now ready and can be accessed
via your browser.
JIRA Software 7.8.4 can be accessed at http://localhost:8080
Finishing installation ...

三、破解jira
破解jar包下载
链接: https://pan.baidu.com/s/11FU0vkBvXWNfv3LZK-Cc-w
提取码: 8cxh

# ./stop-jira.sh    //关闭jira
# cp /opt/atlassian-extras-3.2.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
# cp /opt/jar/atlassian-universal-plugin-manager-plugin-2.22.9.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/atlassian-bundled-plugins/
#  cp /opt/jar/mysql-connector-java-5.1.39-bin.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
# ./start-jira.sh    //启动jira

四、输入license
从Atlassian官网申请试用序列号,结合第三步的破解准备,完全破解JIRA。

五、创建jira数据库
cat /var/atlassian/application-data/jira/dbconfig.xml

root@ubuntu:/opt/atlassian/jira/bin# mysql -uroot -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 40020
Server version: 5.7.26-0ubuntu0.16.04.1 (Ubuntu)

Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> create database jira default character set utf8 collate utf8_bin;
Query OK, 1 row affected (0.06 sec)

mysql> grant all on jira.* to '%' identified by 'jira';
Query OK, 0 rows affected, 1 warning (0.05 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.05 sec)

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| confluence         |
| jira               |
| mysql              |
| performance_schema |
| sys                |
+--------------------+
6 rows in set (0.01 sec)

mysql> exit;

六、启动、停止jira

/opt/atlassian/jira/bin# ./stop-jira.sh --停止
/opt/atlassian/jira/bin# ./start-jira.sh --启动

七、修改tomcat的应用端口
root@ubuntu:/opt/atlassian/jira/conf# vi server.xml

相关文章

网友评论

      本文标题:ubuntu系统安装jira

      本文链接:https://www.haomeiwen.com/subject/qcggkctx.html