jira是Atlassian公司出品的项目与事务跟踪工具,被广泛应用于缺陷跟踪(bug管理)、客户服务、需求收集、流程审批、任务跟踪、项目跟踪和敏捷管理等工作领域。
jira运行是依赖java环境的,需要安装jdk并且要是1.8以上版本
[root@master ~]# java -version java version "1.8.0_112" Java(TM) SE Runtime Environment (build 1.8.0_112-b15) Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)
安装mysql
[root@master ~]# rpm -q mariadb-server mariadb-server-5.5.52-1.el7.x86_64
授权
[root@master ~]# mysql MariaDB [(none)]> create database jira default character set utf8 collate utf8_bin; Query OK, 1 row affected (0.00 sec) MariaDB [(none)]> grant all on `jira`.* to 'jira'@'127.0.0.1' identified by '123456'; Query OK, 0 rows affected (0.00 sec)
下载安装
[root@master ~]# wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.11.0-x64.bin [root@master ~]# ll 总用量 334992 -rwxr-xr-x 1 root root 341965566 7月 11 16:48 atlassian-jira-software-7.11.0-x64.bin [root@master ~]# ./atlassian-jira-software-7.11.0-x64.bin This will install JIRA Software 7.11.0 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 The following default options cannot be used. You will be asked to provide alternatives for these options. * Home Directory (Existing home directory) * Control Port (In use) 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], Set custom value for HTTP and Control ports [2, Enter] 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
jira安装到了/opt/atlassian/jira和/var/atlassian/application-data/jira目录下,并且jira监听的端口是8080。
jira的主要配置文件,存放在/opt/atlassian/jira/conf/server.xml文件中
先关闭jira,然后把破解包里面的atlassian-extras-3.1.2.jar和mysql-connector-java-5.1.39-bin.jar两个文件复制到/opt/atlassian/jira/atlassian-jira/WEB-INF/lib/目录下。
其中atlassian-extras-3.1.2.jar是用来替换原来的atlassian-extras-3.1.2.jar文件,用作破解jira系统的。
而mysql-connector-java-5.1.39-bin.jar是用来连接mysql数据库的驱动软件包。
[root@master ~]# tar xf jira-replace.tar.gz [root@master ~]# ls atlassian-jira-software-7.11.0-x64.bin jira-replace jira-replace.tar.gz [root@master ~]# cd jira-replace [root@master jira-replace]# ls atlassian-extras-3.2.jar mysql-connector-java-5.1.39-bin.jar [root@master jira-replace]# cp * /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/ cp:是否覆盖"/opt/atlassian/jira/atlassian-jira/WEB-INF/lib/atlassian-extras-3.2.jar"? y
现在再次启动jira
[root@master ~]# /opt/atlassian/jira/bin/startup.sh
然后我们现在来访问如下地址:
http://ip:8080
访问以上地址后,系统会自动跳转到jira的默认配置页面,在此我们选择自定义配置,如下:
连接数据库的配置是/var/atlassian/application-data/jira/dbconfig.xml
点击:generate a jira trial license ,因为我们没有正式的license,所以需要我们在jira官网注册一个账号,然后利用这个账号申请一个可以试用30天的license
–
插件破解,替换下面文件,版本为7.11
/opt/atlassian/jira/atlassian-jira/WEB-INF/lib/commons-codec-1.9.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/atlassian-bundled-plugins/atlassian-universal-plugin-manager-plugin-2.22.9.jar
–
–
参考文档:https://www.ilanni.com/?p=12119
评论前必须登录!
注册