Pasar al contenido principal
www.keopx.net

Navegación principal

  • Inicio
  • Talks
  • Freelance Drupal Bilbao
  • Acerca de Keopx
  • Contacto
Menú de cuenta de usuario
  • Iniciar sesión

Sobrescribir enlaces de ayuda a la navegación

  1. Inicio

HowTo: Install Redmine 2.4.2 on Ubuntu 12.04 LTS

By keopx, 9 Febrero, 2014

Download and install redmine 2.4.2 on Ubuntu 12.04 LTS

$ sudo cd /var/www

$ sudo wget http://www.redmine.org/releases/redmine-2.4.2.tar.gz

 $ sudo tar zxvf redmine-2.4.2.tar.gz
$ sudo mv redmine-2.4.2 project.example.com
$ sudo cd project.example.com/config/
$ sudo cp database.yml.example database.yml
$ sudo nano database.yml
$ sudo cd /var/www/project.example.com

Installing dependencies:

Ruby 1.9.3:

$ sudo apt-get install ruby1.9.3 

Install redmine

$ sudo gem install bundle
$ sudo bundle install --without development test

Some errors during installation:

Error mysql2:

An error occurred while installing mysql2 (0.3.15), and Bundler cannot continue.
Make sure that `gem install mysql2 -v '0.3.15'` succeeds before bundling.

Solution, install MySQL libraries:

$ sudo apt-get install mysql-client libmysqlclient-dev
$ sudo gem install mysql2 -v '0.3.15'

Error rmagick:

An error occurred while installing rmagick (2.13.2), and Bundler cannot continue.
Make sure that `gem install rmagick -v '2.13.2'` succeeds before bundling.

Solution, install magick libraries:

$ sudo apt-get install libmagickcore-dev libmagickwand-dev
$ sudo gem install rmagick -v '2.13.2'

We continue with installation:

$ sudo bundle install --without development test
$ sudo rake generate_secret_token
$ sudo RAILS_ENV=production rake db:migrate
$ sudo RAILS_ENV=production rake redmine:load_default_data
$ sudo mkdir -p tmp tmp/pdf public/plugin_assets
$ sudo chown -R 777 files log tmp public/plugin_assets
$ sudo chmod -R 755 files log tmp public/plugin_assets

Webrick server

$ sudo ruby script/rails server webrick -e production

Apache con fcgid

$ sudo aptitude install libapache2-mod-fcgid
$ sudo cd /var/www/project.example.com/public/
$ sudo mv dispatch.fcgi.example dispatch.fcgi
$ sudo chmod 755 dispatch.fcgi
$ sudo mv htaccess.fcgi.example .htaccess
$ sudo nano /etc/apache2/sites-available/project.example.com
##$ sudo Proyectos
<VirtualHost *:80>
        ServerAdmin support_mail
        ServerName project.example.com
        DocumentRoot /var/www/project.example.com/public
        <Directory /var/www/project.example.com/public>
                Options Indexes ExecCGI FollowSymLinks
                Order allow,deny
                Allow from all
                AllowOverride all
        </Directory>
        ErrorLog /var/log/apache2/proyectos_isarea_error.log
        $ sudo Possible values include: debug, info, notice, warn, error, crit,
        $ sudo alert, emerg.
        LogLevel warn
        CustomLog /var/log/apache2/proyectos_isarea_access.log combined
        ServerSignature On
</VirtualHost>
$ sudo a2ensite project.example.com
$ sudo service apache2 restart

Reference

  • http://www.redmine.org/projects/redmine/wiki/RedmineInstall
Categoria
Redmine
Ubuntu
Tag
Redmine
Ubuntu

Comentarios

El contenido de este campo se mantiene privado y no se mostrará públicamente.
Acerca de formatos de texto

HTML Restringido

  • Etiquetas HTML permitidas: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Saltos automáticos de líneas y de párrafos.
  • Las direcciones de correos electrónicos y páginas web se convierten en enlaces automáticamente.

Forcontu Master in Drupal 9

DrupalAssoc member

DrupalCampSpain2022: Introducción al desarrollo de módulos en Drupal 9

Seville Drupal Developer Days Individual Sponsor - 2017

I am speaker DrupalCamp Alicante 2018

I am speaker DrupalCamp Madrid 2017

I am speaker DrupalCamp Valencia 2014

I am Rules Ruler

Sponsored by

Isarea

Soy Ruben Egiguren a.k.a. keopx, actualmente soy freelance experto en Drupal de Bilbao

  • Reinicializar su contraseña
RSS feed
Powered by www.keopx.net