Red Hat Enterprise Linux 5 系统中安装Tomcat6

原创 2010年06月07日 11:13:00

 

<!-- /* Font Definitions */ @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face {font-family:"/@宋体"; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; mso-pagination:none; font-size:10.5pt; mso-bidi-font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-font-family:宋体; mso-bidi-font-family:"Times New Roman"; mso-font-kerning:1.0pt;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {mso-style-noshow:yes; mso-style-priority:99; color:purple; mso-themecolor:followedhyperlink; text-decoration:underline; text-underline:single;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; mso-ascii-font-family:Calibri; mso-fareast-font-family:宋体; mso-hansi-font-family:Calibri; mso-font-kerning:0pt;} /* Page Definitions */ @page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;} @page Section1 {size:595.3pt 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:42.55pt; mso-footer-margin:49.6pt; mso-paper-source:0; layout-grid:15.6pt;} div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:1808232904; mso-list-type:hybrid; mso-list-template-ids:-1651203872 -1768517106 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;} @list l0:level1 {mso-level-text:%1、; mso-level-tab-stop:none; mso-level-number-position:left; margin-left:18.0pt; text-indent:-18.0pt;} @list l0:level2 {mso-level-number-format:alpha-lower; mso-level-text:"%2/)"; mso-level-tab-stop:none; mso-level-number-position:left; margin-left:42.0pt; text-indent:-21.0pt;} @list l0:level3 {mso-level-number-format:roman-lower; mso-level-tab-stop:none; mso-level-number-position:right; margin-left:63.0pt; text-indent:-21.0pt;} ol {margin-bottom:0cm;} ul {margin-bottom:0cm;} -->

1、 软件

a)   下载 apache-tomcat-6.0.20.tar.gz 地址: http://labs.xiaonei.com/apache-mirror/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.tar.gz

2、 安装

a)   解压

# tar zxvf apache-tomcat-6.0.20.tar.gz

b)   移动到其他目录

# mv apache-tomcat-6.0.20 /usr/local/tomcat6

c)   启动 Tomcat 服务

# cd /usr/local/tomcat6/bin

# ./startup.sh

Using CATALINA_BASE:   /usr/local/tomcat6

Using CATALINA_HOME:   /usr/local/tomcat6

Using CATALINA_TMPDIR: /usr/local/tomcat6/temp

Using JRE_HOME:       /usr/java/jre

d)   检查是否启动成功

在本机浏览器中访问 URL: http://localhost:8080/

会出现 Tomcat 的欢迎页面

注:如果想远程通过浏览器访问,则在远程浏览器中输入 http://<ip>:8080/

<ip> 可通过在本地机器上输入命令 ifconfig 查看

    如果未能访问到 tomcat 的欢迎页面,需要查看本机的防火墙设置,是否打开了端口 8080

e)   停止服务

# ./shutdown.sh

3、 可能出现的问题

a)   Java 未先安装,或未正确配置 JAVA_HOME 体统环境变量

b)    Linux 系统的防火墙 8080 端口未被设置为远程可访问

Red Hat Enterprise Linux 5 64 位安装

Red Hat Enterprise Linux 5 64 位的安装使用
  • 2017年03月15日 18:48

Red Hat Enterprise Linux 6 系统安装

[1] Insert an installation DVD and restart Computer. Next, the following screen is shown, then Push ...
  • hanzheng260561728
  • hanzheng260561728
  • 2016-05-11 09:42:16
  • 675

Redhat Linux下安装tomcat6的笔记

*上传tomcat:apache-tomcat-6.0.43.tar.gz *解压tomcat:tar -xzvf apache-tomcat-6.0.43.tar.gz(解压后得到apache-...
  • u012599724
  • u012599724
  • 2015-05-05 11:41:33
  • 555

Red Hat Enterprise Linux 6.6安装体验

Red Hat Enterprise Linux 6.6的安装首界面有五个选项,这跟以前的Red Hat Enterprise Linux 5.x的安装界面是有一些区别的。   安装或者升...
  • e62ces0iem
  • e62ces0iem
  • 2017-05-25 15:22:26
  • 553

Red Hat Enterprise Linux 5 系统中安装Tomcat6

 
  • lizhaowei
  • lizhaowei
  • 2010-06-07 11:13:00
  • 422

Red Hat Linux 6 安装 JDK8 和 Tomcat8

Linux的JDK和tomcat安装配置
  • SourcesCodes
  • SourcesCodes
  • 2016-11-10 21:55:25
  • 106

安装Red Hat Enterprise Linux 6.6

Red Hat Enterprise Linux 6.6的安装首界面有五个选项,这跟以前的Red Hat Enterprise Linux 5.x的安装界面是有一些区别的。   安装或者升级...
  • bobo0915
  • bobo0915
  • 2015-12-05 14:12:24
  • 303

Red Hat Enterprise Linux 6 中yum安装配置

下载安装yum包 下载地址http://centos.ustc.edu.cn/centos/6.5/os/x86_64/Packages/ http://mirrors.163.com/cento...
  • liyunlong19870123
  • liyunlong19870123
  • 2015-06-11 09:17:42
  • 1796

Red Hat Enterprise Linux 7 系统安装

[1] Insert install disk and start Computer. Then Following screen is displayed, Push Enter key to pr...
  • hanzheng260561728
  • hanzheng260561728
  • 2016-05-11 09:42:01
  • 1194

Oracle 11g for Red Hat Enterprise Linux 6安装

准备服务器和操作系统 二、安装准备 检查redhat内核版本 [root@redhat ~]# uname -r 2.6.32-131.0.15.el6.i686   安装软件包检查 [...
  • yusiyuuestc
  • yusiyuuestc
  • 2014-01-23 19:21:57
  • 1313
收藏助手
不良信息举报
您举报文章:Red Hat Enterprise Linux 5 系统中安装Tomcat6
举报原因:
原因补充:

(最多只允许输入30个字)