atlassian-agent.jar是某个大牛弄出的激活方法,比原来是crack包破解方法方便很多,据说还能直接支持升级.
安装java
jdk1.8.0_161 下载解压到/usr/local/下
vim /etc/profile
export JAVA_HOME=/usr/local/jdk1.8.0_161
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$JAVA_HOME/bin:$PATH
source /etc/profile
安装mysql5.5,创建数据库
#创建jira用户,jira数据库,并授权
create database jira default character
set utf8 collate utf8_bin;
GRANT ALL ON jira.* TO 'jira'@'127.0.0.1' IDENTIFIED BY 'jira##123456';
安装jira7
一路默认安装即可
sh atlassian-jira-software-7.2.0-x64.bin
关闭jira
/etc/init.d/jira stop
把数据库驱动拷贝进去
cp mysql-connector-java-5.1.32-bin.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
使用下面办法来启动jira,后面就可以生成激活码
JAVA_OPTS="-javaagent:/usr/local/atlassian-agent.jar" /opt/atlassian/jira/bin/start-jira.sh
使用自定义数据库,mysql连接这里,建议用域名, 然后在/etc/hosts 自定义域名和IP映射, 有什么好处, 如果要切数据库,改一下hosts这里就可以了.
到输序列号的地方来了,之前启动我们加了额外的参数启动的jira.
cd 到 atlassian-agent.jar的目录下,执行下面算号,(注意-p jira, 这个要对应产品)
java -jar atlassian-agent.jar -p jira -m aaa@bbb.com -n my_name -o https://zhile.io -s BDRP-R2CL-0TYW-GY75
====================================================
======= Atlassian Crack Agent =======
======= https://zhile.io =======
======= QQ Group: 30347511 =======
====================================================
Your license code(Don't copy this line!!!):
AAABgQ0ODAoPeJx9klFvgjAUhd/5FSR7BsWNoSZN5oAsJKBGcYtPS8GrdIFCboub+/UriolOYtKk6
U3PuV9P70Oc1fqk3umWrVvWuO+MbUd3l7E+6FsjbYcAPCurCtAMWQpcQHyoYEoLIO4sivyFG0xCz
UWgkpXcoxJIIzT6Q8OytTsSD0SKrGpUZMVzVjAJGz0/CfTkoGdSVmLc6/1mLAeTlVpEGZfAKU/B/
6kYHtpuQ9XNUUv7YkjPlP6GnaynYRAFse9p07pIAGfblQAUxLDOcHe8Kiw3dSrN5mCIciu/KYJ5Y
3TnLk0l2wORWMNVlpf19s3vyq0hHmj+nub1MU+ypbkAbYY7ypk4lW5ycUsulZ+v8skJpfQlSRIzL
YsTVzftZf87+EtJUQK2GG1ggUfCwFv6UyO07Gd7+Dh8cpyRM7jKv+vLl4B7QCV/9RZzYzFwQ6Mfr
z+Mt7Vjd03a7R/Oa0wzKuD/nF2KQQ0JVshE+zwFSjpg29SOjMXhk6v9D+r+CZcwLQIVAJaB3bfat
C3GRUXjEmZwoPQYPj7MAhQwRJ+umDME5m7BEHj+SS76LcguqA==X02iq
总结
测试过confluence和jira,都能顺利激活.
需要注意的地方是, 以后启动都需要带参数启动.,否则会有以下报错
网友评论