Académique Documents
Professionnel Documents
Culture Documents
8 ##
##
## Instala��o MySQL
cd /tmp
wget http://dev.mysql.com/get/mysql57-community-release-el6-8.noarch.rpm
rpm -ivh mysql57-community-release-el6-8.noarch.rpm
yum install mysql-server
mysql_secure_installation
usu�rio: root
senha: SenhaQueDesejar
## Pacotes adicionais
yum -y install ImageMagick ImageMagick-devel libcurl-devel httpd-devel mysql-devel
ipa-pgothic-fonts
## Redmine 3.3
cd /tmp
wget http://www.redmine.org/releases/redmine-3.3.0.tar.gz
tar zxvf redmine-3.3.0.tar.gz
cp configuration.yml.example configuration.yml
# Conta de e-mail:
# Senha: SenhaQueDesejar
####
## Dependencias Redmine
gem install bundler
## Validar Passenger
passenger-config validate-install
####
## Instala��o do Redmine
bundle install --without development test
bundle exec rake generate_secret_token
RAILS_ENV=production bundle exec rake db:migrate
## Config Apache
<VirtualHost *:80>
ServerName meu.servidor.com.br
ServerAdmin webmaster@servidor.com.br
DocumentRoot /var/www/html/redmine-3.3.0/public
ErrorLog logs/redmine3_error_log
<Directory "/var/www/html/redmine-3.3.0">
RailsBaseURI /redmine-3.3.0
PassengerResolveSymlinksInDocumentRoot on
</Directory>
<Directory /var/www/html/redmine-3.3.0/public>
Options Indexes ExecCGI FollowSymLinks
Order allow,deny
Allow from all
AllowOverride all
</Directory>
</VirtualHost>
## Reiniciar Apache
service httpd restart
## Instala��o b�sica de plugins
1. Copiar o plugin para /var/www/html/redmine-3.3.0/plugins
2. Executar: bundle exec rake redmine:plugins:migrate RAILS_ENV="production"
3. Caso gems forem necess�rios, executar: bundle install --without development test
4. Reiniciar Apache
## Tema - Exemplo
https://github.com/makotokw/redmine-theme-gitmike
cd /var/www/html/redmine-3.3/public/themes
git clone git://github.com/makotokw/redmine-theme-gitmike.git gitmike