Вы находитесь на странице: 1из 6

Configuracin de envo de correos

# aptitude install exim4


# dpkg-reconfigure -plow exim4-config (en mi blog terracenter, de blogspot esta algo de
eso y siempre la uso)
Seguridad
Firewall (Shorewall) (
Gestion Log Shorewall
Contenido
[ocultar]
1 Compilador Java
2 Soporte JavaMail
3 Herramienta de Compilacion Apache "Ant"
4 Apache "Tomcat" Servlet Container
5 MySQL Database Provider
6 MySQL JDBC Driver
7 Installing/Compiling the OpenGTS Source
8 Initialization and Installation Testing
8.1 Initializing the SQL Database Tables
8.2 Testing the Installation
8.3 Loading the Sample Data
8.4 Creating the "sysadmin" Account
9 Installing track.war
9.1 Configuring the "webapp.conf" file
9.2 Configuring the available reports
9.3 Configuring the Private Label look & feel
9.4 Compiling/Installing the "track.war" Java Servlet
9.5 Testing the Installation
9.6 Installing Multiple Versions of "track.war"
10 Installing events.war
11 Database Administration
12 Installing/Starting the OpenDMTP, TK10x, and Aspicore DCS Modules
12.1 Configuring the "dcservers.xml" File
12.2 Starting the Device Communication Server
[editar] 1 Compilador Java
fuente: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
# aptitude install python-software-properties
# add-apt-repository ppa:webupd8team/java
# aptitude update
# aptitude install oracle-java6-installer

# echo 'JAVA_HOME="/usr/lib/jvm/java-6-oracle"' >> /etc/environment


# exit
$ sudo su # cd /usr/local
# ln -sfn $JAVA_HOME java
[editar] 2 Soporte JavaMail
http://www.oracle.com/technetwork/java/javamail/index.html
Como wget no sirve se debe bajar en el equipo local y luego enviarlo con rsync o pscp si
estas en windows
Desktop Linux
$ rsync -e ssh --progress -avz javamail1_4_7.zip
usuario@host.dominio.com:/home/usuario/
Servidor OpenGTS
$ mv javamail1_4_7.zip /tmp/
$ cd /tmp/
$ unzip unzip javamail1_4_7.zip
# cp javamail-1.4.7/mail.jar $JAVA_HOME/jre/lib/ext/.
[editar] 3 Herramienta de Compilacion Apache "Ant"
# aptitude install ant
# echo 'ANT_HOME="/usr/share/ant"' >> /etc/environment
[editar] 4 Apache "Tomcat" Servlet Container
# aptitude install tomcat7
# ln -s /var/lib/tomcat7 /usr/local/tomcat
# echo 'CATALINA_HOME="/usr/local/tomcat"' >> /etc/environment
# exit
$ sudo su # ln -snf $CATALINA_HOME tomcat
Editamos el archivo /etc/tomcat7/policy.d/04webapps.policy e incluimos al final
grant codeBase "file:${catalina.home}/webapps/track/WEB-INF/-" {
permission java.util.PropertyPermission "*", "read,write";
permission java.security.AllPermission;
};
grant codeBase "file:${catalina.home}/webapps/events/WEB-INF/-" {
permission java.util.PropertyPermission "*", "read,write";
permission java.security.AllPermission;
};
grant codeBase "file:${catalina.home}/webapps/mologogo/WEB-INF/-" {

permission java.util.PropertyPermission "*", "read,write";


permission java.security.AllPermission;
};
Make sure the above values are appropriate for your installation.
# /etc/init.d/tomcat7 restart
[editar] 5 MySQL Database Provider
# aptitude install mysql-server
root: Gps2013*
[editar] 6 MySQL JDBC Driver
# aptitude -y install libmysql-java
# cp /usr/share/java/mysql-connector-java-5.1.16.jar $JAVA_HOME/jre/lib/ext/.
[editar] 7 Installing/Compiling the OpenGTS Source
# cd /usr/local
# unzip /tmp/OpenGTS_2.4.7.zip
# chown -R terracenter.terracenter OpenGTS_2.4.7
# echo 'GTS_HOME="/usr/local/OpenGTS_2.4.7"' >> /etc/environment
# exit
$ sudo su # cd /usr/local
# ln -sfn $GTS_HOME gts
# exit
$ exit
$ cd $GTS_HOME
$ ant all
[editar] 8 Initialization and Installation Testing
[editar] 8.1 Initializing the SQL Database Tables
$ cd $GTS_HOME
$ bin/initdb.sh -rootUser=<rootUser> -rootPass=<rootPass>
Version: 2.4.7
Database created: gts
Privileges granted to user: gts
Validating table columns ...
---------------------------------------------------------------------Table 'Account'
[-1] Creating table ...
Table 'AccountString'
[-1] Creating table ...
Table 'User'
[-1] Creating table ...

Table 'UserAcl'
[-1] Creating table ...
Table 'GroupList'
[-1] Creating table ...
Table 'Device'
[-1] Creating table ...
Table 'Transport'
[-1] Creating table ...
Table 'UniqueXID'
[-1] Creating table ...
Table 'DeviceGroup'
[-1] Creating table ...
Table 'DeviceList'
[-1] Creating table ...
Table 'Driver'
[-1] Creating table ...
Table 'EventData'
[-1] Creating table ...
Table 'Geozone'
[-1] Creating table ...
Table 'Resource'
[-1] Creating table ...
Table 'Role'
[-1] Creating table ...
Table 'RoleAcl'
[-1] Creating table ...
Table 'StatusCode'
[-1] Creating table ...
Table 'SystemProps'
[-1] Creating table ...
Table 'EventTemplate'
[-1] Creating table ...
Table 'PendingPacket'
[-1] Creating table ...
Table 'Property'
[-1] Creating table ...
Table 'Diagnostic'
[-1] Creating table ...
---------------------------------------------------------------------Column validation completed successfully.
---------------------------------------------------------------------Updating GTS Version: 2.4.7
Updating DMTP Version: 1.3.5
[editar] 8.2 Testing the Installation
$ cd $GTS_HOME
$ bin/checkInstall.sh
==================================================================
===================
No errors reported
No warnings reported
==================================================================
===================
Test de envio de correo Antes de debe configurar en el archivo custom.conf los parametros de
envio de correo
# --- SMTP
# - (outgoing email configuration parameters)
smtp.host=smtp.example.com
smtp.port=465
smtp.user=someuser
smtp.user.emailAddress=someuser@example.com

smtp.password=somepass
smtp.enableSSL=true
#smtp.enableTLS=true
* $ bin/checkInstall.sh -sendMail terra...@gmail.com
[editar] 8.3 Loading the Sample Data
sampleData/README.txt
[editar] 8.4 Creating the "sysadmin" Account
$ bin/admin.sh Account -account=sysadmin -pass=ft12378695* -create
[editar] 9 Installing track.war
[editar] 9.1 Configuring the "webapp.conf" file
[editar] 9.2 Configuring the available reports
[editar] 9.3 Configuring the Private Label look & feel
[editar] 9.4 Compiling/Installing the "track.war" Java Servlet
$ cd $GTS_HOME
$ ant track
$ sudo cp build/track.war $CATALINA_HOME/webapps/.
o de forma automatica
$ sudo ant track.deploy
[editar] 9.5 Testing the Installation
http://localhost:8080/track/Track
[editar] 9.6 Installing Multiple Versions of "track.war"
[editar] 10 Installing events.war
[editar] 11 Database Administration
[editar] 12 Installing/Starting the OpenDMTP, TK10x, and Aspicore DCS Modules
[editar] 12.1 Configuring the "dcservers.xml" File
[editar] 12.2 Starting the Device Communication Server
$ cd $GTS_HOME
$ bin/runserver.sh -s server
Ejemplo
$ bin/runserver.sh -s tk10x
Navegacin
Pgina principal
Portal de la comunidad
Actualidad

Cambios recientes
Pgina aleatoria
Ayuda
Buscar
Herramientas
Lo que enlaza aqu
Cambios relacionados
Subir archivo
Pginas especiales
Versin para imprimir
Enlace permanente
Terracenter
Mi pgina de discusin
Mis preferencias
Lista de seguimiento
Mis contribuciones
Salir
1- http://thepiratebay.se/torrent/11604351
2- Magnet

Вам также может понравиться