<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    廉頗老矣,尚能飯否

    java:從技術到管理

    常用鏈接

    統計

    最新評論

    JIRA安裝手記【轉載】

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

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

    注意:Mysql數據庫版本和JDBC驅動要選擇好版本,不然容易出現中文亂碼。

    ---------------------------------------------------------------------------------------------------------------------------
    它沒有說清楚用的是什么版本的,
    測試證明,用4.1版本的MySQL跟3.1.8還是會出現亂碼,主要表面在在JIRA在項目信息或是描述為中文是,查看時會出現亂碼,這是,我后來改用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為你數據庫的用戶名,password為密碼如果用MySql的,driverClassName不用改了。jiradb為數據庫名,如果你沒改也不需要改了。

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

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

    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
    ---------------------------------------------------------------------------------------------------------------------------

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

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



    柳德才
    13691193654
    18942949207
    QQ:422157370
    liudecai_zan@126.com
    湖北-武漢-江夏-廟山

    posted on 2009-04-28 14:13 liudecai_zan@126.com 閱讀(1625) 評論(0)  編輯  收藏 所屬分類: 程序人生

    主站蜘蛛池模板: 亚洲成年人电影在线观看| 欧亚一级毛片免费看| 波多野结衣久久高清免费| 猫咪免费人成网站在线观看入口| 最新国产AV无码专区亚洲| 在线视频精品免费| 污网站在线观看免费| 亚洲色av性色在线观无码| 伊人久久亚洲综合影院| 51精品视频免费国产专区| 中美日韩在线网免费毛片视频| 久久亚洲精精品中文字幕| 国产男女猛烈无遮挡免费视频 | 一级成人a做片免费| 亚洲日本在线播放| 中文字幕亚洲综合久久菠萝蜜| 国产免费女女脚奴视频网 | 91人成网站色www免费下载| 青娱乐在线免费观看视频| 亚洲男人电影天堂| 亚洲自偷自偷在线制服| 免费无码一区二区三区蜜桃大| 暖暖免费在线中文日本| 中美日韩在线网免费毛片视频| 亚洲成年网站在线观看| 亚洲国产精品无码久久一区二区 | 免费观看成人久久网免费观看| 亚洲av日韩av永久在线观看| 亚洲精品日韩中文字幕久久久| 中文字幕在亚洲第一在线| 夫妻免费无码V看片| 最近免费中文字幕mv在线电影| 精选影视免费在线 | 美女黄频a美女大全免费皮| 精品久久亚洲中文无码| 久久精品a亚洲国产v高清不卡| 国产亚洲精品无码专区| 亚洲а∨天堂久久精品| 日韩在线a视频免费播放| 噼里啪啦免费观看高清动漫4 | 免费又黄又爽的视频|