jira 4.0.2 的详细安装+破解

准备条件:
环境变量:JAVA_HOME=C:\jdk1.6.0_10(注意jdk版本>=此版本)
第一步:下载jira [url]http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-4.0.2-standalone.zip[/url],解压 to E:/jira
第二步:下载Mysql[url]http://download.mysql.cn/download_file/zip/5.0/mysql-5.0.18-win32.zip[/url] 创建数据库:(SID :jiradb,默认用户root,密码:123456)
第三步:下载mysql jdbc驱动,看附件 mysql-connector-java-3.1.14-bin.jar ,复制到 E:\jira\common\lib 目录中
第四步:下载附件jira_crack.rar(108.6 KB),解压出来为:atlassian-jira 文件夹,然后覆盖 E:\jira\atlassian-jira,
第五步:直接复制下面代码覆盖E:\jira\conf\server.xml

<Server port="8005" shutdown="SHUTDOWN">

<Service name="Catalina">

<Connector port="8080"
maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" useBodyEncodingForURI="true"
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="false">
<Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
username="root"
password="root"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost/jiradb?autoReconnect=true&useUnicode=true&characterEncoding=UTF8"
minEvictableIdleTimeMillis="4000"
timeBetweenEvictionRunsMillis="5000"
maxActive="20" />

<!-- NOTE: When a database server reboots or their is a network failure all the connections in the
* connection pool are broken and normally this requires a Application Server reboot. If you include the
* parameter validationQuery="{QUERY FOR YOUR DB HERE} as show below a new connection is created to replace it.
* For more information see http://confluence.atlassian.com/display/JIRA/Surviving+Connection+Closures
*
* validationQuery="Select 1"
-->

<!-- NOTE: If you use a database other than hsqldb:
* delete the minEvictableIdleTimeMillis and timeBetweenEvictionRunsMillis attributes
* change the database type in atlassian-jira/WEB-INF/classes/entityengine.xml
-->

<Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction"
factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>
<Manager pathname=""/>
</Context>

</Host>

<!--
Enable access logging.

This should produce access_log.<date> files in the 'logs' directory.

The output access log lies has the following fields :

IP Request_Id User Timestamp "HTTP_Method URL Protocol_Version" HTTP_Status_Code ResponseSize_in_Bytes RequestTime_In_Millis Referer User_Agent ASESSIONID

eg :

192.168.3.238 1243466536012x12x1 admin [28/May/2009:09:22:17 +1000] "GET /jira/secure/admin/jira/IndexProgress.jspa?taskId=1 HTTP/1.1" 200 24267 1070 "http://carltondraught.sydney.atlassian.com:8090/jira/secure/admin/jira/IndexAdmin.jspa" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10" "C2C99B632EE0F41E90F8EF7A201F6A78"

NOTES:

The RequestId is a millis_since_epoch plus request number plus number of concurrent users

The Request time is in milliseconds

The ASESSIONID is an MD5 hash of the JSESSIONID and hence is safe to publish within logs. A session cannot be reconstructed from it.

See http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html for more information on Tomcat Access Log Valves
-->
<Valve className="org.apache.catalina.valves.AccessLogValve" resolveHosts="false"
pattern="%a %{jira.request.id}r %{jira.request.username}r %t "%m %U%q %H" %s %b %D "%{Referer}i" "%{User-Agent}i" "%{jira.request.assession.id}r""/>

</Engine>

<!-- To run JIRA via HTTPS:
* Uncomment the Connector below
* Execute:
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
with a password value of "changeit" for both the certificate and the keystore itself.
* If you are on JDK1.3 or earlier, download and install JSSE 1.0.2 or later, and put the JAR files into
"$JAVA_HOME/jre/lib/ext"
* Restart and visit https://localhost:8443/

For more info, see http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html
-->
<!--
<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" useBodyEncodingForURI="true"/>
-->

<!-- To connect to an external web server (typically Apache) -->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<!--
<Connector port="8009"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
-->


</Service>

<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>

</Server>
</code>

第六步:目录 E:\jira\atlassian-jira\WEB-INF\classes\entityengine.xml文件中的 <datasource name="defaultDS" field-type-name="hsql"........</datasource> 用以下代码替换:
[code="java"]
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE entity-config PUBLIC "-//OFBiz//DTD Entity Engine Config//EN" "http://www.ofbiz.org/dtds/entity-config.dtd">
<!--
This file configures the OFBiz Entity Engine which JIRA uses to store persist data in a datasource.

For detailed configuration help see:

http://www.atlassian.com/software/jira/docs/latest/entityengine.html

Or our server specific setup guides (these take you through the setup process for each server):

http://www.atlassian.com/software/jira/docs/latest/servers/

Normally, you will only need to edit the 'field-type-name' attribute of the <datasource> tag, near the bottom of this
file.

Less commonly, you may wish to change then JNDI lookup paths for:
- the Transaction Manager (<transaction-factory> element)
- Database connection (<jndi-jdbc> element).

If you not using the 12 preconfigured DBs, you may also need to add your own field type definition
-->
<entity-config>
<resource-loader name="maincp" class="org.ofbiz.core.config.ClasspathLoader"/>

<!-- TRANSACTION FACTORY - This configures how JIRA finds the application server's transaction management.
The default ('java:comp/UserTransaction') is fine except for Tomcat 5.5 ('java:comp/env/UserTransaction'), JBoss and
Resin.
- see:
http://www.atlassian.com/software/jira/docs/latest/entityengine.html#transactionfactory
-->
<transaction-factory class="org.ofbiz.core.entity.transaction.JNDIFactory">
<user-transaction-jndi jndi-server-name="default" jndi-name="java:comp/env/UserTransaction"/>
<transaction-manager-jndi jndi-server-name="default" jndi-name="java:comp/env/UserTransaction"/>
</transaction-factory>

<delegator name="default" entity-model-reader="main" entity-group-reader="main">
<group-map group-name="default" datasource-name="defaultDS"/>
</delegator>

<entity-model-reader name="main">
<resource loader="maincp" location="entitydefs/entitymodel.xml"/>
</entity-model-reader>

<entity-group-reader name="main" loader="maincp" location="entitydefs/entitygroup.xml"/>

<field-type name="cloudscape" loader="maincp" location="entitydefs/fieldtype-cloudscape.xml"/>
<field-type name="firebird" loader="maincp" location="entitydefs/fieldtype-firebird.xml"/>
<field-type name="hsql" loader="maincp" location="entitydefs/fieldtype-hsql18.xml"/>
<field-type name="mckoidb" loader="maincp" location="entitydefs/fieldtype-mckoidb.xml"/>
<field-type name="mysql" loader="maincp" location="entitydefs/fieldtype-mysql.xml"/>
<field-type name="mssql" loader="maincp" location="entitydefs/fieldtype-mssql.xml"/>
<!--
This field type is deprecated, and should ONLY be used with Oracle 8i.
If you are using Oracle 9i or 10g please use Oracle 10g JDBC drivers and the 'oracle10g' field type, which is specified below
-->
<field-type name="oracle" loader="maincp" location="entitydefs/fieldtype-oracle.xml"/>
<!--
Please use this field type for Oracle 9i and 10g. Please ensure that you are using Oracle 10g JDBC drivers which are compatible with Oracle 9i.
The 10g JDBC drivers can be downloaded from here: http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
-->
<field-type name="oracle10g" loader="maincp" location="entitydefs/fieldtype-oracle10g.xml"/>
<field-type name="postgres" loader="maincp" location="entitydefs/fieldtype-postgres.xml"/>
<field-type name="postgres72" loader="maincp" location="entitydefs/fieldtype-postgres72.xml"/> <!-- use for postgres 7.2 and above -->
<field-type name="sapdb" loader="maincp" location="entitydefs/fieldtype-sapdb.xml"/>
<field-type name="sybase" loader="maincp" location="entitydefs/fieldtype-sybase.xml"/>
<field-type name="db2" loader="maincp" location="entitydefs/fieldtype-db2.xml"/>
<!--
JRA-4202: FrontBase has 'type' and 'position' as reserved words so make the following changes the entitymodel.xml
<field name="type" type="short-varchar"/> to <field name="type" col-name="TYPE_" type="short-varchar"/>
<field name="type" type="long-varchar"/> to <field name="type" col-name="TYPE_" type="long-varchar"/>
<field name="position" type="integer"/> to <field name="position" col-name="POSITION_" type="integer"/>
-->
<field-type name="frontbase" loader="maincp" location="entitydefs/fieldtype-frontbase.xml"/>


<!-- DATASOURCE - You will need to update this tag for your installation.

1. Update field-type-name attribute to match your database.
Possible values include: cloudscape, db2, firebird, frontbase, hsql, mckoidb, mysql, mssql, oracle10g, oracle, postgres, postgres72, sapdb, sybase
2. If using Orion or JBoss you will need to customize the <jndi-jdbc> tag.
See http://www.atlassian.com/software/jira/docs/latest/servers/
3. If using Postgres 7.3+ (schema-aware), use:
field-type-name="postgres72"
and:
schema-name="public"
in the datasource attribute list below.
4. If using DB2, add:
constraint-name-clip-length="15"
to the datasource attribute list below, and an appropriate schema-name attribute, eg:
schema-name="DB2INST1"
5. If not using HSQLDB remove:
schema-name="PUBLIC"

PLEASE DO NOT CHANGE the datasource name from
defaultDS unless instructed to by Atlassian Support.

PLEASE DO NOT set the use-foreign-key* values to "true" as JIRA does not currently support this.
-->
<datasource name="defaultDS" field-type-name="mysql"
helper-class="org.ofbiz.core.entity.GenericHelperDAO"
check-on-start="true"
use-foreign-keys="false"
use-foreign-key-indices="false"
check-fks-on-start="false"
check-fk-indices-on-start="false"
add-missing-on-start="true"
check-indices-on-start="true">
<jndi-jdbc jndi-server-name="default" jndi-name="java:comp/env/jdbc/JiraDS"/>
<!-- Orion format: <jndi-jdbc jndi-server-name="default" jndi-name="jdbc/JiraDS"/> -->
<!-- JBoss format: <jndi-jdbc jndi-server-name="default" jndi-name="java:/JiraDS"/> -->
<!-- Weblogic format: <jndi-jdbc jndi-server-name="default" jndi-name="JiraDS"/> -->
</datasource>
</entity-config>


第七步:
启动 E:\jira\bin\startup.bat,
登录:http://localhost:8080/
在页面下部有输入授权码的地方:
复制以下代码:特别注意,复制出来每行前边如果有‘#’,要去掉,每行结束有看不见的空格,要去掉,否则 非法的授权码。
Java代码


Description=JIRA\: COMMERCIAL
CreationDate=2011-11-08
ContactName=renwg@rockontrol.com
jira.LicenseEdition=ENTERPRISE
ContactEMail=renwg@rockontrol.com
Evaluation=false
jira.LicenseTypeName=COMMERCIAL
jira.active=true
licenseVersion=2
MaintenanceExpiryDate=2012-11-08
Organisation=haha
jira.NumberOfUsers=-1
ServerID=B6FW-B4KW-J1A3-4DQB
LicenseID=LID
LicenseExpiryDate=2012-11-08
PurchaseDate=2011-11-08
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

啊_sdf12

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值