Java / JSP / JSTL

Index

Installation - Linux

These instructions are correct for Red Hat 7.3

Download the software as described in Lesson 1 - Technology, into a temporary directory.

Setup
  $ mkdir /opt      # Or create appropiate sym link if necessary
  $ mkdir /src      # Or create appropiate sym link if necessary
  $ cd /opt
  $ mkdir install
  $ cd install
  $ tar xvfz <tmpdir>/linux.tar.gz
  
Pre Requisites

The following script installs lynx.

  $ cd /opt/install/scripts
  $ ./installRH73software
  
Java (J2SDK)
  $ cd /opt/install/scripts
  $ ./install-java
  do you agree to these terms?
  yes<enter>
  $ . /etc/profile.d/java.sh    # Note, this will happen automatically for all future logins
  $ java -version
  
Tomcat
  $ cd /opt/install/scripts
  $ ./install-tomcat
  
JSTL
  $ cd /opt/install/scripts
  $ ./install-jstl
  
MySQL
  $ cd /opt/install/scripts
  $ ./install-mysql
  

Port 80

Port 80 is what is used to on servers as the default for web pages. By default, software such as Apache HTTP Server use Port 80. Tomcat by default uses port 8080. It is possible that tomcat can be configured to use port 80, depending on your requirements.
By default, if any web sites are HTML only, or required PHP (for example), then the server must run a suitable web server (i.e. apache) on port 80, and use addition connectors to forward JSP requests to port 8080.
In addition, on Linux servers, port 80 is a privileged port, and any processes that use this port must be run by 'root'.



Next Lesson - HTML Refresher




© Copyright 2004 - ARABX Pty Ltd. All Rights Reserved