一、安装JDK+tomcat
  1.下载JDK
  http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html
  2.安装JDK(RPM方式)
  rpm -ivh jdk-7u2-linux-i586.rpm
  3.下载tomcat
  wget http://apache.etoak.com/tomcat/tomcat-7/v7.0.23/bin/apache-tomcat-    7.0.23.tar.gz
  4.安装tomcat
  tar zxvf apache-tomcat-7.0.23.tar.gz
  mv apache-tomcat-7.0.23 /usr/local/tomcat
  修改/etc/profile
  export CATALINA_HOME=/usr/local/tomcat
  export CLASSPATH=$JAVA_HOME/lib:$CATALINA_HOME/lib
  export PATH=$PATH:$CATALINA_HOME/bin
  export JAVA_HOME=/usr/java/jdk1.7.0_02
  source /etc/profile
  /usr/local/tomcat/bin/catalina.sh start (关闭tomcat ./shutdown.sh stop)
  java -version
  屏幕输出:
  java version "1.7.0_02"
  Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
  Java HotSpot(TM) Client VM (build 22.0-b10, mixed mode, sharing)
  安装完毕
  netstat -ntl |grep 8080
  http://localhost:8080/
  5.安装JIRA
  wget http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-4.4.4-x32.bin
  wget http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-4.4.4-x64.bin
  chmod 755 atlassian-jira-4.4.4-x32.bin
  ./atlassian-jira-4.4.4-x32.bin