Disco duro de 120Gb, 2Gb Ram, y CPU Core 2 Duo 2.4Ghz, deben contar con acceso al usuario root
1.- Comprobamos la versión de Java
#java -version
2.- Si tenemos algún mensaje en consola por ejm. "java version 1.4" está bien, pero sino, es igual, ya que usaremos la versión actual de Java para nuestra instalación.
Tip.- si desean borrar java, pueden ejecutar: yum remove java
3.- Nos dirigimos este enlace para descargar la última versión de java. Tip. Descargen JDK 6u21 o la que sea la más actual, y a su vez pueden escoger la plataforma que deseen, i386 o x86_64 y en el formaro "rpm.bin"
4.- Una vez descargado ejecutamos:
#chmod 755 jdk-6u21-linux-i386-rpm.bin
5.- Ahora ejecutamos:
#./jdk-6u21-linux-i386-rpm.bin
6.- Ejecutamos lo siguiente para saber la versión de java:
#java -version
7.- Creamos la carpeta "java" en el directorio opt:
#mkdir -p /opt/java
8.- Realizamos un enlace simbólico al directorio java:
#ln -s /usr/java/jdk1.6.0_21 /opt/java
9.- Crearemos un fichero ejecutable, en el indicaremos el "JAVA_HOME" que es muy importante para nuestra instalación, este "script" estará en la ruta /etc/profile.d:
#vim /etc/profile.d/java.sh
- - - -
#java
JAVA_HOME=/opt/java/jdk
PATH=$PATH:$JAVA_HOME/bin
CLASSPATH=$JAVA_HOME/lib LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386
export JAVA_HOME PATH CLASSPATH LD_LIBRARY_PATH
- - - -
Tip. En LD_LIBRARY_PATH, deben de escoger si, por ejm. su server es X86_64, /lib/amd6410.- Ahora damos permisos de ejecución al script y lo ejecutamos:
#chmod 755 /etc/profile.d/java.sh #sh /etc/profile.d/java.sh
11.- Ahora que tenemos java configurado, procedemos a instalar Jboss.
12.- Procedemos a descargar Jboss de este enlace yo, he descargado la version 4.3, el método de instalación funciona para cualquiera de las versiones.
13.- Descomprimimos Jboss:
#unzip jboss-4-0.3.GA-jdsk6.zip -d /usr/java
14.- Creamos un enlace simbólico:
#ln -s /usr/java/jboss-4.0.3.GA /opt/java/jboss
15.- Creamos el script "jboss.sh" en la ruta /etc/profile.d/
# vim /etc/profile.d/jboss.sh
- - -
# JBoss As
JBOSS_HOME=/opt/java/jboss
PATH=$PATH:$JBOSS_HOME/bin
export JBOSS_HOME PATH
- - -
16.- Damos permisos de ejecución y ejecutamos el script:
#chmod 755 /etc/profile.d/jboss.sh #sh /etc/profile.d/jboss.sh
17.- Agregamos el usuario "jboss"
#adduser jboss o useradd jboss
18.- Cambiamos permisos en la carpeta "jboss":
#chown -Rf jboss.jboss /opt/java/jboss/
19.- Ingresamos con el user "jboss":
#su jboss
20.- Ahora ejecutaremos el "run.sh", script por default que inicia los servicios para Jboss: $/opt/java/jboss/bin/run.sh
21.- Ahora, si queremos que escuche cualquier ip:
$/opt/java/jboss/bin/run.sh -b 0.0.0.0
22.- Si revisamos el log, veremos un mensaje así:
18:23:18,035 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 1m:15s:48
23.- Para ingresar al panel de Jboss, desde nuesto browser: http://ip_server:8080
Espero que les sea de utilidad, y para la próxima, escribiré como crear instancias, definir proyectos bajo instancias y más.
Sls
1 comentario:
Graceful city assistant: The goal of sagacious division each is crucial
David of coach of graceful city covey - general is pulled praised especially hit into in the match to Xibulang absolutely the Ai Ding of smash - sagacious division.
After in first half Milner is punished to fall, defend crown champion to be surpassed very likely in Benchangbi it seems that lose cent, but sagacious division reserve comes on stage is to be in first score breaks even when still having 10 minutes of ends from the match, the phase when filling again subsequently infiltrates absolutely smash.
Pratt says assistant of graceful city covey: If we review sagacious division to be in the career of graceful city, see those his goals, he is hit into too much crucial ball, each ball is very important. I still remember going up last sports season, he is opposite the goal when Bulaikeben, more or less did that one ball help us promote Ou Guan.
See settle on sports season again, he also is hit into a lot of crucial balls. Win that one ball of league matches champion, akuiluo will forever by person engrave on one's mind, but cannot forget sagacious division broke even score.
Miernayin fouls for tactics the end that be punished, but Pratt thinks graceful city deserves to go up victory, because be in little graceful city still dominated scene below the circumstance of 1 person. Pratt says: Look with respect to me from the angle of the spot, milner is punished to [url=http://www.palmexpo.in/nikeairmax.aspx]cheap air maxes[/url] play that ball is not goal opportunity. Of course you also can have other view. Nevertheless we cannot sit over to complain 70 minutes for juridical decision.
In time of first half the rest, we are affected by it for certain, both sides did not dominate the game at that time. In when resting, if we dominate the game,we say to the player, maintain discipline sex, solidarity, we can defy with them, because of this the second half we dominated the game. See the shoot after contest and technical count, you may be complete consciousness is less than us to have 10 people only.
The consideration when general plays the field in also admitting especially changes chin too Luoteli, yellow card gets when latter first half, and be warned by case of carat Teng rich for many times. Pratt says: We want to change chin very much really Luoteli. He had yellow card inside 20 minutes. We saw first half, he can make menace to the other side all the time. Then we say to him scarcely wants to lose mind, after saying, we feel very self-confident. He looks very calm.
Publicar un comentario