jira-安装及破解

摘要

由于公司升级jira,顺手整理一篇文档以便有需要的人使用。

Jira 安装并破解

Linux
2018年12月06日


友情提示:安装为官网目前最新版本,现已支持中文!无需中文破解

安装Jira

6159565A-BDFD-4F8A-A83B-542A3EF04FC9.png-380.8kB

  1. wget https://product-downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.13.0-x64.bin
  2. [root@YZSJHL82-204 ~]# chmod +x atlassian-jira-software-7.13.0-x64.bin
  3. [root@YZSJHL82-204 ~]# ./atlassian-jira-software-7.13.0-x64.bin
  4. Unpacking JRE ...
  5. Starting Installer ...
  6. 十月 23, 2018 4:38:25 下午 java.util.prefs.FileSystemPreferences$1 run
  7. 信息: Created user preferences directory.
  8. 十月 23, 2018 4:38:25 下午 java.util.prefs.FileSystemPreferences$2 run
  9. 信息: Created system preferences directory in java.home.
  10. This will install JIRA Software 7.4.1 on your computer.
  11. OK [o, Enter], Cancel [c]
  12. o #按o安装
  13. Choose the appropriate installation or upgrade option.
  14. Please choose one of the following:
  15. Express Install (use default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing JIRA installation [3]
  16. 2 #2为自定义安装
  17. Where should JIRA Software be installed?
  18. [/opt/atlassian/jira]
  19. /usr/local/atlassina/jira #自定义安装目录
  20. Default location for JIRA Software data
  21. [/var/atlassian/application-data/jira]
  22. /usr/local/atlassina/jira_data #自定义数据目录
  23. Configure which ports JIRA Software will use.
  24. JIRA requires two TCP ports that are not being used by any other
  25. applications on this machine. The HTTP port is where you will access JIRA
  26. through your browser. The Control port is used to startup and shutdown JIRA.
  27. Use default ports (HTTP: 8080, Control: 8005) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2]
  28. 2 #2为自定义端口
  29. HTTP Port Number
  30. [8080] #8080为默认端口
  31. 8050 #http连接端口
  32. Control Port Number
  33. [8005]
  34. 8040 #控制端口
  35. JIRA can be run in the background.
  36. You may choose to run JIRA as a service, which means it will start
  37. automatically whenever the computer restarts.
  38. Install JIRA as Service?
  39. Yes [y, Enter], No [n]
  40. y #是否开机自启
  41. Details on where JIRA Software will be installed and the settings that will be used.
  42. Installation Directory: /usr/local/atlassina/jira
  43. Home Directory: /usr/local/atlassina/jira_data
  44. HTTP Port: 8050
  45. RMI Port: 8040
  46. Install as service: Yes
  47. Install [i, Enter], Exit [e]
  48. i #确认已选配置
  49. Extracting files ...
  50. Please wait a few moments while JIRA Software is configured.
  51. Installation of JIRA Software 7.4.1 is complete
  52. Start JIRA Software 7.4.1 now?
  53. Yes [y, Enter], No [n]
  54. y #启动
  55. Please wait a few moments while JIRA Software starts up.
  56. Launching JIRA Software ...
  57. Installation of JIRA Software 7.4.1 is complete
  58. Your installation of JIRA Software 7.4.1 is now ready and can be accessed
  59. via your browser.
  60. JIRA Software 7.4.1 can be accessed at http://localhost:8050
  61. Finishing installation ...

image_1ctuoh5608ofkut104r1etc1jq9u.png-363.3kB
浏览器访问jira,地址为:http://IP:8050 请自行修改IP和端口。如果可以访问,说明安装成功。
343F9D48-0B43-4BCB-B40E-97DE0A191F25.png-364.5kB

配置数据库及密码
image_1ctuoktirfe59u59b9lvb2j20.png-191.5kB

在mySQL上创建用户及库做授权

  1. create database jira_new;
  2. grant all privileges on *.* to jira@'10.4.82.204' identified by 'jira';
  3. flush privileges;

在授权完用户我们不可以马上填写信息,需要添加MySQL的一个jra包,否则下一步会提示找不到mysql的驱动

驱动包下载

  1. 停止jira
  2. [root@YZSJHL82-204 ~]# /etc/init.d/jira stop
  3. 上传软件包
  4. [root@YZSJHL82-204 ~]# cp mysql-connector-java-5.1.46-bin.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
  5. 启动jira
  6. [root@YZSJHL82-204 ~]# /etc/init.d/jira start
  7. 注意防火墙

安装完数据库插件即可下一步
image_1cu1aa4bh1ak3tcvcprhdm1hibc.png-171.5kB

设置jira主题
image_1cu1acde0n51tebpjj1eo81s0cp.png-138.4kB

因为第一次安装,我们需要去jira官网注册用户,获取授权码 (免费30天,安装后更换破解即可)
image_1cu1addst1n7o4th66p2591tbj16.png-136.5kB

保存好服务器ID,进入atlassian官网获取试用许可证,下边附上注册地址:
注册官网:https://my.atlassian.com
或使用以下地址:
https://id.atlassian.com/signup?application=mac&continue=https://my.atlassian.com
登陆账号后,选择New Evaluation License
image_1cu1agdq7c751huu18mn1uat1pg20.png-22kB
官网会给你一个key,如下

  1. AAABew0ODAoPeNp9kUtvgkAUhff8CpJu2gWEGYpaE5K2MEltFI3Yx6KbcbjqtAr0zmDrvy8CTbU+l
  2. nfgnPudcy9eIDGjbG1SYjpul3hdxzGDeGJSh3SMOQKkiyzPAe2+FJAqYInUMkt9Fk3YeDTuxcyIi
  3. tUUcDh7UoDKt4gRZKnmQkd8BT4hHXrjdajbvv38tEW2Mt4lcvtAMypQLLiCkGvwt8stQixKjGbtZ
  4. JND5RcMBwM2Dnp3/d9P7DuXuNnR0a2uYWADLpdHIGLANWAv9O/ZNbVevdC1qNNyraEbP9SEOWZJI
  5. bS9HSyVzfQXR7BLS7kGX2MB9W+nazlS3rEUJWCqIeWpOJHkDM1Bi82eMle/F8YssvqEtjpeu90yy
  6. snffzljHGuOGtCf8aUCY4hznkrFq4R8KpJMfAAaAUL19P9kyxriuWTaCuheE1CGxRylakoMQQmUe
  7. WX9WDKYccNgXtY3unrrmmzNl0W1q4Y+dYVj/e4u39X9edbzDy+jBgUwLAIUGEsZx/lkSHU0VMPQB
  8. LZr4HksJccCFF2Jtcmkz/J+FzZphaogdzq/ozkYX02ie

我们将上面的key复制到页面上
image_1cu1aoi9r15nurfk8321l2rs3f2t.png-239.1kB

设置管理员用户
image_1cu1b096i1im213kr1o31nan8ot3a.png-110.9kB

官网注册的账号只可以免费试用30天,所以当我们安装完需要尽快进行破解
333.jpg-293.6kB

image_1cu1b9plskrnt9l1sdrpo5aol9.png-288.5kB

破解jira
破解包下载

  1. 停止jira
  2. [root@YZSJHL82-204 ~]# /etc/init.d/jira stop
  3. 进入安装目录下的atlassian-jira/WEB-INF/lib/目录下,用破解包atlassian-extras-3.2.jar替换原来的包。并将mysql连接驱动复制到此目录下。
  4. [root@YZSJHL82-204 ~]# cp atlassian-extras-3.2.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
  5. 启动jira
  6. [root@YZSJHL82-204 ~]# /etc/init.d/jira start
  7. 注意防火墙

image_1cu1c31aa1s14rj1ddvs3f1vn8m.png-285.6kB

配置数据库连接地址

  1. /var/atlassian/application-data/jira/dbconfig.xml
  2. #此路径为默认路径


    A+
发布日期:2018年12月09日  所属分类:Linux
标签:
新闻联播老司机

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

目前评论:2   其中:访客  2   博主  0

  1. 康华 0
    测试连接数据正常, 然后提交之后 就卡在白屏的状态 http://10.0.0.11:8080/secure/SetupDatabase.jspa , 不知道怎么排查了[img]https://i.loli.net/2019/04/20/5cbaeec6583c7.png[/img] 查看数据库里是又创建很多表的
    • 新闻联播老司机 新闻联播老司机 2
      这个我还没遇遇到过,重启一下服务会不会正常?