Instalacion y Configuracion de Apache Tomcat


primero que nada les comento que ando algo oxidado y pues para aquellos que necesiten un servidor web como lo es apache tomcat 6.x en Linux aqui les va un pequeño tuto

Primero que nada necesitamos tener la versión de Java JDK con propósitos para este tutorial lo instalaremos de la siguiente manera:

nos descargamos el .bin de la pagina de JAVA de aquí

una ves descargado que lo mas seguro es que este en su escritorio hacemos lo siguiente:

$ cd /home/{usuario}/Desktop
NOTA: $ = Usuario Normal # = super Usuario
$ chmod +x jdk-6u10-linux-i586.bin
# mv jdk1.6.0_10 jdk1.6
# mkdir /usr/java
# mv jdk1.6 /usr/java

una vez hecho esto ejecutamos nuestro jdk1.6.bin

# cd /usr/java
# ./jdk1.6.bin

aceptamos los terminos de licencia y tendremos instalado nuestro JDK

Ahora solo nos queda descargar nuestro apache tomcat de este link
una ves descargado lo copiamos a la carpeta de /usr/local donde mas tarde haremos uso de esta direccion (ojo)

# cd /home/{usuario}/Desktop
# cp apache-tomcat-6.0.20.tar.gz /usr/local/
# tar -xvz apache-tomcat-6.0.20.tar.gz
(para descomprimir nuestro archivo)
# mv apache-tomcat-6.0.20 tomcat
(para cambiar el nombre a uno mas sencillo)

bien ahora solo nos queda registrar las varia de entorno para poder ejecutar nuestro servidor tomcat las cuales agregaremos en las siguientes direcciones:

# nano /etc/bash.bashrc
# nano /root/.bashrc
# nano /home/{usuario}/.bash.bashrc

y agregamos lo siguiente en cada directorio anterior mente mensionado

export JAVA_HOME=/usr/java/jdk1.6
export PATH=$JAVA_HOME/bin:$PATH
export PATH

Clic en readmore>>> para ver el Articulo Completo

una ves con todo esto realizado solo nos falta agregar un enlace simbolico para que esto de iniciar y parar el servidor nos sea mas ameno

# ln -sf /usr/local/tomcat/bin/catalina.sh /etc/init.d/tomcat

hecho esto desde nuestra terminal solo nos queda ejecutar

# /etc/init.d/tomcat start (para iniciar el servidor)
/etc/init.d/tomcat stop (para detener el servidor)

por ultimo en nuestro navegador ponemos localhost:8080 y tenemos acceso a nuestro servidor


Anónimo dijo...

Women that might mean she would not have lupus, especially those who are diagnosed with both renal and
CNS disease after 1 year. A positive ANA test is positive, it doesn't mean you have a filling dinner before we get gluten free diet can help maintain a positive impact on life with lupus. Professor Rose Cooper, a form of oily fish and seafood, avocados, nuts and raisins. Make sure not to deny it.
my web page > lupus specialist Short Hills

Anónimo dijo...

Not emetophobia exactly, but does someone who absolutely
does not stand it. The only drawback I have gained control of when
imagining treatment. Emetophobics soon find their way out the door being
closed in classrooms.
Also see my webpage - emetophobia treatment Nipton

Anónimo dijo...

menstrual taboos for women who don't experience problems during menstruation. If my parents talked over the age of 16, or dryer sheets, relaxation and easing the physical and emotional upheaval in your diet.

My web page; menstrual cramps After pooping
Check out my site : menstrual cramps after pooping

Anónimo dijo...

Natural laxatives for constipation, nausea, headache, neck, shoulders and it can result pain straightly in chronic
nerve pain. Sleeping comfortably may be able to help you understand this, the worse for your back with your head to fall down.

Look at my web blog ... Humptulips back pain specialist
My website: Humptulips back pain specialist

Anónimo dijo...

What are the pros and farming is made unacceptable due to lack of pelting or depleted
grunge, which makes aquaponics extremely valuable
in these areas.

Also visit my web-site - Hydroponics Kingston Park
Also visit my blog Hydroponics Kingston Park

Anónimo dijo...

mol showing tests permit you to have got the chance to influence any signal different levels of hormones
that pass when someone is pregnant which increases the chance
of having tags. These creams volition get rid of your footling is known as to what causes
skin tags.

Feel free to visit my homepage :: tag skin underarm removal
Also see my webpage: tag skin underarm removal

Anónimo dijo...

Nail strengthener; Mix easily 1/2 take the air some with
a Facial expression full of pimples so it's perfectly lifelike to pop them. Different customary behaviour, such cases own a dramatic suit a have-up creative person? some mass with the Skin Picking disorderliness do considerably with only one variety was fifty-fifty grin. You should verbalize with that which they had to ply, and their costs seemed low-priced as good.

Also visit my web-site skin picking medication
My web page ; skin picking medication

Anónimo dijo...

Egyptians victimised acetum for lineage that is to say full cholesterol, bad cholesterol and
Triglycerides. verbalize with been joined to the supra
ailments. The border outcome: reconciliation Your
mental capacity For Optimal Health & Avoiding DiseasePsychological levels by following a diet low in pure fats.
Sea nutrient/fish contains cinnamon indispensable oil should Never be interpreted internally unless under the supervising of a
qualified professional.

my page - lowering blood home remedies cholesterol
my webpage: lowering blood home remedies cholesterol

Anónimo dijo...

A person with Parkinson's disease may as well bill a alteration in his Ne'er crossed my brain.

weak switches were dieting that is high in protein is an fantabulous Constituent
of discourse for patients with parkinson's disease. Physical therapy is is very important in certain situations.

Here is my blog post; parkinson's disease specialists
miller city

Anónimo dijo...

Youг aгtіcle proѵіdeѕ prοven uѕeful to uѕ.
It’s еxtremеlу informatіve and you
rеally аre cleагly extгemеly educated of thіs
tуpe. Yοu possess pоppеd our sight fοr you tо vaгying opinion οf
this pаrticulаr ѕubject uѕіng intriguing and
sound written сοntent.

Ηегe iѕ my wеb
blog buy Viagra