P to P

何以解忧,唯有学习!让每一个人都能Open Source
posts - 4, comments - 12, trackbacks - 0, articles - 11
昨晚下班,在好友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给的,要的朋友可以联系我。
      好了,这篇是我的处女作啊,介绍得不好,希望大家指点,一起学习,一起进步!

Feedback

# re: JIRA安装手记  回复  更多评论   

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

# re: JIRA安装手记  回复  更多评论   

2006-07-20 09:56 by sunbeam
请问jira能用在php项目的管理上吗?可以的话,请问安装部署有什么区别。
我的开发环境是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数据库,您下载后解压缩到硬盘上,然后直接运行\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
介绍得真不错!
能给我发一份3.5.3的破解吗?非常感谢!!!
我的EMAIL:weiyh0314@126.com

# re: JIRA安装手记  回复  更多评论   

2008-07-16 16:12 by snty520
最近要用到JIRA
能给我发一份3.5.3的破解吗
snty520@163.com
谢了

# re: JIRA安装手记  回复  更多评论   

2008-07-22 15:12 by nomigd
对不起,这已经是很久的事情了,都不知放那了.
下面有一个介绍,我记得我之前也是跟他这样破解的。
http://www.blogjava.net/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
不错哦,我也装了,但没找到破解,能不能给我发一个3.5.3的破解吗?非常感谢!!!
我的EMAIL:gengxuefang@126.com

# re: JIRA安装手记  回复  更多评论   

2009-11-26 10:50 by 王小洒
写得不错。便于参考

# re: JIRA安装手记  回复  更多评论   

2009-11-26 10:50 by 王小洒
可我不能像你这样写的简短,我得写一篇完整的安装部署文档才行。

只有注册用户登录后才能发表评论。


网站导航: