Redmine

De 33system wiki
Saltar a: navegación, buscar

<< Informatica

Redmine

Teoría

Práctica

wget http://rubyforge.org/frs/download.php/76722/redmine-2.2.2.tar.gz
tar xzfv redmine-2.2.2.tar.gz
cd redmine-2.2.2
apt-get install apache2 libapache2-mod-passenger
apt-get install mysql-server mysql-client 

## Apache
vim /etc/apache2/mods-available/passenger.conf
# añadimos la linea dentro del tag
PassengerDefaultUser www-data
#
ln -s /usr/share/redmine/public /var/www/redmine
#
vim /etc/apache2/sites-available/default
# lo dejamos de la siguiente forma
===============================
    <Directory /var/www/redmine>
        RailsBaseURI /redmine
        PassengerResolveSymlinksInDocumentRoot on
    </Directory>
</VirtualHost>
===============================
# reiniciamos apache
service apache2 restart


## Postfix
apt-get install postfix
#
vim /etc/redmine/default/configuration.yml
#
===============================
production:
  email_delivery:
    delivery_method: :sendmail
===============================
#
service apache2 restart

## Backup
#
/usr/bin/mysqldump -u root -p<password> redmine_default | gzip > /path/to/backups/redmine_db_`date +%y_%m_%d`.gz
#
rsync -a /var/lib/redmine/default/files /path/to/backups/files

Documentación