redmine

转:Tomcat 内存溢出 \"OutOfMemoryError\" 问题总结 (JVM参数说明)

匿名 (未验证) 提交于 2019-12-03 00:12:02
问题说明: 公司内网环境中部署的jenkins代码发版平台突然不能访问了,查看tomcat的catalina.out日志发现报错如下: ? 1 2 3 4 5 6 [root@redmine logs] # tail -f /srv/apache-tomcat-7.0.67/logs/catalina.out ...... Exception in thread "http-bio-8080-exec-5" java.lang.OutOfMemoryError: PermGen space Exception in thread "http-bio-8080-exec-5" java.lang.OutOfMemoryError: PermGen space Exception in thread "http-bio-8080-exec-5" java.lang.OutOfMemoryError: PermGen space ...... 上面报错是由于tomcat内存溢出引起的: ? 1 2 3 [root@redmine logs] # ps -ef|grep tomcat /usr/java/jdk1 .7.0_79 /bin/java -Djava.util.logging.config. file = /srv/apache-tomcat-7 .0.67 /conf

docker windows下挂载目录和文件

匿名 (未验证) 提交于 2019-12-02 23:57:01
我们利用docker启动项目的时候不能直接修改容器中的内容,只能在 run 的时候挂载到本地目录或者文件来进行修改. 例子:(路径可以忽略斜杠和反斜杠,我这边没有使用windows的路径没有报错.使用的是 这个版本. ) docker run - v c : \Sites\redmine - 3.4 . 5 \config\routes . rb : /usr/ src / redmine / config / routes . rb - v c : \Sites\redmine - 3.4 . 5 \app : /usr/ src / redmine / app - d - p 8088 : 3000 -- name myredmine -- link mymysql : mysql redmine : 3.4 . 5 例子有点长 我们直接看 -v 命令即可. C:\Sites\redmine-3.4.5\config\routes.rb 是本地目录文件,因为这边要修改redmine的功能,所以可以挂载到本地修改文件即可. /usr/src/redmine/config/routes.rb 是容器内的文件,这边挂载后容器就使用的是本地的文件. 同理,目录也是一样. C:\Sites\redmine-3.4.5\app 是本地目录 /usr/src/redmine/app

Redmine 配置

匿名 (未验证) 提交于 2019-12-02 23:49:02
原文链接: http://www.cnblogs.com/fromchaos/archive/2011/09/23/2185879.html 如果需要覆盖默认的Redmine配置,最简单的方式就是复制 config/configuration.yml.exampleΪ config/configuration.yml, 然后修改这个配置文件。修改完需要重启Redmine服务才能生效。 EMAIL /SMTP 服务器设置 参考 http://www.cnblogs.com/fromchaos/archive/2011/09/23/2185759.html SCM 设置 # Configuration of SCM executable command. # Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe) # On Windows, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work. # Examples: # scm_subversion_command: svn # (default: svn) # scm_mercurial_command: C:\Program Files\TortoiseHg\hg.exe #

在ubuntu上安装redmine

删除回忆录丶 提交于 2019-12-02 21:35:38
最近有一个新项目需要用到项目管理工具,最后准备采用redmine,经过一系列的折腾,终于把它安装完成了,现在将安装过程分享出来,为那些遇到同样问题的同学做个参考。 首先按照 官方网站 的步骤来安装,但是仍旧会碰到各种各样的问题。 1. 下载Redmine源代码 这里利用git下载: git clone https://github.com/redmine/redmine 2. 安装配置MySQL 已经安装过MySQL就不需要执行下面的命令: sudo apt-get install mysql-server mysql-client 配置redmine数据库和用户: mysql -u root -p CREATE DATABASE redmine CHARACTER SET utf8; CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'my_password'; GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'localhost'; 3. 数据库连接配置 首先要将redmine源码中 config/database.yml.example复制一份改名为config/database.yml。 cp config/database.yml.example config/database

SSL works with browser, wget, and curl, but fails with git

杀马特。学长 韩版系。学妹 提交于 2019-12-02 16:42:42
I have a website I am using to host redmine and several git repositories This works perfectly for http, but I can't clone with https, i.e. git clone http://mysite.com/git/test.git works fine, but git clone https://mysite.com/git/test.git fails The strange thing is that https seems to work for everything else I have tested. If I open https://mysite.com/git/test.git in a browser (tested in chrome and firefox), I get no errors or warnings. I can also curl https://mysite.com/git/test.git wget https://mysite.com/git/test.git both of which work with no complaints or warnings. Here is the verbose

Redmine vs Chiliproject [closed]

ε祈祈猫儿з 提交于 2019-12-02 16:14:31
I'm in the process of switching from an experimental installation of Redmine to a company wide use. We do use some plugins that are mandatory for us such as redmine_backlog and redmine_gitosis (unmaintained, several forks exists). While redmine released 1.2.0, chiliproject just released 1.5.0 and ensure the themes and plugins are compatible. The reasons that made them take the decision to fork redmine makes one feel there is a strong motivation of supporting the project. It also seems that chiliproject has more contributors and has more frequent updates. So I'm looking for pros and cons for

源码安装redmine

微笑、不失礼 提交于 2019-12-02 14:29:35
http://www.redmine.org/projects/redmine/wiki/redmineinstall 创建redmine数据库 mysql -u root -p 输入mysql密码后,依次执行 CREATE DATABASE redmine CHARACTER SET utf8; CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'my_password'; GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'localhost'; 修改database.yml cp config/database.yml.example config/database.yml production: adapter: mysql2 database: redmine host: localhost username: root password: my_password 安装依赖项 需要安装mysql2,rails3的驱动全用的mysql2. sudo apt-get install libmysqlclient-dev gem install mysql2 如果需要 sudo apt-get install imagemagick libmagickwand-dev gem

Redmine 3.3.0 (ruby on rails 4.2.6) stylesheets not generated/included in application.css

戏子无情 提交于 2019-12-02 10:11:21
I have installed redmine, managed to get it started but the UI seems to be missing it's css styles. If I follow the link for application[SomeId].css It show me an empty css containing the following message: /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path. * * You're free to add application-wide styles to this file and they'll

Gem::Ext::BuildError: ERROR: Failed to build gem native extension. on CenOS 6.5

家住魔仙堡 提交于 2019-12-02 04:12:21
问题 Installing Redmine. I've tried, bundle install --without development test postgresql sqlite , but error. Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /usr/local/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator /usr/local/bin/ruby -r ./siteconf20161228-21055-1dxe9y9.rb extconf.rb creating Makefile current directory: /usr/local/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator make "DESTDIR=" clean current directory: /usr/local/lib

项目管理系统Redmine(v1.1.0)安装手记

ε祈祈猫儿з 提交于 2019-12-02 04:00:20
一、环境 1.硬件 普通PC。 2.软件 Windows XP操作系统。 二、下载必要的软件 1.Ruby 1.8.x Redmine是基于Ruby On Rails的软件,所以首先要下载Ruby。由于目前Redmine只支持Ruby 1.8,所以这里我们下载1.8分支的最新版本。下载地址:http://www.ruby-lang.org/en/downloads/。强烈建议下载RubyInstaller的版本。 2.Redmine 1.1.x 1.1.0是Redmine当前最新的版本。下载地址:http://rubyforge.org/frs/?group_id=1850。 3.Mysql 5.x 运行Redmine时需要,下载地址:http://www.mysql.com/downloads/mysql/。 三、安装和运行 1.安装Ruby 如果用的是RubyInstaller版本的安装软件那就很简单了。只要在第三个安装步骤中将“Add Ruby executables to your PATH”勾选就可以了,这样我们之后在命令行执行Ruby的相关命令就会方便很多。 2.安装必要的Ruby组件 我们需要打开CMD窗口,以供下面执行Ruby命令使用。 1) 安装Mysql的Ruby驱动。命令: gem install ruby-mysql 2) 安装rubygems的1.3.7