Redmine on Debian 6 with Unicorn and NGINX

Jump To:   «  1 2 3  View All »

A unicorn with it's refelction in water.Redmine is perhaps my favorite Bug tracking, ticketing, wiki, forum, documentation software there is. My only complaint in the past about Redmine was the fact that you needed to use Passanger to run it (which is a RAM hog). Having a bunch of low end VPS’s (Virtual Private Servers) I decided to attempt hacking Redmine onto a 128MB Ram box. Well after doing my research I came upon a neat little trick, Unicorn. Unicorn is a webserver that we can use in place of Passanger to serve Redmine to NGINX, our main webserver. Time to gallop to the setup.

First install Debian 6 aka Squeeze and do an aptitude update. For the non savy, either apt-get update or aptitude update in the shell. Next do the installs via aptitude, you can remove the mysql-server if it is not going to be hosted on the same server or change it to another engine (sqlite or pgsql) but also change the redmine-mysql to be redmine-db if you decide to not use MySQL

#: aptitude install redmine ruby1.8 ruby1.8-dev rails rake redmine-mysql gem make mysql-common mysql-server 

For the prompts, answer the following:

Configure database for redmine:  Yes
Choose whatever db engine you want to use. 
Database name: redmine

If for some reason you wanted to do a different database setup then other than the one you selected run this command after installing the database:

#: dpkg-reconfigure -plow redmine

Once you have the database setup and figured out we are now ready to look into installing our secret trick, Unicorn!

Jump To:   «  1 2 3  View All »

1 Comment

Leave us a comment

Leave a Comment

↑ BACK TO THE TOP ↑