<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 閱讀(1626) 評論(0)  編輯  收藏 所屬分類: 程序人生

    主站蜘蛛池模板: 一级毛片正片免费视频手机看| 亚洲电影免费观看| 亚洲色在线无码国产精品不卡| 1000部羞羞禁止免费观看视频| 亚洲av日韩av不卡在线观看| 特级做A爰片毛片免费看无码| 在线播放亚洲第一字幕| 国产又黄又爽又大的免费视频| 国产成人A人亚洲精品无码| 久久99精品视免费看| 亚洲黄色中文字幕| 四虎永久在线精品免费观看视频| 最新亚洲精品国偷自产在线 | 久久亚洲美女精品国产精品| 最近中文字幕完整版免费高清| 亚洲剧情在线观看| 天天摸天天碰成人免费视频| 国产亚洲综合视频| 国产∨亚洲V天堂无码久久久| 免费看男女下面日出水视频| 一级做a爰片性色毛片免费网站| 浮力影院亚洲国产第一页| 久久久精品免费视频| 亚洲制服丝袜在线播放| 国产国产人免费人成免费视频| 日韩免费高清一级毛片| 国产成人无码综合亚洲日韩| 可以免费看的卡一卡二| 国产AV无码专区亚洲AV琪琪 | 丁香五月亚洲综合深深爱| 污污网站18禁在线永久免费观看| 最新亚洲卡一卡二卡三新区| 区三区激情福利综合中文字幕在线一区亚洲视频1 | 抽搐一进一出gif免费视频| 亚洲AV无码乱码国产麻豆穿越| 在线观看AV片永久免费| 国产va免费精品| 亚洲国产综合在线| 亚洲裸男gv网站| 国产精品无码免费播放| WWW免费视频在线观看播放|