IceScrum敏捷开发工具的安装文档-官方最新版

Welcome to the iceScrum iceScrum install guide. If you don’t want to manage your own iceScrum installation, you may want to consider our Cloud offers (you can try iceScrum Cloud for free!)

Introduction

If you are new to iceScrum, you may want to use the iceScrum Server desktop application. It requires no computing skills and will allow you to try iceScrum easily .

However, this application is not suitable for production purposes. That’s why we recommend you to follow this guide to install iceScrum manually in order to use it in a real production context.

Installing and configuring the server environment (application server, database, configuration) may require advanced computing skills. Kagilum provides install services, including custom configuration, and remote installation, if you are interested, feel free to contact us.

Hardware requirements

Please note that hardware requirements highly depend on your use of the tool (total number of users, number of concurrent users, other applications running on your machine…).

However, here is an estimated minimal server configuration:
- Processor: a modern one, e.g. 2GHz+, 2+ cores
- RAM: 2GB+ (iceScrum requires at least 768MB but you also need RAM for the OS, other applications etc.)
- Hard disk: 10GB+ (iceScrum itself doesn’t require
much space but you need space for the OS, DB, application server, user
attachments etc.)

Software requirements

Operating system

We recommend the use of Ubuntu 12.04 LTS (Long Term Support).

However, iceScrum can be used with other Linux distributions, Windows
and Mac OS. If you use Windows or Mac OS, you may be interested in the iceScrum Server desktop application.

Java

iceScrum requires Java 6 or 7. Please note that early versions of Java 6 may not work properly and that Java 8 support is planned but not available yet.

You will also need to ensure that the JAVA_HOME environment variable is defined and points to the Java installation directory (which is the directory that contains the bin directory so it is NOT the bin directory itself).

Application server

iceScrum is packaged as a Java Web Application ARchive (WAR). This
WAR needs to be run in a Servlet container compatible with Servlet 3.0.
We recommend the use of Tomcat,
a widely used open source Servlet container. If needed, you can use
another application server (e.g. Jetty) but this guide explains the
install procedure for Tomcat only.

We will use the name tomcatDir to represent the directory where Tomcat is installed. The user who starts Tomcat must have write permissions on tomcatDir.

Here are the supported Tomcat version, and the manual operations required to use them:
- Tomcat 7 (7.0.23 or greater), recommended: you need to remove the tomcatDir/lib/tomcat-jdbc.jar library.
- Tomcat 6 (6.29 or greater): you need to add the geronimo-servlet_3.0_spec-1.0.jar library to the tomcatDir/lib/ directory.

Please note that Tomcat 8 support is planned but not available yet.

Application server

Configuration

First, you need to configure the Tomcat server itself. In the tomcatDir/conf/server.xml file, configure the connector to use the NIO protocol and set the port to be used for iceScrum (start with the port 8080 if it is available, you will be able to change it later):

server.xml configuration

<Connector port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol"

           connectionTimeout="2000" maxThreads="500" URIEncoding="UTF-8"/>

If you use an Apache server as a frontend proxy for your Tomcat server, you will need to use mod_proxy_http with for example the following configuration for your virtualHost:

ProxyRequests Off

ProxyPreserveHost On

ProxyStatus On

ProxyPass       /icescrum/         http://localhost:8080/icescrum/

ProxyPassReverse    /icescrum/         http://localhost:8080/icescrum/ 

iceScrum is not compatible with mod_proxy_ajp as it doesn’t support HTTP streaming / push.

Then, you need to configure the CATALINA_OPTS environment variable
(if you use Jetty, define the JAVA_OPTIONS variable instead). A good
place to define it is a tomcatDir/bin/setenv.sh script (setenv.bat for Windows), please read the Tomcat documentation for more information.

Add the following settings to the CATALINA_OPTS variable:

Log directory (by default it will use the logs directory in the current path)

-Dicescrum.log.dir=/path/to/dir/where/i/can/write/

Timezone (has to be UTC)

-Duser.timezone=UTC

Config file (see the Settings section)

-Dicescrum_config_location=/path/to/dir/where/i/can/write/config.groovy

Maximum Java heap size (at least 512 Mo)

-Xmx512m

Maximum Permanent Generation size (at least 256 Mo)

-XX:MaxPermSize=256m

The following flags are usually already configured by default, but we
recommend that you check that they are provided to the JVM:

Headless mode (required for iceScrum pdf/doc/... exports)

-Djava.awt.headless=true

Server mode

-server

Install the iceScrum WAR

You can choose either iceScrum or iceScrum Pro. iceScrum Pro is an enhanced version that includes support and additional features dedicated to organizations.

Once you have chosen and downloaded the WAR file, move it to the tomcatDir/webapps/ directory.

Configure iceScrum

If you want to change config in a nice user interface and to have your changes taken into account immediately, have a look at iceScrum Pro.

If you don’t use iceScrum Pro, you have to create a file called config.groovy
that follows the Groovy format. The path of this file must be defined
in your CATALINA_OPTS (refer to the application configuration section).
We recommend that you put it in your home folder (avoid any tomcat
folder). All config changes need an application restart to apply if the
server is running.

iceScrum Pro

If you are an iceScrum Pro user, you won’t need to edit a config
file. Settings can be edited by the administrator through a nice user
interface. Please refer to the iceScrum Pro settings documentation.

Additionally, iceScrum Pro features come with their own settings when needed. Please refer to the iceScrum Pro features documentation for more information.

Config format

iceScrum config must follow the Groovy format:

// Inline comment

/*

    Block comment

*/

key = value            // For booleans and numbers values

key = "string value"   // For strings values

All paths in your config.groovy must use ‘/’ (forward slash)

You may find old config examples where string values have no quotes, when iceScrum used the Properties format (.properties). This format is now deprecated. Look at Upgrade config.properties to config.groovy format

Application settings

Here are the available application settings with their default value, given in the Groovy format (.groovy):

Project

icescrum.project.import.enable = true

icescrum.project.export.enable = true

icescrum.project.creation.enable = true

icescrum.project.private.enable = true

icescrum.project.private.default = false

Users

icescrum.gravatar.secure = false

icescrum.gravatar.enable = false

icescrum.registration.enable = true

icescrum.login.retrieve.enable = true

Alerts

icescrum.auto_follow_productowner = true

icescrum.auto_follow_stakeholder  = true

icescrum.auto_follow_scrummaster  = true

icescrum.alerts.errors.to = "[email protected]"

icescrum.alerts.subject_prefix = "[icescrum]"

icescrum.alerts.enable = true

icescrum.alerts.default.from = "[email protected]"

Attachments

icescrum.attachments.enable = true

Technical Settings
Server URL

grails.serverURL = "http://localhost:8080/icescrum"

                   /* Changing the port will require to change

                     it in the Tomcat server.xml Connector*/

Logging (for debug purposes)

icescrum.debug.enable = false

icescrum.securitydebug.enable = false

Working directory

icescrum.baseDir = "<yourHome>/icescrum"

                   /* Use a custom directory where Tomcat has write rights

                      (not webapps!!). Path must use ‘/‘ (forward slash) */

Cross-domain (CORS) support for API

icescrum.cors.enable = true  /* CORS is enabled by default

                                However, it‘s enabled only for projects

                                where web services are enabled */

icescrum.cors.allow.origin.regex = "*"  /* Use double backslash for escaping

                                           e.g. (http://|.+\\.)mydomain\\.com */

Mail server (These exemple values aren‘t set by default)

grails.mail.host = "smtp.gmail.com"

grails.mail.port = 465

grails.mail.username = "[email protected]"

grails.mail.password = "mypassword"

grails.mail.props = ["mail.smtp.auth":"true",

        "mail.smtp.socketFactory.port":"465",

        "mail.smtp.socketFactory.class":"javax.net.ssl.SSLSocketFactory",

        "mail.smtp.socketFactory.fallback":"false"]

        /* The props are required for SSL connections */

Database

iceScrum comes with an embedded HSQLDB database so you can try iceScrum without needing to install nor configure a DBMS. The default HSQLDB configuration is NOT suitable for production environments in terms of reliability and performances.

This configuration needs to be set in the config file (please refer
to the above section). Any change will require you to restart your
server if it is running.

Don’t forget to define a sensible charset/collation configuration when creating an empty DB in a custom DBMS. We recommend the use of UTF-8, which allows a wide range of user input.

HSQLDB

HSLQLDB is the default DB in iceScrum. It is bundled so it is
possible to try iceScrum without installing a DBMS. The DB is stored as a
script file in your file system.

Your database structure and data is stored as SQL statements in a file is called prodDba.script and prodDba.properties that are located in the directory where you started Tomcat from. To backup your DB, just keep a copy of these files.

MySQL

The MySQL JDBC connector is included in iceScrum. Consequently, you just have to configure the connection in your config file.

MySQL5 (with InnoDB storage engine) example settings, assuming an empty icescrum database

dataSource.dialect = "org.hibernate.dialect.MySQL5InnoDBDialect"

dataSource.driverClassName = "com.mysql.jdbc.Driver"

dataSource.url = "jdbc:mysql://localhost:3306/icescrum?useUnicode=true&characterEncoding=utf8"

dataSource.username = "root"

dataSource.password = "myDbPass"

Oracle

Oracle support is available only for iceScrum Pro.

The Oracle JDBC connector doesn’t come with iceScrum so you will have to download it manually and put it in tomcatDir/lib.

Oracle 11g XE example settings

dataSource.dialect = "org.hibernate.dialect.Oracle10gDialect"

                     // use this dialect even for greater versions

dataSource.driverClassName = "oracle.jdbc.driver.OracleDriver"

dataSource.url = "jdbc:oracle:thin:@localhost:1521:XE"

dataSource.username = "sa"

dataSource.password = "myDbPass"

Other DBMS

iceScrum also supports PostgreSQL and SQL Server. The corresponding
JDBC connector doesn’t come with iceScrum so you will have to download
it manually and put it in tomcatDir/lib.

PostgreSQL example settings, assuming an empty icescrum database

dataSource.driverClassName = "org.postgresql.Driver"

dataSource.url = "jdbc:postgresql://localhost:5432/icescrum"

dataSource.username = "postgres"

dataSource.password = "myDbPass"

SQLServer example settings, assuming an empty icescrum database

dataSource.driverClassName = "com.microsoft.sqlserver.jdbc.SQLServerDriver"

dataSource.url = "jdbc:sqlserver://localhost:1433;databaseName=icescrum"

dataSource.username = "sa"

dataSource.password = "myDbPass"

Start iceScrum

Once everything is configured (Tomcat, settings, DB…), you can start the Tomcat server by running the tomcatDir/bin/startup.sh script (startup.bat for Windows). Tomcat will start iceScrum automatically if the WAR is found in the tomcatDir/webapps/ directory.

It may take some time to start it for the first time. When the server
is started, enter the iceScrum URL (corresponding to the Server URL you
defined) in your favorite browser.

First, you need to register: click on “Register”, fill in the form and validate. Follow the getting started guide to enjoy the great iceScrum features!

Troubleshooting

If you find an unexpected behaviour, please read the following information.

Support

You may want to get help for your install and configuration. iceScrum developers can help you! We can install and configure your iceScrum server (contact us) and iceScrum Pro comes with dedicated support (email, skype, phone).

Common issues

- Related to configuration (DB, emails, etc.):
First, verify iceScrum is using your configuration : the config file
used is mentioned in the tomcat standard output. If so, it may be not
well formatted so check again the config format. You can also try a
trivial setting (like disabling registration) and see if it works. If
so, the config file is parsed properly so your specific setting may be
wrong. Please try with trivial values (e.g. Gmail for emails) to see if
the problem comes from your values.

- Related to exports (PDF etc.):
Ensure that your JVM is configured in headless mode as explained in this
guide and that you don’t use a not supported application server such as
Tomcat8 or an unsupported JDK.

- Related to special character input (when creating items or importing a project):
Ensure that your server DB has a sensible charset/collation as suggested in this guide. We recommend the use of UTF-8.

- Related to network (DB, LDAP, emails, push):
If you use a proxy or a firewall, it may be the reason why it doesn’t work.

- Related to server URL (attachments, redirection after logging in, etc.):
If defined a custom URL (domain, port), please ensure that your defined the Server URL setting and the proper tomcat connector.

- Related to SSL:
iceScrum does work with SSL (we are sure about that because iceScrum
Cloud uses SSL). Don’t forget to change the Server URL setting. If SSL
still doesn’t work, please check the config of your proxy (Nginx and
Apache should work fine, if configured properly).

Common errors in logs:

- java.lang.NoClassDefFoundError: javax/servlet/http/Part:
You application server doesn’t provide native support to Servlet 3.0. Tomcat 6 users, please refer to the software requirements section.

- java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver (or com.mysql.jdbc.Driver)
If you use Tomcat 7, you should remove the tomcat-jdbc.jar library from the tomcatDir/lib folder as explained in the software requirements section.

- Infos: validateJarFile(/var/lib/tomcat7/webapps/icescrum/WEB-INF/lib/geronimo-servlet_3.0_spec-1.0.jar) – jar not loaded
This message can be ignored. Geronimo-servlet is here to provide compatibility with Tomcat 6.

- “Unknown column ‘text_as’” or “Unknown column ‘added’” on startup, marked as ERROR:
These errors can be ignored. They are not actual errors: the column are
missing because we removed them when migrating the database structure.
The queries remain in order to allow migration from former versions.

- java.lang.NoSuchFieldException: count:
This error can be ignored. It’s a minor compatibility issue between the
version of the programming language iceScrum is written in (Groovy) and
Java 7.

- java.lang.NullPointerException on CoyoteAdapter:
Your Tomcat 7 version is probably outdated, please refer to the software requirements section.

- Error messages in the Tomcat process when shutting down iceScrum:
it’s a known problem that shouldn’t affect your application. We
recommend that you check that the Java process has been really killed.

If you didn’t find the cause of your problem, please read the following sections about logs.

Logging

You should find a logs directory in the directory where you started Tomcat from, or in the icescrum.log.dir if you defined it in your CATALINA_OPTS.

You may want to enable more log information. If you are using
iceScrum Pro, you have to enable verbose logging in the settings
administration. Otherwise, you have to add the following line to your
settings:

Enable verbose logging

icescrum.debug.enable = true

Then, please have a look at the icescrum.log file.

Upgrade config.properties to config.groovy format

If your current config file is called config.properties, you will have to follow these instructions:

- Copy the config.properties file and name the copy: config.groovy.
- Open your freshly created config.groovy file and change the content as follows:

Where you have String value, wrap the value with double quotes.
Additionally, comment syntax has changed so you will have to replace all
the # by //. For instance, when you had:

# Data Source

dataSource.driverClassName=com.mysql.jdbc.Driver

Now you will have:

// Data Source

dataSource.driverClassName="com.mysql.jdbc.Driver"

If you have key/value with Boolean or Number values, no change is required.

icescrum.registration.enable=true

mail.port=25

Then:
- Delete or move your old config.properties file
- Don’t forget to update your config location if it is defined:

-Dicescrum_config_location=myLocation/config.groovy

时间: 2024-10-16 01:04:07

IceScrum敏捷开发工具的安装文档-官方最新版的相关文章

测试自动化工具UIRecorder安装文档

测试自动化UIRecorder安装文档 一.node.js和UIRecorder的下载安装 1.安装node.js 下载路径:https://nodejs.org/en/ 2.下载UIRecorder文件包并解压缩到G盘(G:\uirecorder-master) 下载路径:http://uirecorder.com/ 二.UIRecorder的安装依赖和使用 前提: 在G:\uirecorder-master\tool中打开chromedriver,不要关闭. 1.安装关键依赖 命令如下: G

产品经理必不可少的在线敏捷开发工具,可将团队工作效率提高90%

互联网时代,IT技术飞速发展,市场瞬息万变,产品经理如何进行敏捷管理?团队如何快速高效交付软件产品?如何拥抱变化?下面我给大家推荐一款敏捷开发工具,可以协助大家在最短的时间内完成开发任务,以最快的速度交付有价值的软件,使客户满意.一个好的开发流程,对于项目的进行,更新和维护都起着至关重要的作用.CORNERSTONE敏捷开发工具适用于一些开发周期长,需求不明确,或者随时间渐进明确,频繁更新的项目.一. 产品与设计项目决定启动后,第一步就是项目组准备需求,整理出需求文档.通过建立一个公开需求池,向

环境安装文档(for Ubuntu)

这个文档的目标是:各位小伙伴通过这个文档,可以在一台全新的 Ubuntu 电脑上搭建平常开发使用的环境,主要包含 Node.js, git 和 编辑器部分. 这是针对 Ubuntu 系统的安装文档,Windows 文档点击这里. git 和 git GUI git 是一个版本控制工具,我们使用 coding.net 存放 git 的远程仓库. git 已有 git? 在 bash 中查看 git 版本,建议使用 2.10 以后的 git (Windows). $ git --version 安装

Oracle、pl/sql安装文档

oracle10g.pl/sql安装文档 Oracle在各种管理系统项目中是不可或缺到,pl/sql也是非常好用的图形化管理工具.初学者(我自己就是证明了)经常在这两个工具上消磨宝贵到时间.趁今天有闲,整理下oracle和plsql到安装方式(后附oracle和plsql到安装包),以备后用及方便他人.个人笔记本是win7 64位,实测win8可用. 下载并解压oracle安装包如下图: 右键单击setup.exe,在菜单中选择兼容性疑难解答,弹出新窗口. 选择尝试建议到设置,在跳转到页面中启动

基于adt bundle for windows-的AndroidOpenCV安装文档说明

基于adt bundle for windows-的AndroidOpenCV安装文档说明 任薛纪 说明:本文档是基于快速搭建android开发平台adt bundle for windows软件的AndroidOpenCV运行环境搭建,主要参考OpenCV官方文档: http://docs.opencv.org/trunk/doc/tutorials/introduction/android_binary_package/android_dev_intro.html,如手动安装eclipse.

jboss增加新容器安装文档

1.约定: 根据bindings-jboss-beans的规则,ports-default配置是在7101基础上+100即,所对应的Naming Service,Remote classloading service,Remoting Connector,RMI/JRMP,HA Pooled invoker等,都会自适应+100:如果是ports-02就会加200,依此类推. 这里以新增部署 fenxiaopromotion jboss容器为例 2.先到 /data/jboss/server c

关于前端开发的20篇文档与指南-转

关于前端开发的20篇文档与指南 前端开发开发者CSSJavaScriptHTMLWeb 摘要:前端开发者中相信很多人会有两种感受:真的不知所措,这个行业到底有多少东西需要去学习:渴望更多,并迫不及待的为接下来的学习寻求一些思想方向.本文整理一些有用的信息,希望可以帮助相关领域的前端开发人员. 相信在2015年很多这个行业的人都会有这样的两种感受: 真的不知所措,这个行业到底有多少东西需要去学习: 渴望更多,并迫不及待的为接下来的学习寻求一些思想方向. 第一个来自于我们的个人感受,而第二个则是纯粹

Apache PDFbox开发指南之PDF文档读取

转载请注明来源:http://blog.csdn.net/loongshawn/article/details/51542309 相关文章: <Apache PDFbox开发指南之PDF文本内容挖掘> < Apache PDFbox开发指南之PDF文档读取> 1.介绍 Apache PDFbox是一个开源的.基于Java的.支持PDF文档生成的工具库,它可以用于创建新的PDF文档,修改现有的PDF文档,还可以从PDF文档中提取所需的内容.Apache PDFBox还包含了数个命令行

Docker相关环境全套安装文档兼小技能

Docker相关环境全套安装文档兼小技能 以下环境皆为ubuntu16.04,主要安装docker,docker-compose,docker仓库等. Docker安装 参考官方 A: 有源安装 Ubuntu的 Docker 安装: sudo apt-get remove docker docker-engine docker.io containerd runc sudo apt-get update sudo apt-get install apt-transport-https ca-ce