??????????Linux+jdk+atlassian-jira-enterprise-4.0.2-standalone+mysql
????????????????jdk
????1?????jdk
????chmod +x jdk-6u21-linux-i586.bin
????./jdk-6u21-linux-i586.bin
????mv jdk1.6.0_21 /usr/local/jdk
????2??????jdk????

 

vi /etc/profile
JAVA_HOME=/usr/local/jdk
JRE_HOME=/usr/local/jdk/jre
CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar
PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME
export JRE_HOME
export PATH
export CLASSPATH
source /etc/profile

???????????mysql???????????
????mysql?????????????????2???jira???mysql??????????
????????jiradb??    mysql> create database jiradb character set utf8;
??????????????????jira_user?????1qaz@WSX???????????????
????mysql> grant all privileges on *.* to 'jira_user'@'%' identified by '1qaz@WSX ' with grant option;
????mysql> grant all privileges on *.* to ‘jira_user’@localhost identified by '1qaz@WSX ' with grant option;
????mysql> flush privileges;
???????????jira
????1??tar zxvf atlassian-jira-enterprise-4.0.2-standalone.tar.gz
????mv atlassian-jira-enterprise-4.0.2-standalone /usr/local/jira
????2) ???mysql-connector-java-5.0.8.tar.gz??
???????????mysql-connector-java-5.0.8-bin.jar ??????? /usr/local/jira/common/lib/ ????
????3) ??conf/server.xml

 

<Server port="8015" shutdown="SHUTDOWN">
<Service name="Catalina">
<Connector port="8090"
<Context path="" docBase="${catalina.home}/atlassian-jira" reloadable="false">
<Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
username="jira_user"
password="1qaz@WSX"
driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://192.168.170.102/jiradb"