POSTS
搭建Jira 已破解
1.下载Jira
wget https://product-downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-8.0.2.tar.gz
2.解压
tar -zxvf atlassian-jira-software-8.0.2.tar.gz
3.下载数据库对应的jdbc驱动,对应目录/home/uugm/workspace/atlassian-jira-software-8.0.2-standalone/lib
# MySQL
wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java_8.0.18-1ubuntu18.04_all.deb
# Postgresql
# 由于jira安装包本身存在pg驱动postgresql-9.4.1212.jar,所以这里不再下载了
# 如果你需要另外下载postgresqljdbc驱动: https://jdbc.postgresql.org/download.html
wget https://jdbc.postgresql.org/download/postgresql-42.2.9.jar
4.下载破解文件到 /home/uugm/workspace/atlassian-jira-software-8.0.2-standalone/atlassian-jira/WEB-INF/lib
# 链接:https://pan.baidu.com/s/1XxMKwDklYw4jsYJRP87bQw 提取码: faxb
cp atlassian-extras-3.2.jar atlassian-jira-software-8.0.2-standalone/atlassian-jira/WEB-INF/lib
5.安装JDK,设置JAVA_HOME
sudo apt-get update
sudo apt-get install openjdk-8-jdk
# zsh用户: sudo vim ~/.zshrc
sudo vim /etc/profile
写入下面值:
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export JRE_HOME=$JAVA_HOME/jre
export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib
export PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin
6.执行config.sh脚本/home/uugm/workspace/atlassian-jira-software-8.0.2-standalone/bin
# 先创建jira数据存储目录
mkdir -p /home/uugm/workspace/jira_home
# 执行配置脚本
./config.sh
# 设置jira_home、关联数据库、修改http端口
=>
--- Main Menu ---
[H] Configure JIRA Home
[D] Database Selection
[W] Web Server (incl. HTTP/HTTPs configuration)
[A] Advanced Settings
[S] Save and Exit
[X] Exit without Saving
7.启动Jira,执行start-jira.sh脚本/home/uugm/workspace/atlassian-jira-software-8.0.2-standalone/bin
./start-jira.sh
8.查看Jira日志
/home/uugm/workspace/atlassian-jira-software-8.0.2-standalone/logs/
9.浏览器访问Jira服务器,进行相关配置即可。
10.破解验证
默认下载的Jira安装包只有一个月的试用期:
破解后,有效期截止到2033年: