Modification de Redmine : Installation sous CentOS 6
La modification peut être annulée. Veuillez vérifier les différences ci-dessous pour voir si c’est bien ce que vous voulez faire, puis publier ces changements pour finaliser l’annulation de cette modification.
Version actuelle | Votre texte | ||
Ligne 1 : | Ligne 1 : | ||
{{Auteur|Adadov}} | {{Auteur|Adadov}} | ||
== Installation Apache et mod_passenger == | |||
{{LxTerm|user=root|text=yum install httpd mod_passenger}} | {{LxTerm|user=root|text=yum install httpd mod_passenger}} | ||
== Téléchargement Redmine == | == Téléchargement Redmine == | ||
{{LxTerm|user=root|text=wget http://www.redmine.org/releases/redmine-2.6.2.tar.gz | {{LxTerm|user=root|text=wget http://www.redmine.org/releases/redmine-2.6.2.tar.gz | ||
Ligne 32 : | Ligne 13 : | ||
== Installation environnement Ruby == | == Installation environnement Ruby == | ||
{{LxTerm|user=root|text=yum install mysql-devel (si on utilise une DB MySQL) | |||
yum install ruby-devel | |||
yum install ImageMagick-devel | |||
{{LxTerm|user=root|text=yum install mysql-devel ruby-devel ImageMagick-devel | gem install bundler | ||
cd /var/www/redmine | |||
chown -R adadov . | |||
su - adadov | |||
chown -R | |||
su - | |||
bundle install --without development test}} | bundle install --without development test}} | ||
== Création de la DB MySQL == | == Création de la DB MySQL == | ||
{{MySQLTerminal|text=CREATE DATABASE redmine CHARACTER SET utf8; | {{MySQLTerminal|text=CREATE DATABASE redmine CHARACTER SET utf8; | ||
GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'localhost | CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'my_password'; | ||
GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'localhost';}} | |||
== Configuration Redmine == | == Configuration Redmine == | ||
{{LxTerm|user=root|text=cd config | {{LxTerm|user=root|text=cd config | ||
Ligne 64 : | Ligne 34 : | ||
vim database.yml}} | vim database.yml}} | ||
Configuration de l'accès à la base de donnée | |||
Configuration à | |||
{{LxTerm|user=root|text=rake generate_secret_token | {{LxTerm|user=root|text=rake generate_secret_token | ||
RAILS_ENV=production rake db:migrate | RAILS_ENV=production rake db:migrate | ||
RAILS_ENV=production rake redmine:load_default_data}} | RAILS_ENV=production rake redmine:load_default_data}} | ||
{{LxTerm|user=root|text=mkdir -p tmp tmp/pdf public/plugin_assets | {{LxTerm|user=root|text=mkdir -p tmp tmp/pdf public/plugin_assets | ||
Ligne 82 : | Ligne 46 : | ||
== Configuration Apache == | == Configuration Apache == | ||
<source lang="apache"> | |||
< | |||
<VirtualHost *:80> | <VirtualHost *:80> | ||
ServerName redmine.mondomaine.com | ServerName redmine.mondomaine.com | ||
Ligne 98 : | Ligne 60 : | ||
CustomLog logs/access_redmine.log combined | CustomLog logs/access_redmine.log combined | ||
</VirtualHost> | </VirtualHost> | ||
</ | </source> | ||
[[Catégorie:Développement]] | [[Catégorie:Développement]] | ||
[[Catégorie:SysAdmin]] | [[Catégorie:SysAdmin]] |