P to P

          何以解憂,唯有學習!讓每一個人都能Open Source
          posts - 4, comments - 12, trackbacks - 0, articles - 11
          昨晚下班,在好友jackrong處聽聞JIRA,就立刻下載,安裝使用一下,網(wǎng)上有一些安裝的介紹的文章,但是,有一些誤區(qū),這里就寫下自己的安裝經(jīng)驗。
          ?????????JIRA是由www.atlassian.com開發(fā)的基于J2EE的問題跟蹤管理系統(tǒng),它正被廣泛的被開源軟件組織,以及全球著名的軟件公司使用,它堪稱是J2EE的Bugzilla。
          ?????????JIRA下載地址http://www.atlassian.com/software/jira
          ?????????我下載的是jira-enterprise-3.5.3的。
          ?????????下載回來后,解壓出來,首先你要檢查一下你是否安裝了JDK,如果連JDK都沒裝那你就不要看本文算了,(不裝JDK,那是搞JAVA的)呵呵,開玩笑
          ?????????安裝了JDK,你還要安裝數(shù)據(jù)庫,數(shù)據(jù)庫可以選擇MySql,或者是Oracle,MSSQL支持不支持不太清楚,等我再找找官方資料再說吧,現(xiàn)在沒空
          ?????????好,現(xiàn)在我們以MySql為例,裝好數(shù)據(jù)庫后還要下載JDBC驅動這可以在MySql官方網(wǎng)站http://www.mysql.com/上可以找到,這里有一點要注意的,就是網(wǎng)上的資料說

          -----------------下以是引用的------------------------------------
          Mysql JDBC驅動:mysql-connector-java-3.0.14-production-bin.jar ;

          注意:Mysql數(shù)據(jù)庫版本和JDBC驅動要選擇好版本,不然容易出現(xiàn)中文亂碼。

          ---------------------------------------------------------------------------------------------------------------------------
          它沒有說清楚用的是什么版本的,
          測試證明,用4.1版本的MySQL跟3.1.8還是會出現(xiàn)亂碼,主要表面在在JIRA在項目信息或是描述為中文是,查看時會出現(xiàn)亂碼,這是,我后來改用5。0的,字符集沒變,問題解決。

          接下來就配置conf/server.xml 這個文件了(這個文件不知道在那?KAO,TOMCAT配置過了吧,不懂的BAIDU一下多得是)

          ---------------------------以下引用官方的說明-------------------

          1. Edit conf/server.xml (or conf/Catalina/localhost/jira.xml if you're not using Standalone), and customize the username, password, driverClassName, and url parameters for the Datasource (here assuming MySQL). Please refer to one of the sections below that applies to your database for more information.

            <Server port="8005" shutdown="SHUTDOWN">
            
              <Service name="Catalina">
            
                <Connector port="8080"
                  maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
                  enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" />
            
                <Engine name="Catalina" defaultHost="localhost">
                  <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
            
                    <Context path="" docBase="${catalina.home}/atlassian-jira" reloadable="true">
                      <Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
                        username="[enter db username]"
                        password="[enter db password]"
                        driverClassName="com.mysql.jdbc.Driver"
                        url="jdbc:mysql://localhost/jiradb?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=UTF8"
                        [ delete the minEvictableIdleTimeMillis and timeBetweenEvictionRunsMillis params here ]
                        />
            
                      <Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction"
                        factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>
                      <Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"/>
                    </Context>
            
                  </Host>
                </Engine>
              </Service>
            </Server>

            Note: if you can't find this section at all, you've probably got the wrong file - search for mentions of 'jira' in the files under conf/, or ask the person who installed JIRA in Tomcat.

          -----------------------------------------------------------------------------------------------------------------------

          E文不會看,好,那我就說一下吧,其它的不用你理,你主要注意改一下加粗那部份username為你數(shù)據(jù)庫的用戶名,password為密碼如果用MySql的,driverClassName不用改了。jiradb為數(shù)據(jù)庫名,如果你沒改也不需要改了。

          好下面我們來配置第二個文件

          ---------------------------以下引用官方的說明-------------------

          Edit atlassian-jira/WEB-INF/classes/entityengine.xml, and change the field-type-name attribute to the value for your database (valid values are listed in the file). As noted in the comment, other databases/appservers may require other entityengine.xml changes:

          <!-- DATASOURCE - You will need to update this tag for your installation.
          
              1. Update field-type-name attribute to match your database.
              Possible values include: cloudscape, db2, firebird, frontbase, hsql, mckoidb, mysql, mssql, oracle, postgres, postgres72, sapdb, sybase
              2. If using Orion, JBoss or Jetty you will need to customize the <jndi-jdbc> tag.
                See http://www.atlassian.com/software/jira/docs/latest/servers/
              3. If using Postgres 7.3+ (schema-aware), add:
                  schema-name="public"
                to the datasource attribute list below.
               If using DB2, add:
                  constraint-name-clip-length="15"
                to the datasource attribute list below, and an appropriate schema-name attribute, eg:
                  schema-name="DB2INST1"
           -->
           <datasource name="defaultDS" field-type-name="mysql"
                  helper-class="org.ofbiz.core.entity.GenericHelperDAO"
                check-on-start="true"
                ...
              

          If you forget to do this and start JIRA, it may create database tables incorrectly. See this page if this happens to you
          ---------------------------------------------------------------------------------------------------------------------------

          看到加粗的地方?jīng)]有,用mysql的,就改mysql,這是數(shù)據(jù)庫類型啊。
          接下來是最后一項了,運行Mysql命令行,新建一個名為jiradb的數(shù)據(jù)庫,(如果剛才沒改的話)

          好了,現(xiàn)在你可以運行了,運行%JIRA_HOME%\bin\startup.bat? 接下來,運行http://localhost:8080
          看到效果了吧,現(xiàn)在才是真正的安裝呢,這個過程,它要你輸入用戶名,密碼,跟一些信息,還要輸入license,這個東西你可以在官方主頁上生成一個30天試用期的,具休怎么獲得,這里我不講了,我有3.5.3的破解,可以用一年的,是好友jackrong給的,要的朋友可以聯(lián)系我。
          ??????好了,這篇是我的處女作啊,介紹得不好,希望大家指點,一起學習,一起進步!

          Feedback

          # re: JIRA安裝手記  回復  更多評論   

          2006-07-19 10:32 by 佚名
          謝謝!

          # re: JIRA安裝手記  回復  更多評論   

          2006-07-20 09:56 by sunbeam
          請問jira能用在php項目的管理上嗎?可以的話,請問安裝部署有什么區(qū)別。
          我的開發(fā)環(huán)境是rh linux 4 + apache2 +mysql5 +php5

          # re: JIRA安裝手記  回復  更多評論   

          2006-07-30 21:04 by nomigd
          JIRA是一個通用的bug/缺陷跟蹤管理軟件工具。
          可以用在php項目的bug跟蹤管理。
          安裝部署方面沒有特殊的地方。
          建議您可以下載JIRA的standalone版本進行評估試用。因為JIRA的Standalone版本集成了Tomcat和HSQL數(shù)據(jù)庫,您下載后解壓縮到硬盤上,然后直接運行\(zhòng)bin\目錄下的startup.bat就可以運行JIRA了。

          JIRA下載URL:
          http://www.atlassian.com/software/jira/JIRAEvaluationDownload!default.jspa?product=jira

          JIRA基礎資料下載鏈接:
          http://www.czsm.com.cn/bbs/viewtopic.php?t=428

          # re: JIRA安裝手記  回復  更多評論   

          2007-04-10 17:05 by weiyh
          介紹得真不錯!
          能給我發(fā)一份3.5.3的破解嗎?非常感謝!!!
          我的EMAIL:weiyh0314@126.com

          # re: JIRA安裝手記  回復  更多評論   

          2008-07-16 16:12 by snty520
          最近要用到JIRA
          能給我發(fā)一份3.5.3的破解嗎
          snty520@163.com
          謝了

          # re: JIRA安裝手記  回復  更多評論   

          2008-07-22 15:12 by nomigd
          對不起,這已經(jīng)是很久的事情了,都不知放那了.
          下面有一個介紹,我記得我之前也是跟他這樣破解的。
          http://www.aygfsteel.com/freddychu/archive/2005/11/05/18319.html

          # re: JIRA安裝手記  回復  更多評論   

          2008-12-02 11:22 by nikita
          than's幫了我很大忙

          # re: JIRA安裝手記  回復  更多評論   

          2009-10-17 16:46 by amy
          不錯哦,我也裝了,但沒找到破解,能不能給我發(fā)一個3.5.3的破解嗎?非常感謝!!!
          我的EMAIL:gengxuefang@126.com

          # re: JIRA安裝手記  回復  更多評論   

          2009-11-26 10:50 by 王小灑
          寫得不錯。便于參考

          # re: JIRA安裝手記  回復  更多評論   

          2009-11-26 10:50 by 王小灑
          可我不能像你這樣寫的簡短,我得寫一篇完整的安裝部署文檔才行。
          主站蜘蛛池模板: 普宁市| 康乐县| 尼勒克县| 南漳县| 普安县| 梅河口市| 天津市| 开化县| 桓台县| 乐安县| 信宜市| 安塞县| 成都市| 比如县| 铜川市| 延川县| 武隆县| 上蔡县| 平陆县| 禹城市| 桐乡市| 竹北市| 重庆市| 宝兴县| 祁门县| 临夏县| 福州市| 札达县| 嘉兴市| 金堂县| 石家庄市| 绵阳市| 吉木萨尔县| 汽车| 长宁区| 丹江口市| 六盘水市| 金坛市| 靖安县| 五莲县| 九江市|