informatica:linux:redmine
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
informatica:linux:redmine [2013/09/05 11:15] – javi | informatica:linux:redmine [2016/04/21 18:47] (current) – [Errores] javi | ||
---|---|---|---|
Line 4: | Line 4: | ||
Probado en Ubuntu 12.04.2 LTS | Probado en Ubuntu 12.04.2 LTS | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
===== Instalacion ===== | ===== Instalacion ===== | ||
Line 32: | Line 23: | ||
2. (OPCIONAL) Instalar paquetes. Los necesitamos si vamos a usar MySQL y RMagick (para manipular PDF y PNG): | 2. (OPCIONAL) Instalar paquetes. Los necesitamos si vamos a usar MySQL y RMagick (para manipular PDF y PNG): | ||
- | sudo aptitude install libmysqlclient-dev libmagickwand-dev | + | sudo aptitude install libmysqlclient-dev |
+ | |||
+ | Depende de si tenemos un sistema muy precario: | ||
+ | |||
+ | sudo aptitude install make | ||
3. Instalar ' | 3. Instalar ' | ||
Line 41: | Line 36: | ||
| | ||
3.2. Instalar: | 3.2. Instalar: | ||
+ | |||
+ | **Nuevo (21/ | ||
+ | < | ||
+ | sudo aptitude install ruby | ||
+ | </ | ||
+ | |||
+ | **Antiguo** | ||
< | < | ||
sudo aptitude install rubygems | sudo aptitude install rubygems | ||
+ | </ | ||
+ | |||
+ | < | ||
cd / | cd / | ||
sudo gem install bundler | sudo gem install bundler | ||
Line 111: | Line 116: | ||
Usuario y contrasenya: | Usuario y contrasenya: | ||
+ | ===== Configuracion ===== | ||
+ | ==== Field permissions | ||
+ | |||
+ | Incidencia: | ||
+ | |||
+ | http:// | ||
+ | |||
+ | **Objetivo**: | ||
+ | |||
+ | **Problema**: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **Explicacion**: | ||
+ | |||
+ | Basta con que un rol no tenga este campo seleccionado, | ||
+ | |||
+ | **Sugerencia**: | ||
===== Apache + SSL + redmine ===== | ===== Apache + SSL + redmine ===== | ||
Line 119: | Line 142: | ||
**IMPORTANTE** Seguir las instrucciones siguientes, es mucho mas simple que en las instrucciones de arriba. | **IMPORTANTE** Seguir las instrucciones siguientes, es mucho mas simple que en las instrucciones de arriba. | ||
- | 1. Instalar el modulo passenger: | + | 1. Instalar el modulo passenger |
sudo aptitude install libapache2-mod-passenger | sudo aptitude install libapache2-mod-passenger | ||
+ | sudo a2enmod passenger | ||
+ | |||
+ | 2. Habilitar modulo SSL: | ||
+ | |||
+ | sudo a2enmod ssl | ||
- | 2. Configurar: | + | 3. Configurar |
< | < | ||
Line 161: | Line 189: | ||
**IMPORTANTE** la ruta es /public (/ | **IMPORTANTE** la ruta es /public (/ | ||
- | 3. Reiniciar apache: | + | 4. Reiniciar apache: |
sudo / | sudo / | ||
- | 4. Acceder: | + | 5. Acceder: |
http:// | http:// | ||
Line 185: | Line 213: | ||
delivery_method: | delivery_method: | ||
</ | </ | ||
+ | |||
+ | **BUG** (http:// | ||
+ | |||
+ | < | ||
+ | production: | ||
+ | email_delivery: | ||
+ | delivery_method: | ||
+ | sendmail_settings: | ||
+ | arguments: ' | ||
+ | </ | ||
+ | |||
2. (COMPROBAR) Creo que es necesario reiniciar el servidor de páginas web, apache en este caso: | 2. (COMPROBAR) Creo que es necesario reiniciar el servidor de páginas web, apache en este caso: | ||
Line 212: | Line 251: | ||
</ | </ | ||
+ | ==== Cambiar URL de los enlaces del correo enviado ==== | ||
+ | Las notificaciones por correo incluyen un enlace URL al ticket que origino la notificacion. Esa URL se construye concatenando protocolo (http o https) + hostname (localhost por defecto) + puerto (3000 por defecto). Para cambiarlo: | ||
+ | 1. Editamos archivo de configuracion: | ||
+ | sudo cp / | ||
+ | sudo vim / | ||
+ | |||
+ | Y ajustamos los siguientes parametros: | ||
+ | |||
+ | < | ||
+ | ... | ||
+ | host_name: | ||
+ | default: redmine.example.com | ||
+ | ... | ||
+ | protocol: | ||
+ | default: https | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | 2. No se si es estrictamente necesario, pero reinicio Apache: | ||
+ | |||
+ | sudo / | ||
===== Autenticacion LDAP ===== | ===== Autenticacion LDAP ===== | ||
Line 330: | Line 390: | ||
1. Crear el siguiente documento ('/ | 1. Crear el siguiente documento ('/ | ||
- | sudo vim / | + | sudo vim / |
Con el siguiente contenido: | Con el siguiente contenido: | ||
Line 341: | Line 401: | ||
2. Ajustar permisos por si las moscas: | 2. Ajustar permisos por si las moscas: | ||
- | sudo chown www-data: | + | sudo chown www-data: |
3. Reiniciar apache: | 3. Reiniciar apache: | ||
sudo / | sudo / | ||
+ | |||
+ | ===== Migracion ===== | ||
+ | |||
+ | Si movemos un redmine de un servidor a otro hay que hacer los clasicos pasos de: | ||
+ | |||
+ | * Exportar base de datos | ||
+ | * Exportar sistema de archivos | ||
+ | |||
+ | Pero ademas hay que acceder al directorio donde esta el sistema de archivos y ejecutar: | ||
+ | |||
+ | sudo bundle install --without development test postgresql sqlite | ||
===== Errores ===== | ===== Errores ===== |
informatica/linux/redmine.1378379755.txt.gz · Last modified: 2015/04/13 20:19 (external edit)