HowTo Install Redmine using Debian package » History » Version 2
Piotr Serwa, 2011-02-08 18:50
1 | 1 | Jérémy Lal | h1. HowTo Install Redmine using Debian package |
---|---|---|---|
2 | |||
3 | A redmine debian package is available in squeeze, sid and "lenny-backports":http://backports.org/dokuwiki/doku.php?id=instructions |
||
4 | Featuring: |
||
5 | * automatic database configuration, |
||
6 | * multiple instances support. |
||
7 | |||
8 | The core package is redmine. |
||
9 | Three packages (redmine-*) provide correct dependencies for mysql, pgsql, sqlite. |
||
10 | |||
11 | Currently there is no plugins support, although it's on the way. |
||
12 | 2 | Piotr Serwa | |
13 | |||
14 | h1. Installation details |
||
15 | |||
16 | * Install debian squeeze |
||
17 | |||
18 | * Install the necessary packages and follow the wizard during the installation. Most of dependencies (apart from mysql and the mod passenger library) are resolved by apt-get |
||
19 | |||
20 | > @apt-get install mysql@ |
||
21 | > during mysql setup, provide a new root password for mysql |
||
22 | > @apt-get install redmine@ |
||
23 | > during redmine install, select mysql database with local connection, set the admin password for redmine_default database |
||
24 | > @apt-get install libapache2-mod-passenger@ |
||
25 | |||
26 | |||
27 | * Do some configuration |
||
28 | |||
29 | @ln -s /usr/share/redmine/public /var/www/redmine@ |
||
30 | @chown -R www-data:www-data /var/www/redmine@ |
||
31 | @echo "RailsBaseURI /redmine" > /etc/apache2/sites-available/redmine@ |
||
32 | @a2ensite redmine@ |
||
33 | @/etc/init.d/apache2 reload@ |
||
34 | @/etc/init.d/apache2 restart@ |
||
35 | |||
36 | # Run the browser at http://localhost/redmine |