Redmine局域网访问缓慢问题解决

笔者查阅网上意见,发现是由于Redmine自带的WebrickWeb发布的问题,需要使用Mongrel组件来替换Webrick。在此放在这里方便大家,形成一套完整的Redmine搭建方案。

1.  替换其自带的服务器webrick 为mongrel,方法:

gem install mongrel

如果提示类似“

http11.c: In function ‘header_done’:
http11.c:172:13: error: ‘struct RString’ has no member named ‘ptr’
http11.c:172:13: error: ‘struct RString’ has no member named ‘ptr’
http11.c:172:13: error: ‘struct RString’ has no member named ‘ptr’
http11.c:174:89: error: ‘struct RString’ has no member named ‘ptr’
http11.c:176:52: error: ‘struct RString’ has no member named ‘ptr’
http11.c:177:26: error: ‘struct RString’ has no member named ‘len’
http11.c: In function ‘HttpParser_execute’:
http11.c:298:23: error: ‘struct RString’ has no member named ‘ptr’
http11.c:299:23: error: ‘struct RString’ has no member named ‘len’
http11.c:307:5: warning: format not a string literal and no format arguments [-Wformat-security]
make: *** [http11.o] Error 1

之类的错误的话,需要先执行一下

 sudo gem install mongrel --pre

2. 运行

ruby script/rails server -e production

浏览器中输入http://localhost:3000进入系统主页面,是不是感觉快了很多.

如果要安装成系统服务的话,只需要在后面加上 -d 参数就可以了。

ruby script/rails server -e production -d

 

25 thoughts on “Redmine局域网访问缓慢问题解决

  1. Pingback: Windows下安装Redmine教程 | haohtml's blog

  2. Pingback: redmine使用nginx提供服务 | haohtml's blog

  3. Pingback: centos安装redmine – OnlyPhp

  4. Pingback: centos安装redmine – 303Blog

  5. Pingback: research companies

  6. Pingback: 바카라

  7. Pingback: كلمات اغاني

  8. Pingback: cash-bitcoin.com

  9. Pingback: Tattoo Supplies

  10. Pingback: Hallucinogens for Sale

  11. Pingback: THC Vape Oil

  12. Pingback: level 3

  13. Pingback: huong dan dang ky 12bet

  14. Pingback: Sweet shop

  15. Pingback: cbd oil dogs

  16. Pingback: Coolsculpting

  17. Pingback: 메이저놀이터

  18. Pingback: cheap its a wig

  19. Pingback: immediate edge

  20. Pingback: bitcoin era

  21. Pingback: Torch

  22. Pingback: Dank Vape Carts for Sale

  23. Pingback: S&W

  24. Pingback: Arcade games for sale

  25. Pingback: hudsonroofingandsidingllc.com

Comments are closed.