HowTo Install Redmine using Debian package » History » Version 3
Piotr Serwa, 2011-02-08 18:52
| 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 | 3 | Piotr Serwa | h2. Install the necessary packages |
| 17 | 2 | Piotr Serwa | |
| 18 | 3 | Piotr Serwa | From root console: |
| 19 | 1 | Jérémy Lal | |
| 20 | 3 | Piotr Serwa | @apt-get install mysql@ |
| 21 | during mysql setup, provide a new root password for mysql |
||
| 22 | 1 | Jérémy Lal | |
| 23 | 3 | Piotr Serwa | @apt-get install redmine@ |
| 24 | during redmine install, select mysql database with local connection, set the admin password for redmine_default database |
||
| 25 | 2 | Piotr Serwa | |
| 26 | 3 | Piotr Serwa | @apt-get install libapache2-mod-passenger@ |
| 27 | 2 | Piotr Serwa | |
| 28 | 3 | Piotr Serwa | |
| 29 | h2. Do some configuration |
||
| 30 | |||
| 31 | 1 | Jérémy Lal | @ln -s /usr/share/redmine/public /var/www/redmine@ |
| 32 | 2 | Piotr Serwa | @chown -R www-data:www-data /var/www/redmine@ |
| 33 | @echo "RailsBaseURI /redmine" > /etc/apache2/sites-available/redmine@ |
||
| 34 | @a2ensite redmine@ |
||
| 35 | @/etc/init.d/apache2 reload@ |
||
| 36 | @/etc/init.d/apache2 restart@ |
||
| 37 | |||
| 38 | 3 | Piotr Serwa | h2. Run the browser |
| 39 | |||
| 40 | Open http://localhost/redmine |