User manual
Table Of Contents
- Web Technologies Administration
- Contents
- Web Technologies Overview
- Managing Web Technologies
- Managing Websites
- Using Server Admin to Manage Websites
- Changing the Access Port for a Website
- Improving Performance of Static Websites (PerformanceCache)
- Enabling Access and Error Logs for a Website
- Setting Up Directory Listing for a Website
- Connecting to Your Website
- Enabling WebDAV on Websites
- Enabling a Common Gateway Interface (CGI) Script
- Enabling Server Side Includes (SSI)
- Viewing Website Settings
- Setting Server Responses to MIME Types and ContentHandlers
- Enabling SSL
- Enabling PHP
- User Content on Websites
- WebMail
- Secure Sockets Layer (SSL)
- Working With Open-Source Applications
- Installing and Viewing WebModules
- Solving Problems
- Where to Find More Information
- Glossary
- Index

Chapter 6 Working With Open-Source Applications 59
For information about Java Servlets that you can use on your server, see
• http://java.sun.com/products/servlet/
• http://java.sun.com/products/jsp/
If you want to use Tomcat, you must activate it. You can use Server Admin or the
command-line tool to start Tomcat.
To start Tomcat using Server Admin:
1 In Server Admin, click Application Server in the list for the server you want.
2 Click Settings in the button bar.
3 Click Tomcat Only.
4 Click Start Service.
To start Tomcat using Terminal:
1 Open the Terminal application.
2 Type the following commands:
cd /Library/Tomcat/bin
./catalina.sh start
To verify that Tomcat is running, use a browser to access port 9006 of your website by
entering the URL for your site followed by :9006. If Tomcat is running, this URL will
display the Tomcat home page.
MySQL
MySQL provides a relational database management solution for your web server. With
this open-source software, you can link data in different tables or databases and
provide the information on your website.
The MySQL Manager application simplifies setting up the MySQL database on
Mac OS X Server. You can use MySQL Manager to initialize the MySQL database, and to
start and stop the MySQL service.
MySQL is preinstalled on Mac OS X Server, with its various files already in the
appropriate locations. At some point you may wish to upgrade to a newer version of
MySQL. You can install the new version in /usr/local/mysql, but MySQL Manager will
not be aware of the new version of MySQL and will continue to control the pre-
installed version. If you do install a newer version of MySQL, use MySQL Manager to
stop the preinstalled version, then start the newer version via the config file.
LL2350.book Page 59 Friday, August 22, 2003 2:32 PM