• jira 4.0.2 的详细安装+破解


    准备条件:
    环境变量:JAVA_HOME=C:\jdk1.6.0_10(注意jdk版本>=此版本)
    第一步:下载jira http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-4.0.2-standalone.zip,解压 to E:/jira
    第二步:下载Mysqlhttp://download.mysql.cn/download_file/zip/5.0/mysql-5.0.18-win32.zip 创建数据库:(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
    Java代码  收藏代码
    1. <Server port="8005" shutdown="SHUTDOWN">  
    2.   
    3.   <Service name="Catalina">  
    4.   
    5.     <Connector port="8080"  
    6.       maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" useBodyEncodingForURI="true"  
    7.       enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" />  
    8.   
    9.     <Engine name="Catalina" defaultHost="localhost">  
    10.       <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">  
    11.   
    12.         <Context path="" docBase="${catalina.home}/atlassian-jira" reloadable="false">  
    13.           <!--Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"  
    14.             username="sa"  
    15.             password=""  
    16.             driverClassName="org.hsqldb.jdbcDriver"  
    17.             url="jdbc:hsqldb:${catalina.home}/database/jiradb"  
    18.             minEvictableIdleTimeMillis="4000"  
    19.             timeBetweenEvictionRunsMillis="5000"  
    20.             maxActive="20" /-->  
    21.             <Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"  
    22.             username="root"  
    23.             password="123456"  
    24.             driverClassName="com.mysql.jdbc.Driver"  
    25.             url="jdbc:mysql://localhost/jiradb?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=UTF8"  
    26.             maxActive="20" />  
    27.   
    28.           <!-- NOTE: When a database server reboots or their is a network failure all the connections in the  
    29.           * connection pool are broken and normally this requires a Application Server reboot. If you include the  
    30.           * parameter validationQuery="{QUERY FOR YOUR DB HERE} as show below a new connection is created to replace it.  
    31.           * For more information see http://confluence.atlassian.com/display/JIRA/Surviving+Connection+Closures  
    32.           *  
    33.           * validationQuery="Select 1"  
    34.              -->  
    35.   
    36.           <!-- NOTE: If you use a database other than hsqldb:  
    37.           * delete the minEvictableIdleTimeMillis and timeBetweenEvictionRunsMillis attributes  
    38.           * change the database type in atlassian-jira/WEB-INF/classes/entityengine.xml  
    39.           -->  
    40.   
    41.           <Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction"  
    42.             factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>  
    43.           <Manager pathname=""/>  
    44.         </Context>  
    45.   
    46.       </Host>  
    47.   
    48.       <!--  
    49.             Enable access logging.  
    50.   
    51.             This should produce access_log.<date> files in the 'logs' directory.  
    52.   
    53.             The output access log lies has the following fields :  
    54.   
    55.             IP Request_Id User Timestamp  "HTTP_Method URL Protocol_Version" HTTP_Status_Code ResponseSize_in_Bytes RequestTime_In_Millis Referer User_Agent ASESSIONID  
    56.   
    57.             eg :  
    58.   
    59.             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"  
    60.   
    61.             NOTES:  
    62.   
    63.             The RequestId is a millis_since_epoch plus request number plus number of concurrent users  
    64.   
    65.             The Request time is in milliseconds  
    66.   
    67.             The ASESSIONID is an MD5 hash of the JSESSIONID and hence is safe to publish within logs.  A session cannot be reconstructed from it.  
    68.   
    69.             See http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html for more information on Tomcat Access Log Valves  
    70.        -->  
    71.       <Valve className="org.apache.catalina.valves.AccessLogValve" resolveHosts="false"  
    72.               pattern="%a %{jira.request.id}r %{jira.request.username}r %t &quot;%m %U%q %H&quot; %s %b %D &quot;%{Referer}i&quot; &quot;%{User-Agent}i&quot; &quot;%{jira.request.assession.id}r&quot;"/>  
    73.   
    74.     </Engine>  
    75.   
    76.         <!-- To run JIRA via HTTPS:  
    77.               * Uncomment the Connector below  
    78.               * Execute:  
    79.                   %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)  
    80.                   $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA  (Unix)  
    81.                 with a password value of "changeit" for both the certificate and the keystore itself.  
    82.               * If you are on JDK1.3 or earlier, download and install JSSE 1.0.2 or later, and put the JAR files into  
    83.                 "$JAVA_HOME/jre/lib/ext"  
    84.               * Restart and visit https://localhost:8443/  
    85.   
    86.               For more info, see http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html  
    87.          -->  
    88.         <!--  
    89.             <Connector port="8443" maxHttpHeaderSize="8192"  
    90.               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"  
    91.               enableLookups="false" disableUploadTimeout="true"  
    92.               acceptCount="100" scheme="https" secure="true"  
    93.               clientAuth="false" sslProtocol="TLS" useBodyEncodingForURI="true"/>  
    94.         -->  
    95.   
    96.         <!-- To connect to an external web server (typically Apache) -->  
    97.         <!-- Define an AJP 1.3 Connector on port 8009 -->  
    98.         <!--  
    99.             <Connector port="8009"  
    100.               enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />  
    101.         -->  
    102.   
    103.   
    104.   </Service>  
    105.   
    106.   <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />  
    107.   <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />  
    108.   <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>  
    109.   
    110. </Server>  

    第六步:目录 E:\jira\atlassian-jira\WEB-INF\classes\entityengine.xml文件中的 <datasource name="defaultDS" field-type-name="hsql"........</datasource> 用以下代码替换:
    Java代码  收藏代码
    1. <datasource name="defaultDS" field-type-name="mysql"  
    2.       helper-class="org.ofbiz.core.entity.GenericHelperDAO"  
    3.       check-on-start="true"  
    4.       use-foreign-keys="false"  
    5.       use-foreign-key-indices="false"  
    6.       check-fks-on-start="false"  
    7.       check-fk-indices-on-start="false"  
    8.       add-missing-on-start="true"  
    9.       check-indices-on-start="true">  
    10.         <jndi-jdbc jndi-server-name="default" jndi-name="java:comp/env/jdbc/JiraDS"/>  
    11. <!-- Orion format: <jndi-jdbc jndi-server-name="default" jndi-name="jdbc/JiraDS"/> -->  
    12. <!-- JBoss format: <jndi-jdbc jndi-server-name="default" jndi-name="java:/JiraDS"/> -->  
    13. <!-- Weblogic format: <jndi-jdbc jndi-server-name="default" jndi-name="JiraDS"/> -->  
    14.     </datasource>  

    第七步:
           启动 E:\jira\bin\startup.bat,
          登录:http://localhost:8080/
          在页面下部有输入授权码的地方:
           复制以下代码:特别注意,复制出来每行前边如果有‘#’,要去掉,每行结束有看不见的空格,要去掉,否则 非法的授权码。
    Java代码  收藏代码
    1. Description=JIRA\: COMMERCIAL  
    2. CreationDate=2009-10-25  
    3. ContactName=haha@haha.haha  
    4. jira.LicenseEdition=ENTERPRISE  
    5. ContactEMail=haha@haha.haha  
    6. Evaluation=false  
    7. jira.LicenseTypeName=COMMERCIAL  
    8. jira.active=true  
    9. licenseVersion=2  
    10. MaintenanceExpiryDate=2010-10-24  
    11. Organisation=haha  
    12. jira.NumberOfUsers=-1  
    13. ServerID=B6FW-B4KW-J1A3-4DQB  
    14. LicenseID=LID  
    15. LicenseExpiryDate=2010-10-24  
    16. PurchaseDate=2009-10-25  

    点击 “下一步”,到步骤二
    页面如下:

    点击:“下一步”,页面如下:

    完成,可以登录了。



    参考资料:http://www.blogjava.net/haha1903/archive/2009/11/01/300609.html
    http://hi.baidu.com/ostech/blog/item/f5b4941a1ab4f60c34fa4159.html
  • 相关阅读:
    系统数据库如何恢复Master数据库
    在Orderby子句中使用CASE 语句
    SQL NOTECURSOR
    MVC 中静态文件部分动态化
    SQL NOTCTE
    Get data style from Excel
    SQL NOTPARTITION
    LAMDA表达式学习
    SQL NOTEVARIABLE
    起II6.0中使用windows2003自带的虚拟主机管理系统
  • 原文地址:https://www.cnblogs.com/snowhumen/p/3026261.html
Copyright © 2020-2023  润新知