惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Exploit Database - CXSecurity.com
A
Arctic Wolf
K
Kaspersky official blog
T
Threat Research - Cisco Blogs
PCI Perspectives
PCI Perspectives
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
P
Privacy & Cybersecurity Law Blog
O
OpenAI News
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
C
Cisco Blogs
AWS News Blog
AWS News Blog
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
美团技术团队
T
Threatpost
S
Schneier on Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
C
Cyber Attacks, Cyber Crime and Cyber Security
Last Week in AI
Last Week in AI
C
CERT Recently Published Vulnerability Notes
Blog — PlanetScale
Blog — PlanetScale
C
Cybersecurity and Infrastructure Security Agency CISA
F
Full Disclosure
博客园_首页
N
Netflix TechBlog - Medium
Security Latest
Security Latest
有赞技术团队
有赞技术团队
Google DeepMind News
Google DeepMind News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Register - Security
The Register - Security
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Recent Announcements
Recent Announcements
博客园 - Franky
P
Palo Alto Networks Blog
Project Zero
Project Zero
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
H
Help Net Security
Hacker News: Ask HN
Hacker News: Ask HN
Cisco Talos Blog
Cisco Talos Blog
H
Heimdal Security Blog
The Hacker News
The Hacker News
博客园 - 【当耐特】
GbyAI
GbyAI

博客园 - Peter Zhang

TF42064: The build number already exists for build definition error in TFS2010 模拟ORACLE wm_concat函数(把一列中的多行数据在一行显示) [转]重建损坏的Windows Management Instrumentation(WMI)服务 获取系统闲置时间 .NET 程序内存占用问题 存储过程锁问题、存储过程编译锁问题 ORA-00054错误解决方案 Oracle循环语句 【转】物化视图刷新 Oracle查询条件带有汉字时查询不出数据的原因 ORA-01658: 无法为表空间中段创建 INITIAL 区 Oracle未启用Partitioning功能 Oracle 表空间 Redmine 插件安装 Redmine 如何使用版本库 Redmine 配置 Redmine EMAIL /SMTP 服务器设置 redmine svn:issuer is not trusted 问题的解决办法 redmine 1.2.1安装和安装会出现的问题
Redmine running under Mongrel as windows service
Peter Zhang · 2011-10-03 · via 博客园 - Peter Zhang

原文:https://sites.google.com/site/alensit/software-tools/redmine#TOC-Running-under-Mongrel

天朝局域网威武,原文链接有可能必须通过特殊手段才能打开,谨此提示。

首先完成Redmine安装见 http://www.cnblogs.com/fromchaos/archive/2011/09/19/2181755.html

1、安装Mongrel,命令提示窗口下输入:

gem install mongrel

命令提示窗口输出:

Successfully installed gem_plugin-0.2.3

Successfully installed cgi_multipart_eof_fix-2.5.0

Successfully installed mongrel-1.1.5-x86-mingw32

3 gems installed

2、转到redmine安装目录

cd redmine安装目录

set RAILS_ENV=production

mongrel_rails start

3、登陆的时候会出问题

解决方法:复制mongrel.rbhttps://gist.github.com/826692) , patch_for_mongrel.rbrails_6440_patch.rb到redmine目录下\config\initializers文件夹中,重启mongrel_rails。

参考:http://www.redmine.org/issues/7857

image

4、安装mongrel service,命令提示符下安装mongrel_service

gem install mongrel_service

使用的版本号是0.4.0

image

5、安装windows service

mongrel_rails service::install -N mongrel_redmine -D "Mongrel serving Redmine on 3000" -p 3000 -e production -c redmine安装目录

6、启动windows service

net start mongrel_redmine

配置windows service自动运行

sc config mongrel_redmine start= auto

测试:

浏览器输入URL:http://127.0.0.1:3000/

7、卸载windows service

mongrel_rails service::remove -N mongrel_redmine

如果安装gem的时候可能会因为网速的原因导致等待时间过长或者安装失败,可以去http://rubygems.org/下载gem,然后使用gem –l 安装

gem install gem名 -l