Instalación rt

Páginas: 6 (1363 palabras) Publicado: 6 de julio de 2010
#######Instalar los siguientes paquetes

aptitude install postgresql
perl
apache2
php5-ldap

#########Descargar rt

http://bestpractical.com/rt/download_file.html?file=

##########Descargar RT-Authen....

http://search.cpan.org/dist/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm

########ubicar en el equipo de AlexanderPernalete la carpeta y traerla a el equipo a instalar

/home/apernalete/file-deb.tar.gz

#########Crear usuario postgres

postgres@sudeban-desktop:~$ createuser -W rtdb
¿Será el nuevo rol un superusuario? (s/n) s
Contraseña: rtdb

######### Copiar y Descomprimir el archivo rt-3.8.8

cp /home/apernalete/file-deb/rt-3.8.8.tar.gz /opt/
cd /opt/
tar -xvzf rt-3.8.8.tar.gz
cd rt-3.8.8######## verifica todas las dependencias
/opt/rt-3.8.8/#
make testdeps

###### instalar las dependencias archivo cd /home/apernalete/file-deb/
# sh instalar-debs.sh
# dpkg -i *.deb

###### luego verificar volver a verificar las dependencias
/opt/rt-3.8.8/#
make testdeps

al tener todas las dependencias instaladas se procede a configurar las rutas:

./configure--prefix=/opt/rt3 --enable-graphviz --enable-gd --with-db-host=localhost --with-db-type=Pg --with-db-dba=rtdb --with-db-database=rtdb --with-web-user=www-data --with-web-group=www-data

make install
make initialize-database

·
###### al colocarle la clave si falla puede salir un aviso como este

/usr/bin/perl -I/opt/rt3/local/lib -I/opt/rt3/lib sbin/rt-setup-database --action init --dba rtdb--prompt-for-dba-password
In order to create or update your RT database, this script needs to connect to your Pg instance on localhost as rtdb
Please specify that user's database password below. If the user has no database
password, just press return.

Password: Working with:
Type: Pg
Host: localhost
Name: rtdb
User: rt_user
DBA: rtdb
Failed to connect to dbi:Pg:dbname=template1;host=localhost asuser 'rtdb': FATAL: la autentificaci?n password fall? para el usuario
FATAL: la autentificaci?n password fall? para el usuario make: *** [initialize-database] Error 255

###### solucionarlo así

root@sudeban-desktop:/opt/rt-3.8.8# su - postgres
postgres@sudeban-desktop:~$ psql
psql (8.4.4)
Digite «help» para obtener ayuda.

postgres=# alter user rtdb with password 'rtdb';
ALTER ROLEpostgres=# (control d)
postgres@sudeban-desktop:~$ (control d)

######## volvemos a ejecutar (make initialize-database)

root@sudeban-desktop:/opt/rt-3.8.8# make initialize-database
/usr/bin/perl -I/opt/rt3/local/lib -I/opt/rt3/lib sbin/rt-setup-database --action init --dba rtdb --prompt-for-dba-password
In order to create or update your RT database, this script needs to connect to yourPg instance on localhost as rtdb
Please specify that user's database password below. If the user has no database
password, just press return.

Password: (clave de postgres

Working with:
Type: Pg
Host: localhost
Name: rtdb
User: rt_user
DBA: rtdb
Now creating a Pg database rtdb for RT.
Done.
Now populating database schema.
Done.
Now inserting database ACLs
Done.
Now inserting RTcore system objects
Done.
[Fri Jul 2 20:42:04 2010] [error]: The RTAddressRegexp option is not set in the config. Not setting this option results in additional SQL queries to check whether each address belongs to RT or not. It is especially important to set this option if RT recieves emails on addresses that are not in the database or config. (/opt/rt-3.8.8/sbin/../lib/RT/Config.pm:343)
Nowinserting data
Done inserting data
Done.

listo!!! ya esta instalado

####### para probar que este funcionando ejecutamos

root@sudeban-desktop:/opt/rt-3.8.8# bin/standalone_httpd 8080

nos mostrará lo siguiente:

[Fri Jul 2 20:47:43 2010] [error]: The RTAddressRegexp option is not set in the config. Not setting this option results in additional SQL queries to check whether each...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • 555Gnbfn rt rt hrth r
  • RT DIABETES
  • la biografia de rt
  • Rt 22
  • tdhg rt
  • RT Contable
  • Rt sdfsdf
  • RT 39

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS