Redmine Installation Tutorial

Added by Chris Miller about 9 years ago

I maintain a Redmine-powered website, and when I first made it I created a tutorial for others to follow in order to make it easier for others to use Redmine as well. That was a long time ago. Now I've updated the tutorial for Redmine 0.8.x.

My setup instructions target people who:

  • don't have much CPU or RAM in their server
  • want Redmine's automatic Subversion repository creation and authentication
  • don't want to go through a long ordeal of doing it by hand until the thing finally works

My new, updated tutorial is available here - I hope someone is spared a long and painful wrestle with their webserver because of my work! If nothing else the Apache configurations are useful.

Let me know what you think, and thanks for the great software! It has saved me untold amounts of consternation with managing Trac instances!

Replies (4)

RE: Redmine Installation Tutorial - Added by Eric Davis about 9 years ago

Great job. Another alternative is to use Passenger instead of mongrel, which would simplify the apache2.conf.

(I use mongrel myself too)

Eric

RE: Redmine Installation Tutorial - Added by Markus Knittig about 9 years ago

I would also suggest Passanger. It's not only faster but also needs less RAM than mongrel...

RE: Redmine Installation Tutorial - Added by Chris Miller about 9 years ago

Markus Knittig wrote:

I would also suggest Passanger. It's not only faster but also needs less RAM than mongrel...

My reason for using Mongrel is that I also use Subversion for large file downloads, which blocks any further use of that Apache server instance until the download completes. By using Mongrel it exports the act of page views from Apache to Mongrel, so I can have fewer Apache server instances running. It's also advantageous since I have a real slow upload speed with my broadband connection, so having only one Apache server used in that upload lets all the other Apache processes serve pages by passing the request to Mongrel. I could have all but one server instance used with a download or upload and the site would still perform responsively for pageviews. It works really well for low-memory servers - specifically 256 MB of RAM. Also consider that this is tuned to allow for the best performance when hosted from a Virtual Private Server, which doesn't have any swapfile space, so that 256 MB is an incredibly hard limit.

RE: Redmine Installation Tutorial - Added by Chris Miller almost 9 years ago

Markus Knittig wrote:

I would also suggest Passanger. It's not only faster but also needs less RAM than mongrel...

I decided to try Passenger, and I didn't notice it going any faster than Mongrel. Actually, I think it's going slower. I also downgraded Ruby manually in the transition, so that could have resulted in loosing some performance gains as well.

I also made an updated tutorial which uses Passenger for those who want it. I agree, Passenger does simplify a lot of the configuration woes.

(1-4/4)