`
lz1130
  • 浏览: 406293 次
  • 性别: Icon_minigender_1
  • 来自: 福建
社区版块
存档分类
最新评论

jira安装配置

    博客分类:
  • jira
阅读更多
Jdk安装
chmod a+x jdk-6u16-linux-i586.bin
sudo cp jdk-6u16-linux-i586.bin /usr/local/
cd /usr/local/
sudo /usr/local/jdk-6u16-linux-i586.bin
sudo rm -f /usr/local/jdk-6u16-linux-i586.bin



设置环境变量
sudo vi /etc/profile
输入以下:
export JAVA_HOME=/usr/local/jdk1.6.0_16
export JRE_HOME=$JAVA_HOME/jre
export CLASSPATH=$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH


重启系统 (也可以不用重启系统先logout然后login)

查看java版本:
java –version



Jira安装
sudo tar zxvf atlassian-jira-enterprise-3.13.5-standalone.tar.gz
sudo cp -rf atlassian-jira-enterprise-3.13.5-standalone /home/workhome/jira


添加运行tomcat用户
sudo useradd -d /home/workhome/jira -s /usr/sbin/nologin jira


安装启动脚本
cd /home/workhome/jira/bin/
sudo tar zxvf jsvc.tar.gz
cd jsvc-src/
sudo sh support/buildconf.sh
# support/buildconf.sh: configure script generated successfully
sudo sh ./configure --with-java=/usr/local/jdk1.6.0_16
sudo make
sudo cp /home/workhome/jira/bin/jsvc-src/native/Tomcat5.sh /etc/init.d/jira
sudo chmod 755 /etc/init.d/jira


编辑启动脚本
sudo vi /etc/init.d/jira

更改以下:
#!/bin/sh
##############################################################################
#
#   Copyright 2004 The Apache Software Foundation.
#
#   Licensed under the Apache License, Version 2.0 (the "License");
#   you may not use this file except in compliance with the License.
#   You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.
##############################################################################
#
# Small shell script to show how to start/stop Tomcat using jsvc
# If you want to have Tomcat running on port 80 please modify the server.xml
# file:
#
#    <!-- Define a non-SSL HTTP/1.1 Connector on port 80 -->
#    <Connector className="org.apache.catalina.connector.http.HttpConnector"
#               port="80" minProcessors="5" maxProcessors="75"
#               enableLookups="true" redirectPort="8443"
#               acceptCount="10" debug="0" connectionTimeout="60000"/>
#
# That is for Tomcat-5.0.x (Apache Tomcat/5.0)
#
# Adapt the following lines to your configuration
JAVA_HOME=/usr/local/jdk1.6.0_16
CATALINA_HOME=/home/workhome/jira
DAEMON_HOME=/home/workhome/jira/bin
TOMCAT_USER=jira

# for multi instances adapt those lines.
TMP_DIR=/var/tmp
PID_FILE=/var/run/jsvc.pid
CATALINA_BASE=/home/workhome/jira

#CATALINA_OPTS="-Djava.library.path=/home/jfclere/jakarta-tomcat-connectors/jni/native/.libs"
#JVM Mem
CATALINA_OPTS='-Xms64m -Xmx256m'
CLASSPATH=\
$JAVA_HOME/lib/tools.jar:\
$CATALINA_HOME/bin/commons-daemon.jar:\
$CATALINA_HOME/bin/bootstrap.jar

case "$1" in
  start)
    #
    # Start Tomcat
    #
    $DAEMON_HOME/jsvc-src/jsvc \
    -user $TOMCAT_USER \
    -home $JAVA_HOME \
    -Dcatalina.home=$CATALINA_HOME \
    -Dcatalina.base=$CATALINA_BASE \
    -Djava.io.tmpdir=$TMP_DIR \
    -wait 10 \
    -pidfile $PID_FILE \
    -outfile $CATALINA_HOME/logs/catalina.out \
    -errfile '&1' \
    $CATALINA_OPTS \
    -cp $CLASSPATH \
    org.apache.catalina.startup.Bootstrap
    #
    # To get a verbose JVM
    #-verbose \
    # To get a debug of jsvc.
    #-debug \
    exit $?
    ;;

  stop)
    #
    # Stop Tomcat
    #
    $DAEMON_HOME/jsvc-src/jsvc \
    -stop \
    -pidfile $PID_FILE \
    org.apache.catalina.startup.Bootstrap
    exit $?
    ;;

  *)
    echo "Usage tomcat.sh start/stop"
    exit 1;;
esac


安装MYSQL/J JDBC 驱动
sudo cp mysql-connector-java-3.1.14-bin.jar /home/workhome/jira/common/lib/


修改tomcat配置。
sudo vi /home/workhome/jira/conf/server.xml
修改如下:
username="jira"
password="isends"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://10.3.37.110:3306/test?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=UTF8"
删除以下:
minEvictableIdleTimeMillis="4000"
timeBetweenEvictionRunsMillis="5000"


sudo vi /home/workhome/jira/atlassian-jira/WEB-INF/classes/entityengine.xml
修改如下:
<datasource name="defaultDS" field-type-name="mysql"
删除    schema-name="PUBLIC" 


建立工作目录与权限设置(权限可能有问题,测试ing):
mkdir /home/workhome/jira/sendslab
sudo chown -R jira:ftp  /home/workhome/jira


启动:
sudo /etc/init.d/jira start
如果以上有错误多半是安装jsvc.tar.gz时的错误没注意到。
可以试试以下:
/home/workhome/jira/bin/startup.sh



安装:
http://10.3.37.110:8080/
ps:各个路径最好统一放在jira的根目录
索引:/home/workhome/jira/sendslab/index
附件:/home/workhome/jira/sendslab/accessories
备份:/home/workhome/jira/sendslab/backup


开机启动
vi /etc/rc.local
加入:
sudo /etc/init.d/jira start


Subversion-Plugin安装
ps:注意Subversion-Plugin与jira的版本兼容性
兼容性可查看这里
jira的Subversion-Plugin安装看官方教程就好。也可以看安装包里的 README.txt

以下便是官方README.txt里安装配置与卸载的部分:

Subversion Plugin

Quick Install Instructions
--------------------------
1. Copy into JIRA's WEB-INF/lib (removing any existing older versions):
- lib/atlassian-jira-subversion-plugin-*.jar
- lib/svnkit-*.jar
- lib/trilead-ssh2-*.jar (only used if you are using ssh authentication for your subversion repository)

2. Edit for your installation:
- subversion-jira-plugin.properties

 NOTE: Multiple Subversion repositories are supported. You can specify a default repository (svn.root = {svn root},
etc...) and additional repositories with: svn.root.1=..., svn.root.2=..., and so on. If you do not specify the username,
password, view url, revision indexing, and revision indexing cache size for you additional repository entries then the
values will be taken from your default repository entry (in this way you do not need to copy username and password over
and over if they are the same).

3. Copy into JIRA's WEB-INF/classes
- subversion-jira-plugin.properties

4. If you are upgrading from an older version of the plugin, please delete the Subversion index directory
($jira's_index_dir}/plugins/atlassian-subversion-revisions/). The plugin will recreate it when its service first runs.

5. Restart JIRA - whew, you're done! :)
If you are using JIRA Standalone you can copy the files under the atlassian-jira sub-directory. That is, the jar files into
atlassian-jira/WEB-INF/lib and the .properties file into atlassian-jira/WEB-INF/classes.

If using the WAR distribution, create the directory edit-webapp/WEB-INF/lib and copy the jar files into it. Then copy the
.properties file into edit-webapp/WEB-INF/classes and rebuild and redeploy the JIRA war file.

(note: the first time the service runs it will take a while to index all of your existing issues - be patient)


Scheduling
----------
You can also optionally configure Subversion service's schedule to check for new commits (defaults to 1 hour)

To do this, in JIRA:
- go to the "Administration" tab
- click on the "System" menu item
- click on "Services"
- edit the Subversion Indexing Service
- update the period (in minutes) to whatever you want.


Restarting
----------
If you want to reindex all of your commits or anything goes astray, simply:
- stop the JIRA server
- delete ${jira's_index_dir}/plugins/atlassian-subversion-revisions
- start JIRA
1
0
分享到:
评论
1 楼 wj98127 2010-06-18  
我在安装svn插件的时候遇到一个问题,启动jira时,读取的subversion-jira-plugin.properties文件不是最新的,删除了jira的work目录也不管用,始终读的不是WEB-INF/classes下的新文件,请教一下,这个缓存在什么地方?

相关推荐

    jira详细的安装教程,一看就会

    README.txt 中通常会提供简要的安装指南,例如 JIRA 3.13.4 版本的指南指出,你只需确保 JDK 已安装并配置好 `JAVA_HOME`,然后启动 JIRA 即可。JIRA 启动命令通常是 `bin/startup.sh`,关闭命令是 `bin/shutdown.sh...

    JIRA服务器配置要求

    ### JIRA服务器配置要求详解 #### 一、概述 JIRA作为一款强大的项目管理和缺陷跟踪工具,被广泛应用于软件开发团队之中。为了确保JIRA能够高效稳定地运行,选择合适的服务器配置至关重要。本文将根据“JIRA服务器...

    Jira&Confluence安装配置说明

    Jira配置向导需要配置Jira系统的属性,包括标题、模式、根网址、索引路径、附件路径、Enable Backups等。然后,需要配置Jira系统管理员用户名、密码、全称、邮件等信息。最后,需要配置Jira系统的邮件通知参数。 四...

    JIRA 6.1.5安装配置 汉化 详细描述

    **二、JIRA配置** 1. **首次启动配置**:首次启动时,JIRA会引导你进行基本配置,包括设置管理员账号、时区、语言等。 2. **服务器配置**:在JIRA管理界面,可以配置服务器参数,如端口、代理设置等。 3. **...

    jira安装说明书。JIRA安装用户手册。总结,整理的文档

    4. 定期备份数据库和JIRA配置,以防数据丢失。 ### 八、插件与定制 JIRA拥有丰富的插件市场,可以根据团队需求安装额外功能,如集成其他工具、报表定制等。 ### 九、性能优化 1. 监控JIRA性能,根据CPU和内存使用...

    JIRA问题跟踪系统安装与配置手册

    JIRA配置经验总结 在完成了JIRA的安装和配置后,需要注意以下几点以提高系统的稳定性和性能: - **定期备份数据库**: 为了防止数据丢失,应定期备份jiradb数据库。 - **监控资源使用**: 监控服务器资源使用情况,...

    jira安装与配置(个人使用记录)

    Jira 安装与配置(个人使用记录) Jira 是一种流行的项目管理工具,由 Atlassian 公司开发。它提供了强大的项目管理功能,包括项目 Tracking、 Bug Tracking、项目Planning 和 Reporting 等。下面是关于 Jira 的...

    JIRA+MYSQL配置

    JIRA可以与MYSQL数据库配合使用,将数据存储于MYSQL中,通过配置JIRA使用MYSQL作为其后端数据库,可以实现数据持久化存储。 配置JIRA与MYSQL结合使用的详细步骤如下: 1. 安装JDK、JIRA和MYSQL,并确保安装成功。...

    jira插件安装方法

    - 如果是较旧版本的JIRA,该选项可能位于“配置”下的“插件管理”。 5. **上传插件**: - 在插件管理页面中,寻找并点击“上传插件”链接。 - 浏览并选择之前下载好的“Tempo Timesheets”插件文件,然后点击...

    jira安装汉化与mysql的配置说明很全面

    jira安装汉化与mysql的配置说明很全面

    Jira软件的使用文档

    #### 三、Jira配置 ##### 3.1 修改conf下的server.xml文件 - **路径定位**:打开Jira安装目录下的`conf/server.xml`文件。 - **修改端口**:找到`一行,可以根据需要更改端口号。 - **内存配置**:在`&lt;Connector&gt;`...

    测试管理工具JIRA的一些资料

    这份压缩包包含的“JIRA资料.chm”很可能是关于JIRA的详细指南,涵盖了从安装配置到实际使用的方方面面。 1. **JIRA安装配置**:在开始使用JIRA前,你需要先下载安装包,然后根据系统需求(Windows、Linux或macOS)...

    Jira安装手册

    **Jira安装手册** ...总之,Jira的安装是一个涉及多个步骤的过程,包括环境配置、软件安装、数据库连接、插件管理以及后期的维护升级。正确配置和使用Jira能够有效地提升团队的协作效率和项目管理质量。

    jira6.1.1安装配置详细描述(附驱动)

    4. **更新Jira配置**:在Jira的配置文件`atlassian-jira/WEB-INF/classes/jira-application.properties`中,确保`jira.database.type`设为`mysql`,并正确设置其他数据库相关的属性,如`jdbc.url`、`jdbc.username`...

    Jira安装指南

    《Jira安装指南》 1. 引言 本指南旨在提供详尽的Jira安装步骤,以便在项目开发过程中实现高效的任务管理、项目计划、需求跟踪和错误追踪。目标受众为所有系统管理员,无论您是初次接触还是有经验的Jira用户,此...

    最新jira7安装实战笔记

    通过以上步骤,您可以在Linux系统上成功安装并配置最新的Jira 7版本。这些步骤不仅覆盖了软件的基本安装过程,还提供了详细的配置指导,确保了Jira能够稳定运行。希望这份实战笔记对您的项目管理有所帮助。

    JIRA 系统安装与使用手册

    **JIRA系统安装与使用手册** JIRA是一款由Atlassian公司开发的专业项目管理软件,尤其在敏捷开发领域中被广泛应用。本手册将详细介绍如何安装JIRA系统以及如何有效利用其功能进行项目管理和协作。 **一、JIRA系统...

    linux系统JIRA的安装借鉴.pdf

    Linux系统JIRA安装借鉴是指在Linux操作系统下安装和配置JIRA项目管理工具的过程,需要准备好Linux操作系统环境、安装Apache、JDK、MySQL、JIRA等,并进行破解、启动/关闭JIRA、访问JIRA和汉化等步骤。

    Centos7下Jira安装部署包

    在本文中,我们将深入探讨如何在CentOS 7操作系统上安装和部署Atlassian的项目管理工具——Jira。Jira是一款强大的问题跟踪器和项目管理软件,广泛应用于软件开发团队,帮助他们进行缺陷追踪、任务管理和敏捷开发...

Global site tag (gtag.js) - Google Analytics