Tomcat 各安装包选择及使用情景。

本文参考 Apache Tomcat 8.5.51 官方 README 文件。


当我们进入 Tomcat 主页下载 Tomcat 时,会看到各种安装包的选择。

Binary Distributions # 二进制发行包。
Core:

  • zip (pgp, sha512)
  • tar.gz (pgp, sha512)
  • 32-bit Windows zip (pgp, sha512)
  • 64-bit Windows zip (pgp, sha512)
  • 32-bit/64-bit Windows Service Installer (pgp, sha512)

这里简单说明一下各版本该如何选择。

Useful references:
~
Release notes, with important information about known issues
Changelog
NOTE: The tar files in this distribution use GNU tar extensions, and must be untarred with a GNU compatible version of tar. The version of tar on Solaris and Mac OS X will not work with these files.
~
Tomcat 8.5 requires Java 7 or later. Read the RELEASE-NOTES and the RUNNING.txt file in the distribution for more details.
~
Packaging Details (or “What Should I Download?”)


Tomcat 8.5 要求的 Java 版本至少 java 7。所以作为开发者只要需要使用 jdk 7 及以后版本。
文件扩展名为 .tar 的文件是 GNU 软件(可以先理解为自由软件)。是一种打包文件,必须用适配 GNU 的 tar 文件打包 / 解包器(可以理解为 Windows 的 WinRAR)。Solar 系统和 Mac OS X 系统暂时不能使用。

下面介绍各个软件包的使用情景。

bin/

  • apache-tomcat-[version].zip or .tar.gz
    —> Base distribution. These distributions do not include the Windows service wrapper nor the compiled APR/native library for Windows.
    ~ 基础发行版。不包含 Windows 包和适用于 Windows 的已编译好的本地库。

  • apache-tomcat-[version].exe
    —> 32-bit/64-bit Windows installer for Tomcat. Please note that while this distribution includes the vast majority of the base distribution, some of the command-line scripts for launching Tomcat are not included. This distribution is intended for those users planning to launch Tomcat through the Windows shortcuts or services.
    ~ Windows 32 位 / 64 位安装包。有些命令行(如启动 Tomcat)并没有包含其中。

  • apache-tomcat-[version]-windows-x86.zip
    —> 32-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native library for use with 32-bit JVMs on both 32 and 64 bit Windows platforms.
    ~ Windows 32 位安装包。

  • apache-tomcat-[version]-windows-x64.zip
    —> 64-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native library for use with 64-bit JVMs on x64 Windows platforms.
    ~ 运行在安装 64 位 x64 构架的 Windows 系统中的 JVM 上 。

  • apache-tomcat-[version]-deployer.zip or .tar.gz
    —> The standalone Tomcat Web Application Deployer.
    ~ 独立的 Tomcat Web 应用开发工具。(免安装版,解压后直接使用)。

  • apache-tomcat-[version]-fulldocs.tar.gz
    The Tomcat documentation bundle, including complete javadocs.
    ~ 完整的帮助文档。

一般,
如果在 Windows 中,我们选择 apache-tomcat-[version].zip(解压后直接使用)。
如果在 Linux 中,我们选择 apache-tomcat-[version].tar.gz(解压后直接使用)。


bin/extras/

catalina-ws.jar
Web Services support (JSR 109). See the extras documentation for more information.
catalina-jmx-remote.jar
JMX Remote Lifecycle Listener. See the listeners documentation for details.
~
src/
apache-tomcat-[version].zip or .tar.gz
The source code. See building instructions.
~ 源码包。

Thank you for using Tomcat!

官网。
The Apache Tomcat Project
https://tomcat.apache.org/

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

lyfGeek

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值