Friday, January 21, 2011

Installation wizard

1. Download the Jakarta Tomcat from the site http://tomcat.apache.org/download-55.cgi.
If you like the installation wizard, download Tomcat in zip package
or tar.gz.
2. After downloading the zip or tar.gz package, extract the file (apachetomcat-
5.5.x.zip), put into the installation directory that you want
(as $ CATALINA_HOME), for example C: \ Tomcat5.
3. After extract it, run the file and wait until the server startup.bat
ready for use.
4. After starting the server, open a web browser and access to http://localhost:
8080, it will show the first page of Tomcat servers.
Directory Structure CATALINA_HOME
In the directory CATALINA_HOME (where TOMCAT installed) there
some sub-directories, among them:
● bin, where the script to run and turn on the Tomcat is located.
● conf, where the configuration files are located.
● lib, where the library files had the extension. jar is located.
● webapps, where, by default, you can put JavaServlet and JSP.
Tomcat Users
To perform administrative ressources, Tomcat provide your username
and passwords are stored in xml file. In the conf folder, the file tomcat-users.xml
contains a role, username and password user tomcat. To be able to perform administrative
whether or Tomcat Administration Tomcat Manager Tool, a user must have
role as a manager or admin. To make it add the following code
in tomato-users.xml file:



admin`/>
Tomcat Administration
Tomcat provides two tools to perform administration, namely Tomcat
Manager and Tomcat Administration.
1. Tomcat Manager Tool
Tomcat Manager tool serves to manage applications deployed in
server. Management includes the deploy / install the application to the server, mengundeploy /
remove an application from the server, me-reload/restart applications,
enable and disable applications. Tomcat Manager can be accessed
through URL http://localhost:8080/manager/html/, by entering
username and password manager.
The commands in the Tomcat Manager Tool
● Applications List
To view all applications installed on the server. URL:
http://localhost:8080/manager/html/list

Artikel yang Berkaitan

0 komentar:

Post a Comment