Professional Documents
Culture Documents
GLPI
FECHA: 02/03/2015
Presentado a: Metro S.A.
Versin 1.
La presente documentacin es propiedad de ITQ Chile, tiene carcter confidencial y no podr ser objeto de
reproduccin total o parcial, tratamiento informtico ni transmisin de ninguna forma o por cualquier medio,
ya sea electrnico, mecnico, por fotocopia, registro o cualquiera otro. Asimismo tampoco podr ser objeto
de prstamo, alquiler o cualquier forma de cesin de uso sin el permiso previo y escrito de ITQ Chile, titular
del Copyright. El incumplimiento de las limitaciones sealadas por cualquier persona que tenga acceso a la
documentacin ser perseguida conforme a ley.
NDICE
1.
2.
REQUISITOS: ........................................................................................................................................... 4
INSTALACIN GENERAL ............................................................................................................................. 4
PASOS ADICIONALES ................................................................................................................................. 6
MODIFICACIN DE ETIQUETAS. ................................................................................................................... 6
2 de 9
www.itqchile.com
|Fono: 562-26950645
1. CONTROL DE CAMBIOS
Versin Actual
1.0
Fecha de Creacin
02/03/2015
Creado por
lvaro Gmez
Aprobado por
Clasificacin de Informacin
Privada
N/A
3 de 9
www.itqchile.com
|Fono: 562-26950645
REQUISITOS:
INSTALACIN GENERAL
Descargar
el
fichero
de
instalacin
desde
la
direccin
4 de 9
www.itqchile.com
|Fono: 562-26950645
g) PROBAR EN EL NAVEGADOR
Con la URL http://localhost deberamos entrar a la pgina de Apache
h) REINICIAR MYSQL
# /etc/init.d/mysqld restart
i) INGRESAR A MYSQL
# mysql -u root
j) CREAR LA BASE DE DATOS
mysql> create database glpi;
k) REVISAR QUE SE HAYA CREADO
mysql> show databases;
# rm -fr /var/www/html/glpi/install/install.php
5 de 9
www.itqchile.com
|Fono: 562-26950645
2.3.
PASOS ADICIONALES
MODIFICACIN DE ETIQUETAS.
intervenir
el
archivo
si
no
se
tiene
esta
informacin.
Inventario de intangibles.
Para esta funcionalidad se desarroll una aplicacin en Java, de
manera que se requiere la instalacin de un Tomcat 6 en el
servidor. Se asume que ya se encuentra instalado el JDK 1.7 o
superior. Los pasos a seguir para ello son:
a) DESCARGAR LOS PAQUETES APACHE-ANT Y APACHE-TOMCAT DESDE
HTTP://ANT.APACHE.ORG/ Y HTTP://TOMCAT.APACHE.ORG/ RESPECTIVAMENTE.
6 de 9
www.itqchile.com
|Fono: 562-26950645
b) DESCOMPRIMIR
Este es el script:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
#
# tomcat
Starts Tomcat Java server.
#
#
# chkconfig: 345 88 12
# description: Tomcat is the server for
# Java servlet applications.
### BEGIN INIT INFO
# Provides: $tomcat
### END INIT INFO
JAVA_HOME=/usr/java/jdk1.6.0_18
export JAVA_HOME
TOMCAT_HOME=/opt/apache-tomcat-6.0.26/bin
START_TOMCAT=/opt/apache-tomcat-6.0.26/bin/startup.sh
STOP_TOMCAT=/opt/apache-tomcat-6.0.26/bin/shutdown.sh
# Source function library.
. /etc/init.d/functions
[ -f $START_TOMCAT ] || exit 0
[ -f $STOP_TOMCAT ] || exit 0
RETVAL=0
umask 077
start() {
echo -n $"Starting Tomcat Java server: "
daemon su -c $START_TOMCAT tomcat
7 de 9
www.itqchile.com
|Fono: 562-26950645
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
echo
return $RETVAL
}
stop() {
echo -n $"Shutting down Tomcat Java server: "
daemon su -c $STOP_TOMCAT tomcat
echo
return $RETVAL
}
restart() {
stop
start
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
restart
;;
*)
echo $"Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?
www.itqchile.com
|Fono: 562-26950645
que
deben
copiarse
en
La
aplicacin
debera
levantar
al
llamar
la
URL
http://XXXX:8080/GLPIProductivo/servlet/com.glpi.intangible
s, donde XXXX es el nombre o IP del servidor respectivo.
l) INTEGRAR A GLPI.
www.itqchile.com
|Fono: 562-26950645