一、apache2 Passenger
1.install redmine:
sudo apt-get install redmine redmine-mysql libapache2-mod-passenger
2.reconfiguration redmine:
sudo dpkg-reconfigure redmine
configuration file, /etc/redmine/default/database.yml
3.link redmine to apache2
sudo ln -s /usr/share/redmine/public/ /var/www/redmine
4.vim /etc/apache2/mods-available/passenger.conf, add:
PassengerDefaultUser www-data
5.vim /etc/apache2/sites-available/default by adding:
<Directory /var/www/redmine>
RailsBaseURI /redmine
PassengerResolveSymlinksInDocumentRoot on
</Directory>
6.sudo service apache2 restart
Maybe sudo chmod a+x /usr/share/redmine/public
7.打开
http://192.168.168.160/redmine/
8.默认帐号:
admin,password:admin
参看资料
a. http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_on_Ubuntu_step_by_step
b. http://www.linuxidc.com/Linux/2012-08/67305.htm