Project

General

Profile

HowTo Install Redmine using Debian package » History » Revision 3

Revision 2 (Piotr Serwa, 2011-02-08 18:50) → Revision 3/21 (Piotr Serwa, 2011-02-08 18:52)

h1. HowTo Install Redmine using Debian package 

 A redmine debian package is available in squeeze, sid and "lenny-backports":http://backports.org/dokuwiki/doku.php?id=instructions 
 Featuring: 
 * automatic database configuration, 
 * multiple instances support. 

 The core package is redmine. 
 Three packages (redmine-*) provide correct dependencies for mysql, pgsql, sqlite. 

 Currently there is no plugins support, although it's on the way. 


 h1. Installation details 

 h2. * Install debian squeeze 

 * Install the necessary packages  

 From root console: and follow the wizard during the installation. Most of dependencies (apart from mysql and the mod passenger library) are resolved by apt-get 

 > @apt-get install mysql@ 
 > during mysql setup, provide a new root password for mysql 

 
 > @apt-get install redmine@ 
 > during redmine install, select mysql database with local connection, set the admin password for redmine_default database 

 
 > @apt-get install libapache2-mod-passenger@ 


 h2. * Do some configuration 

 @ln -s /usr/share/redmine/public /var/www/redmine@ 
 @chown -R www-data:www-data /var/www/redmine@ 
 @echo "RailsBaseURI /redmine" > /etc/apache2/sites-available/redmine@ 
 @a2ensite redmine@ 
 @/etc/init.d/apache2 reload@ 
 @/etc/init.d/apache2 restart@ 

 h2. # Run the browser 

 Open at http://localhost/redmine