Icescrum 安装手册

                                                                       Icescrum 安装手册

原文地址

使用手册

https://www.kagilum.com/documentation/getting-started-with-icescrum/

安装手册

https://www.kagilum.com/documentation/install-guide/

 

介绍

         由于喜爱scrum,苦于国内没有好用的管理工具,通过浏览相关网站,发现icescrum挺好,满足我的个人需求,根据国其网站的安装手册改编形成自己的安装手册,便于以后查找。

硬件环境

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

软件环境

操作系统    

[root@node233 ~]# cat /proc/version

Linux version 2.6.18-128.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Wed Jan 21 10:41:14 EST 2009

Java虚拟机

iceScrum requires Java 6 or greater.

You will also need to ensure that the JAVA_HOME environment variable points to the Java installation directory.

Tomcat7

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.

 

修改server.xml中的配置:

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

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

 

 
 

         修改catalina.sh文件在文件的开始位置添加如下信息

JAVA_OPTS="-Djava.awt.headless=true -XX:MaxPermSize=1024m -Xmx2048m -Dicescrum_config_location=/opt/config.groovy -Duser.timezone=UTC -Dicescrum.log.dir=/tmp/logs/"

 

         创建config.groovy文件,我是放到opt目录下了,位置自己来定。

 

/*

  Project

*/

icescrum.project.import.enable = true

icescrum.project.export.enable = true

icescrum.project.creation.enable = true

icescrum.project.private.enable = true

 

/*

  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

 

/*

  Server URL

  Changing the port will require to change it in the Tomcat server.xml Connector.

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

 

*/

 

grails.serverURL = http://192.168.0.233:8886/icescrum

/*

  Working directory

  Use a custom directory where Tomcat has write rights(not webapps!!). Path must use '/' (forward slash).

icescrum.baseDir = "<yourHome>/icescrum"

*/

 

/*

  Logging (for debug purposes)

*/

icescrum.debug.enable = false

icescrum.securitydebug.enable = false

 

 

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

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

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

dataSource.username = "icescrum"

dataSource.password = "icescrum"

 

// Use pool connection

/*

dataSource.pooled=true

dataSource.properties.maxActive=50

dataSource.properties.maxIdle=25

dataSource.properties.minIdle=1

dataSource.properties.initialSize=1

dataSource.properties.minEvictableIdleTimeMillis=1800000

dataSource.properties.timeBetweenEvictionRunsMillis=1800000

dataSource.properties.numTestsPerEvictionRun=3

dataSource.properties.maxWait=10000

dataSource.properties.testOnBorrow=true

dataSource.properties.testWhileIdle=true

dataSource.properties.testOnReturn=false

dataSource.properties.validationQuery="SELECT 1"

*/

Mysql

安装过程略,创建icescrum数据库并分配用户和权限

CREATE DATABASE icescrum CHARACTER SET = UTF8;

GRANT ALL ON icescrum.* TO icescrum IDENTIFIED BY 'icescrum';

 

发布

下载最新版本的icescrum文件,将war文件放到tomcatwebapp目录下

启动与停止

进入tomca/bin目录下执行startup.shshutdown.sh两个命令

 

注意

 

1.Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

到这里下载mysql jdbc driver,见鬼,IceScrum产品也也太牛了,难道不能将依赖自动带进来么?

jar包复制到/usr/share/tomcat7/lib目录下。

删除不需要的hsqldb jar包。

root@scrum:/var/lib/tomcat7/webapps/icescrum/WEB-INF/lib# rm hsqldb-1.8.0.10.jar

(来源于网络)

2,安装过程中注意文件的执行权限

你可能感兴趣的:(icescrum setup)