Install Redmine On Ubuntu Server 13.10
Introduction
Redmine is one of most interesting project management web applications, written using Ruby on Rails framwork.
Installation
Install Apache2, MySQL and other dependencies packages:
apt-get install apache2 libapache2-mod-passenger mysql-server mysql-client
Install Redmine
apt-get install redmine redmine-mysql
Configure database for redmine, Select Yes.
Select database type. In this example, I use mysql.
Provide database administrative password.
Provide a password for redmine.
Confirm password:
Configuration
Create symlink Redmine in web documents path.
ln -s /usr/share/redmine/public /var/www/redmine
Apache2 Configuration
Edit file /etc/apache2/mods-available/passenger.conf,
vi /etc/apache2/mods-available/passenger.conf
with content:
<IfModule mod_passenger.c> PassengerDefaultUser www-data PassengerRoot /usr PassengerRuby /usr/bin/ruby </IfModule>
Change ownership:
chown -R chown -R www-data:www-data /var/www/redmine
Virtualhost Configuration
Create a virtuahost named “redmine” in /etc/apache2/sites-available/.
vi /etc/apache2/sites-available/redmine
with content:
<VirtualHost *:80> ServerAdmin helpdesk@unixmen.com ServerName redmine.unixmen.com ErrorLog /var/log/error-redmine.log LogLevel warn CustomLog /var/log/access-redmine.log combined DocumentRoot /var/www/redmine <Directory /var/www/redmine> RailsBaseURI /redmine PassengerResolveSymlinksInDocumentRoot on Options Indexes FollowSymLinks MultiViews AllowOverride all Order deny,allow Deny from all Allow from 192.168.5.0/255.255.255.0 172.16.5.0/255.255.255.0 </Directory> </VirtualHost>
Enable site redmine:
a2ensite redmine
Restart service apache2.
service apache2 restart
Add internal DNS access to redmine via browser:
http://redmine.unixmen.com
Click on Sign in to login.
Default username and password:
User Name: admin
Password: admin
Password: admin
After login success,
Change default setting page.
Go Administration –> Settings.
Change “Redmine” to “Unixmen Project Managemnt” and Save.
Redmine installation is finished, For usage, you can enable redmine feature and find out the available plugins depend on your organization’s needs.
No comments:
Post a Comment