JIRA是bug 跟踪,问题跟踪和项目管理的一个软件。
下面就说怎么破解和安装最新版的
JIRA。
(注:依此方法任何版本的
JIRA都可以破解)
1.首先去下载
JIRA
2.创建数据
3.设置环境变量和修改配置文件
4.Update Tomcat Libraries
5.破解
JIRA
6.启动Tomcat安装
JIRA
1.下载
JIRA
下载地址:http://www.atlassian.com/software/
jira/JIRADownloadCenter.jspa
先点击show all然后下下载JIRA3.
12.
3-Enterprise-Standalone(ZIP Archive)
下载完后将其解压到本地的某个盘子中。
2.创建数据库
打开MySQL命令行,输入下面的命令
create database jiradb character set utf8;
3.设置环境变量和修改配置文件
设置环境变量
同时按下window+pause,在弹出的对话框中选择Advance-->Environment Variables
点击New设置name : CATALINA_HOME
value : D:/atlassian-
jira-enterprise-
3.
12.
3-standalone
然后修改PATH将%CATALINA_HOME%/bin;加到PATH的最前面
修改配置文件
只需修改两个文件D:/atlassian-
jira-enterprise-
3.
12.
3-standalone/conf目录下的server.xml和
D:/atlassian-
jira-enterprise-
3.
12.
3-standalone/atlassian-
jira/WEB-INF/classes目录下的entityengine.xml。
记住将MySQL驱动包copy到D:/atlassian-
jira-enterprise-
3.
12.
3-standalone/common/lib目录中。
server.xml
- <Server port="8005" shutdown="SHUTDOWN">
-
- <Service name="Catalina">
-
- <Connector port="8080"
- maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
- enableLookups="false" redirectPort="8443" acceptCount="100"
- connectionTimeout="20000" disableUploadTimeout="true" />
-
- <Engine name="Catalina" defaultHost="localhost">
- <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
-
- <Context path="" docBase="${catalina.home}/atlassian-jira" reloadable="true">
- <Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
- username="[enter db username]"
- password="[enter db password]"
- driverClassName="com.mysql.jdbc.Driver"
- url="jdbc:mysql://localhost/jiradb?autoReconnect=true&useUnicode=true&characterEncoding=UTF8"
- />
-
- <Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction"
- factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>
- <Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"/>
- </Context>
-
- </Host>
- </Engine>
- </Service>
- </Server>
<Server port="8005" shutdown="SHUTDOWN">
<Service name="Catalina">
<Connector port="8080"
maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
<Engine name="Catalina" defaultHost="localhost">
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
<Context path="" docBase="${catalina.home}/atlassian-jira" reloadable="true">
<Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
username="[enter db username]"
password="[enter db password]"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost/jiradb?autoReconnect=true&useUnicode=true&characterEncoding=UTF8"
/>
<Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction"
factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>
<Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"/>
</Context>
</Host>
</Engine>
</Service>
</Server>
entityengine.xml
-
-
-
- <datasource name="defaultDS" field-type-name="mysql"
- helper-class="org.ofbiz.core.entity.GenericHelperDAO"
- check-on-start="true"
- use-foreign-keys="false"
- ...
-
<!-- DATASOURCE - You will need to update this tag for your installation.
-->
<datasource name="defaultDS" field-type-name="mysql"
helper-class="org.ofbiz.core.entity.GenericHelperDAO"
check-on-start="true"
use-foreign-keys="false"
...
ok了。
4.Update Tomcat Libraries
Tomcat does not come with some libraries required to run
JIRA. To fix this, download
jira-jars-tomcat6.zip(1.5Mb) http://www.atlassian.com/software/
jira/docs/servers/jars/v1/
jira-jars-tomcat6.zip, and copy the contained jars to Tomcat's lib/ directory.
5.破解
JIRA
打开Eclipse新建一个Java Project,将keygen类拷贝到src目录下,keygen.java可以在此下载
下载文件atlassian-extras-1.17.jar(附件中)
然后将D:/atlassian-
jira-enterprise-
3.
12.
3-standalone/atlassian-
jira/WEB-INF/lib目录下的
atlassian-extras-1.17.jar引入到工程中。
根据网友的反馈在这我把我的破解工程上传,下载解压后import到eclipse中就可以使用:
下载文件keygen.java(附件中)
运行keygen类在console会看到如下结果:
Keygen for
JIRA Enterprise Edition.
created by mydaj[ROR].
Enter your organization name: zhoule(输入你的名字回车)
267^^1210662699259^^1210662699259^^zhoule
Your license key is: (下面就是你的注册码了)
POrPrAAwTxsdlSsBcpvsVkNscnmVhaSwmnFIEINfocujMVV
mj2L00vBYhaRFQaIPLmoRKok92KCYhBqG1Nb9ahByCebu>A
qqRWXMpnormpQQorPmVsOmNppPnQNNmRPvwvTSxWVostUUn
onmssosvvorvUUnonmssosvvorvUUwelrib
6. 启动Tomcat你就可以看到安装界面了。
参考: http://www.atlassian.com/software/
jira/docs/v3.6.5/databases/mysql.html
Attachment: http://www.live-share.com/files/367669/JIRA.zip.html