Tomcat and RHEL5.3

fernando at lozano.eti.br fernando at lozano.eti.br
Thu Apr 16 13:22:25 UTC 2009


Hi,


Insted of doing all this, configure the EPEL repository so you can use yum to install openjdk (which
is Sun JDK 1.6.0 open sourced -- and the current EPEL rpms were certified by the JCP). Then you can
use yum o install tomcat from RHEL repositories.

Easier than dealing with environment variables, already integrated to Linux boot and shutdown, and
getting updates the regular RHEL way (no wories about security bugs)


[]s, Fernando Lozano

> On Wed, Apr 15, 2009 at 1:37 PM, Virgilio Antonio Araujo
> <vi.rlz4ever at gmail.com> wrote:
> > Hello group.
> >
> > I need to install a tomcat server 6.0.18 at a RHEL 5.3 i386 server.
> > A install the latest jdk jdk-6u13-linux-i586-rpm.bin and point JAVA_HOME to
> > /usr/java/jdk1.6.0_13.
> [...]
> > Someone had sucess to install tomcat from source on RHEL5.3?
> >
> Assuming that you have your Java extracted to the /opt directory, the
> following works:
> 
> export JAVA_HOME=/opt/jdk1.6.0_07
> export PATH=/opt/jdk1.6.0_07/bin:$PATH
> 
> Downloading Tomcat 6.0.18 from <
> http://tomcat.apache.org/download-60.cgi#6.0.18 > and extracting to
> location of choice (in my case, my home directory).
> 
> Change directory to the Tomcat 6.0.18 bin executable directory:
> 
> cd  ~/apache-tomcat-6.0.18/bin
> 
> and execute the startup.sh file:
> 
>  ~/apache-tomcat-6.0.18/bin$   ./startup.sh
> 
> You should see similar output as below:
> 
> Using CATALINA_BASE:   /home/jose/apache-tomcat-6.0.18
> Using CATALINA_HOME:   /home/jose/apache-tomcat-6.0.18
> Using CATALINA_TMPDIR: /home/jose/apache-tomcat-6.0.18/temp
> Using JRE_HOME:       /mnt/hda8/opt/jdk1.6.0_07
> 
> Now point your browser to http://localhost:8080 (replace localhost
> with your proper hostname) and you should see the relevant Tomcat
> Admin Welcome page.  Indeed, "Java Solves All."
> 
> Good luck!
> 
> 
> -- 
> Jose R R




More information about the redhat-list mailing list