Installing Redmine, git and gitosis on Amazon EC2
This article will detail how to install Redmine, git and gitosis on Amazon EC2 Linux instance.
Download redmine from the project’s source tree.
Create the databate configuration file. A sample is provided in the config directory, containing configuration examples for MySQL 5.x and PostgreSQL 8. In my case, SQLite3 will be sufficient.
Redmine requires some gems and we’ll install bundler to manage them easily.
Then create the following Gemfile.
… and run bundler to install them
You can optionaly set production as the default environment by uncomment the following line in file redmine/config/environment.rb:
Next generate the session store with
Then migrate the database models
Finally load default data if you want redmine to be populated with example content.
… and follow instructions.
Publishing on Apache
Create a symbolic link in the /var/www/html directory pointing to the public directory of the redmine source tree.
Next, install Phusion Passenger to simplify the deployment of web applications based on the Ruby on Rails framework. For more information on Phusion Passenger, go to modrails
Passenger’s requires some apache modules :
- Apache 2 development headers
- Apache Portable Runtime (APR) development headers
- Apache Portable Runtime Utility (APU) development headers
To install them, simply run
Then install the gem.
Then run passenger-install-apache2-module to install, as the name mention, the passenger module for apache.
Define the apache configuration file for the redmine “site”
blog comments powered by Disqus