`

JIRA bug管理系统

阅读更多

         因为突然项目要用JIRA bug管理系统,刚好以前用过jira,感觉很不错,就安装一个用用了,下面是安装步骤,参考了一些网上的教材,特此表示感谢。

1.系统环境

  系统环境为ubuntu10.04+mysql5.1.14+jdk1.6

 2.文件准备

  由于jira是用java写的,jdk当然是比不可少了;我用的是mysql数据库,所以mysql也是需要安装的,安装时注意修改编码为utf-8,后面我们会提到。

  jira现在最新的版本为4.3,可以到jira官方网站 去下载,可以免费试用30天;当然,如果您喜欢,您也可以去破解。

 

3.安装过程

  (1)在/usr/local 下新建一个文件夹jira, 然后在jira文件夹下建立jira_home 文件夹

  (2)复制下载后的文件atlassian-jira-enterprise-4.3-standalone.tar.gz/usr/local/jira 目录下并解压(tar xf at*.gz )

  (3)安装mysql,并修改/etc/mysql/my.cnf 文件,在[mysql]和[mysqld]下分别增加一句:default-character-set=utf8

  (4)通过mysql -u root -p  命令登入mysql,创建数据库jiradb,操作命令为 createdatabase jiradb character set 'utf8'

  (5)创建用户jira,操作命令为 grant all privileges on jiradb.* to 'jira'@'%' identified by'jira'

  (6)进入/usr/local/jira/atlassian-jira-4.4.3-standalone/datlassian-jira/WEB-INF/classes/database-defaults 目录,编辑mysql.properties

driverClassName=com.mysql.jdbc.Driver

databaseUrl=jdbc:mysql://localhost/jira?autoReconnect=true&characterEncoding=utf8&useUnicode=true&sessionVariables=storage_en

gine=InnoDB

userName=jira

password=jira

poolSize= 15

dialect=org.hibernate.dialect.MySQL5InnoDBDialect

note1=If you are using MySQL, the JDBC URLfor the connection <em>must</em> have \

       &lsquo;autoReconnect=true&rsquo; set. For example:</p> \

       <pre>jdbc:mysql://localhost/jira?autoReconnect=true</pre> \

       <p>If the autoreconnect flag is not set, the MySQL JDBC driverwill eventually time out, \

       and crowd will no longer be able to communicate with the database.

note2=If you plan to use non-latincharacters, \

       you will also need to change the end of the above URL to \

       <pre>&useUnicode=true&characterEncoding=utf8</pre>\

       <p>These options are not required for any database other thanMySQL.

    (7)进入 /usr/local/jira/atlassian-jira-enterprise-4.3-standalone/atlassian-jira/ 目录,分别执行如下操作:

  编辑/WEB-INF/classes 目录下的jira-application.properties 文件,修改jira.home =/usr/local/jira/jira_home

 

下面是我对JIRA4.3.4版本的破解过程以及破解补丁,希望能对你有所帮助。(验证以后发现对JIRA4的其他版本的破解也通用。)

1、JIRA 4.3.4 官网下载。并安装JIRA 4.3.4到本地。

http://www.atlassian.com/software/jira/JIRADownloadCenter.jspa

2、启动JIRA 并通过试用帐号的设置,目的是取得一个管理员帐号。

3、关闭JIRA服务器。

4、JIRA 4.3.4 破解补丁下载。

http://dl.dbank.com/c0iagwdgm2

3、破解补丁解压缩以后,把..\jira_crack\atlassian-jira\WEB-INF \classes\com\atlassian\jira\license\JiraLicenseStoreImpl.class文件覆盖到JIRA 4.3.4安装目录..\Atlassian\JIRA4.3.4\atlassian-jira\WEB-INF\classes\com \atlassian\jira\license\JiraLicenseStoreImpl.class

5、用WinRar等压缩工具打开JIRA安装目录..\Atlassian\JIRA4.3.4 \atlassian-jira\WEB-INF\lib\atlassian-extras-2.2.2.jar文件,并找到atlassian- extras-2.2.2.jar\com\atlassian\extras\decoder\v2目录,如图

然后把破解补丁中的..\jira_crack\atlassian-jira\WEB-INF\classes \com\atlassian\extras\decoder\v2\Version2LicenseDecoder.class拖动到这个窗口,覆盖原 来的文 件,既把破解补丁添加打到压缩包文件中。

6、重新启动JIRA服务,用管理员帐号登录,并在JIRA首页的授权详细中可以明文输入Lisence了 :)。

 

授权码格式:

Description=JIRA\: COMMERCIAL

CreationDate=2009-10-25

ContactName=xxx@xxx.xxx

jira.LicenseEdition=ENTERPRISE

ContactEMail=xxx@xxx.xxx

Evaluation=false

jira.LicenseTypeName=COMMERCIAL

jira.active=true

licenseVersion=2

MaintenanceExpiryDate=2099-10-24

Organisation=xxx

jira.NumberOfUsers=-1

ServerID=B6FW-B4KW-J1A3-4DQB

LicenseID=LID

LicenseExpiryDate=2099-10-24

PurchaseDate=2009-10-25

             我想到了这步很多人都知道了吧。

7.软件汉化方面请参照一下网址:http://www.confluence.cn/pages/viewpage.action?pageId=1769487

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics