I. Installation
1. The installation steps for Linux & MySql & JDK are omitted. I use Debian5 + MySql5 + JDK6
2. Download JIRA4.2: http://www.atlassian.com/software/jira/JIRADownloadCenter.jspa
Note: Select standalone 4.2.
3.decompress the downloaded atlassian-jira-enterprise-4.2-standalone.tar.gz file to the/usr/local/jira directory.
4. Technical support for JIRA databases in MySql
Create database jiradb character set utf8;
Grant all on jiradb. * to 'jira '@ 'localhost' identified by 'jira'
5. Modify JIRA configurations
5.1 create a jira. home folder
Mkdir-p/usr/local/jira_home
5.2 Modify/usr/local/jira/atlassian-jira/WEB-INF/classes jira-application.properties File
Find jira. home =
Change to jira. home =/usr/local/jira_home absolute path
Note: The jira. home folder cannot be set to the jira root directory and Its subdirectories. I am not sure about the usage of this directory. It is estimated that it is used by the jira program to put temporary files.
5.3 modify the/usr/local/jira/conf/server. xml file
Modify to the following items:
Username = "jira"
Password = "jira"
DriverClassName = "com. mysql. jdbc. Driver"
Url = "jdbc: mysql: // localhost/jiradb? AutoReconnect = true & amp; useUnicode = true & amp; characterEncoding = UTF8"
Delete the following two rows
MinEvictableIdleTimeMillis = "4000"
TimeBetweenEvictionRunsMillis = "5000"
5.4 modify the/usr/local/jira/atlassian-jira/WEB_INF/classes/entityengine. xml file
Change the hsql to the mysql database type.
<Datasource name = "defaultDS" field-type-name = "hsql"
Changed:
<Datasource name = "defaultDS" field-type-name = "mysql"
Delete schema-name = "PUBLIC"
Ii. Cracking
1. Download the crack patch (jira_crack.zip)
: Http://download.csdn.net/source/2812878
2. Use the jiralicensestoreimpl. Class file in the crack patch to overwrite the/usr/local/Jira/Atlassian-Jira/web_inf/classes/COM/Atlassian/Jira/license/jiralicensestoreimpl
3. use version2licensedecoder in the crack patch. class file override/usr/local/Jira/Atlassian-Jira/web_inf/lib/atlassian-extras-2.2.2.jar package in atlassian-extras-2.2.2.jar \ com \ Atlassian \ extras \ decoder \ V2 \ version2licensedecoder. class File
Note: The jar package can be opened with WinRAR and overwritten by dragging.
4. Run the Jira Service
/Usr/local/Jira/bin/startup. Sh
5. Configure Jira on the Web
Official Document http://www.atlassian.com/software/jira/docs/v3.13/setup.html
Http://www.atlassian.com/software/jira/videos/jira4-overview.jsp demo
Enter the following content in the registration code input box:
# Sun Oct 25 00:50:34 CDT 2009
Description = Jira \: Commercial
Creationdate = 2009-10-25
Contactname = ct@ct.ct
JIRA. licenseedition = Enterprise
ContactEMail = ct@ct.ct
Evaluation = false
Jira. LicenseTypeName = policcial
Jira. active = true
LicenseVersion = 2
MaintenanceExpiryDate = 2010-10-24
Organisation = haha
Jira. NumberOfUsers =-1
ServerID = replace this with the ID value above the input box
LicenseID = LID
LicenseExpiryDate = 2010-10-24
PurchaseDate = 2009-10-25
Configuration successful ....