qileilove

          blog已經轉移至github,大家請訪問 http://qaseven.github.io/

          JIRA的安裝配置

          一、安裝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
          出現提示:
            Unpacking JRE ...
            Starting Installer ...
            This will install JIRA 4.4 on your computer.  #安裝jira4.4在你的機器上。
            OK [o, Enter], Cancel [c]                 # 按回車確認安裝
            If JIRA is already installed on this machine, please read the following information carefully.Please choose between creating a new JIRA installation or upgrading an existing JIRA installation.
            #如果j ira已經安裝在這臺機器,請閱讀以下資料仔細。請選擇創建一個新的j ira之間安裝或升級現有的jira安裝。
            Create a new JIRA installation. [1, Enter], Upgrade an existing JIRA installation. [2]  #直接回車,安裝新的
            #創建一個新的j ira安裝[1],更新現有的jira安裝[2]。
            Where should JIRA 4.4 be installed?  #安裝路徑。本人安裝在/usr/local/jira ,在后面輸入/usr/local/jira ,按回車;
            [/opt/atlassian/jira]
            /usr/local/jira
            Default location for JIRA data    #存放數據路徑,本人安裝在/usr/local/jira_home,在后面輸入/usr/local/jira_home ,按回車;
            [/var/atlassian/application-data/jira]
            /usr/local/jira_home
            Configure which ports JIRA will use.
            JIRA requires two TCP ports that are not being used by any other
            applications on this machine. The HTTP port is where you will access JIRA
            through your browser. The Control port is used to Startup and Shutdown JIRA.
            #配置一種端口。需要兩個TCP端口j ira不被任何其他應用占用。HTTP端口,你將通過瀏覽器訪問jira
            Use default ports (HTTP: 8080, Control: 8005) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2]
            #使用默認端口(HTTP:8080 ,控制:8005)——建議[1]],
            JIRA can be run in the background.
            You may choose to run JIRA as a service, which means it will start
            automatically whenever the computer restarts.
            Install JIRA as Service?
            Yes [y, Enter], No [n]             #按回車
            #讓 j ira可以在后臺運行。當計算機重啟時自動啟動jira程序。
            Setup has finished installing JIRA 4.4 on your computer.
            JIRA 4.4 can be accessed at http://localhost:8080
            Finishing installation ...
            下載插件文件:
            對于JIRA4.3及以上版本,將文件名稱修改為jira-lang-zh_CN-JIRA版本號.jar
            將插件復制到JIRA安裝路徑下:/usr/local/jira/atlassian-jira/WEB-INF/lib
            重新啟動JIRA服務:service jira start
            停止JIRA服務:server jiar stop
            6.安裝mysql驅動
            wget http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-       java-5.1.13.tar.gz/from/http://gd.tuwien.ac.at/db/mysql/
            tar zxvf java-5.1.13.tar.gz
            cp mysql-connector-java-5.1.13-bin.jar /usr/local/jira/atlassian-jira/WEB-INF/lib
            7.創建數據庫
            create database jira character set utf8;
            grant all on jira.* to 'jira'@'localhost' indentified by 'jira';
            flush privileges;
            quit;

          posted on 2014-07-31 09:44 順其自然EVO 閱讀(300) 評論(0)  編輯  收藏 所屬分類: 測試學習專欄

          <2014年7月>
          293012345
          6789101112
          13141516171819
          20212223242526
          272829303112
          3456789

          導航

          統計

          常用鏈接

          留言簿(55)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 济南市| 阿图什市| 武威市| 西充县| 天柱县| 余姚市| 靖远县| 凤山县| 乌兰县| 永定县| 广西| 板桥市| 天津市| 芜湖市| 泸西县| 阿克苏市| 平利县| 乳源| 崇阳县| 仲巴县| 永福县| 淄博市| 泰顺县| 镇雄县| 垦利县| 安康市| 上犹县| 威信县| 漳州市| 彩票| 宁陵县| 米林县| 锡林浩特市| 江山市| 沙田区| 芮城县| 遂昌县| 仪征市| 卢氏县| 潼南县| 彝良县|