To get Tomcat, visit the following link: http://tomcat.apache.org/. Once there, click on the Tomcat 5.5 link under the Download heading. Under Core, select the tar.gz file.
Download the tar.gz file. Mac OS X will probably extract the file to a .tar file in your downloads directory. Move this .tar file to a location on your computer where you would like tomcat. For purposes of this guide, the location will be /Users/user. Double-click the tar to extract it. This should create a directory in /Users/user named something like apache-tomcat . . . Rename this to something simple like tomcat. At this point, you should have the following directory on your machine:
/Users/user/tomcat
There is a file called startup.sh located in the the /Users/user/tomcat/bin directory that needs edited. Open EditRocket and open startup.sh Add the following two lines after the line in startup.sh that starts with EXECUATBLE. Note that for Snow Leopard, you can use 1.6 instead of 1.5 after the Versions text in the first line listed below.
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home
export CATALINA_HOME=/Users/user/tomcat
To start Tomcat, open up a Terminal window (Applications -> Utilities -> Terminal). cd to the tomcat bin directory by typing the following:
cd /Users/user/tomcat/bin
Type the following:
sh startup.sh
This will start Tomcat. To shutdown tomcat, type sh shutdown.sh
To test the tomcat installation, enter the following in your web browser:
http://localhost:8080/
If the apache tomcat page shows up, the installation was successful.
There is a sample web application called jsp-examples located in the webapps directory under the tomcat installation directory. This location can be used to test your own JSP pages, or you can use the files contained in this directory as a template for creating your own web application.
The jsp-examples can be accessed in your web browser using the following URL: http://localhost:8080/jsp-examples/
相关推荐
2.4.1. General Notes on Installing MySQL on Mac OS X 2.4.2. Installing MySQL on Mac OS X Using Native Packages 2.4.3. Installing the MySQL Startup Item 2.4.4. Installing and Using the MySQL Preference...
It is known to work with Mac OS X versions 10.6.8 (Snow Leopard) through 10.14 (Mojave – see notes below), and has been tested on a wide variety of phones. Although you should be careful with all ...
3. **具体错误**:“Failed installing Tomcat6 service”。 4. **错误位置**:在执行 `$tomcat_install/logs/jakarta_service_date.log` 日志文件中记录的 `service.bat` 文件时出现。 #### 解决方案 为了解决...
Currently (at mono version 4.2.4) this store remains empty after installing Mono on Mac OS X. Fiddler uses the certificates in this store to validate the certificates of the websites visited. So you ...
本篇将基于提供的文档摘要,深入解析安装Oracle RAC on AIX的关键步骤与注意事项,为读者提供一份详尽的操作指南。 ### 安装准备阶段 #### 1. 下载并解压安装介质 首先,需要从Oracle官方网站的edelivery服务下载...
You will find details for using Tomcat on all major platforms, including Windows, Linux, OS X, Solaris, and FreeBSD, along with specifics on Tomcat configuration files, and step-by-step advice for ...
Microsoft Windows 2000 Scripting Guide - Installing Software on a Remote Computer
Installing Your Driver on Windows Millennium INF File Guide
本手册旨在指导用户在 Linux 环境中安装和配置 Tomcat 服务器, step-by-stepguiding users through the process of installing and configuring Tomcat on a Linux environment. 知识点一:下载和安装 Tomcat 在...
在IT领域,将一款设备刷入不同的操作系统或定制ROM是一种常见的技术操作,它允许用户根据个人喜好和需求自定义手机的界面与功能。本篇内容将深入解析如何在魅族MX2上安装MIUI系统,这是一项对于Android发烧友而言极...
根据提供的文档信息,本文将详细解析安装 Oracle RAC (Real Application Clusters) 在 AIX 操作系统上的步骤、注意事项及关键技术点。 ### 安装前准备 #### 下载安装介质与补丁集 ... - 示例文件包括:`B24442-01_1...
在 OS X Yosemite 上安装 Intel ICPC 以使用 OpenMP 下载适用于 C++ OS X 的英特尔:registered: Parallel Studio XE Composer 版。它对大学生免费。 我是学生,所以我申请了学生许可证。 我收到了一封包含序列号和...
- **Installing Alfresco on Mac (full installation)**:Mac 用户的完整安装指南,涵盖了从下载到配置的所有步骤。 - **Installing the Alfresco WAR on any platform**:介绍如何在任何平台上部署 Alfresco 的 WAR...
面是我在Ubuntu6.06 LTS 下源码编译安装samba主要安装过程,本人第一次用Ubuntu,刚装上去时候,没有gcc编译环境。郁闷了半天。找出这一过程发了不少的时间。可能还有些不妥,不过我经过这样的安装达到了向windows共享...
### 安装Activ Test软件至个人电脑的知识点详解 #### 一、背景介绍 随着信息技术的发展,越来越多的专业技能认证考试采用计算机化的方式进行。其中,ECDL(欧洲计算机驾驶执照)作为一项广泛认可的计算机操作技能...
如果你正在使用Python 2.7.x版本进行开发,则应下载对应版本的安装程序。 #### 四、下载Anaconda安装包 按照教程中的指示,我们可以从以下链接下载适用于Linux x86_64架构的Anaconda安装包: - 下载链接:...
- `Installing the service ‘Tomcat6’……..` - `Using CATALINA_HOME: “D:\Program Files\Tomcat”` - `Using CATALINA_BASE: “D:\Program Files\Tomcat”` - `Using JAVA_HOME: “D:\Program Files\Java\...