Author Archives: Juan Pablo

nagios

Dependencias 1-.sudo apt-get install -y apache2 libapache2-mod-php5 build-essential libgd2-xpm-dev libssl-dev apache2-utils libssl-dev xinetd Grupos 2-.sudo groupadd -g 9000 nagios && sudo groupadd -g 9001 nagcmd && sudo useradd -u 9000 -g nagios -G nagcmd -d /usr/local/nagios -c ‘Nagios Admin’ nagios && adduser www-data nagcmd Descargando 3-.cd /tmp/ && wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.5.1.tar.gz && sudo mv nagios-3.5.1.tar.gz /opt/ […]

Glassfish como un servicio

nano /etc/init.d/glassfish Pegar esto asumiento que glassfish esta en /usr/glassfishv3 #!/bin/sh # # glassfish init script for Linux # Simplest possible case — no password file, one default domain # it would be simple to add such options GLASSFISH_HOME=${GLASSFISH_HOME:-“/opt/glassfishv3/glassfish”} case “$1” in start) $GLASSFISH_HOME/bin/asadmin start-domain >/dev/null ;; stop) $GLASSFISH_HOME/bin/asadmin stop-domain >/dev/null ;; restart) $GLASSFISH_HOME/bin/asadmin restart-domain […]

Instalar Glassfish debian 7

Descargar GlassFish Multilingue el .zip desde: cd /tmp/ https://glassfish.java.net/es/downloads/3.0.1-final.html o http://download.java.net/glassfish/3.0.1/release/glassfish-3.0.1-ml.zip Creando el directorio de instalación: cp /tmp/glassfish-3.0.1-ml.zip /usr/ cd /usr unzip glassfish-3.0.1-ml.zip Agregamos Variables: export GLASSFISH_HOME=/usr/glassfishv3/glassfish
 && export PATH=$JAVA_HOME/bin:$GLASSFISH_HOME/bin:$PATH Y listo ya esta instalado!!! Si instalaste 64bits nesecitas la compatibilidad con updatetools 32bits sudo apt-get install ia32-libs sudo ln -s /lib/i386-linux-gnu /usr/lib32 Ahora a […]

Installar Java 8 JDK Debian 7, CentOS

Actualizando: apt-get update Descargando java 8 JDK cd /opt/ 64Bits sudo wget –no-cookies –no-check-certificate –header “Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie” “http://download.oracle.com/otn-pub/java/jdk/8u25-b17/jdk-8u25-linux-x64.tar.gz” tar -zxvf jdk-8u25-linux-x64.tar.gz 32 Bits sudo wget –no-cookies –no-check-certificate –header “Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie” “http://download.oracle.com/otn-pub/java/jdk/8u25-b17/jdk-8u25-linux-i586.tar.gz” tar -zxvf jdk-8u25-linux-i586.tar.gz Preparando el Directorio de instalación e Instalando: # cd /opt/jdk1.8.0_25/ sudo update-alternatives –install /usr/bin/java java /opt/jdk1.8.0_25/bin/java 2 sudo update-alternatives […]

Another cool blog post example!

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed vulputate massa. Fusce ante magna, iaculis ut purus ut, facilisis ultrices nibh. Quisque commodo nunc eget tortor dapibus, et tristique magna convallis. Phasellus egestas nunc eu venenatis vehicula. Phasellus et magna nulla. Proin ante nunc, mollis a lectus ac, volutpat placerat ante. Vestibulum sit amet […]

A Video Blog Post

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed vulputate massa. Fusce ante magna, iaculis ut purus ut, facilisis ultrices nibh. Quisque commodo nunc eget tortor dapibus, et tristique magna convallis. Phasellus egestas nunc eu venenatis vehicula. Phasellus et magna nulla. Proin ante nunc, mollis a lectus ac, volutpat placerat ante. Vestibulum sit amet […]

Just a cool blog post with A Gallery

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed vulputate massa. Fusce ante magna, iaculis ut purus ut, facilisis ultrices nibh. Quisque commodo nunc eget tortor dapibus, et tristique magna convallis. Phasellus egestas nunc eu venenatis vehicula. Phasellus et magna nulla. Proin ante nunc, mollis a lectus ac, volutpat placerat ante. Vestibulum sit amet […]