Tomcat 下载,安装,启动,配置

系统环境:windows 10 x64

JDK版本 : 7u80

tomcat版本 :7.0.88

安装目录:D:\softwares\apache-tomcat-7.0.88

官网下载地址:http://tomcat.apache.org/

163251_n5I7_3229807.png

当前系统是64位,所以我们下载64位的tomcat

163514_b3p4_3229807.png

下载后解压到  D:\softwares\apache-tomcat-7.0.88

163623_s9ew_3229807.png

下面我们开始启动tomcat服务器

164118_Yr8P_3229807.png

目录:D:\softwares\apache-tomcat-7.0.88\bin

双击startup.bat即可启动服务

164346_syDa_3229807.png

打开浏览器:访问 http://127.0.0.1:8080/

164415_qaRV_3229807.png

至此,tomcat服务器已经成功启动。

我们来查看下tomcat当前加载了哪些应用,点击Manager App

164544_KeH0_3229807.png

弹出以下登陆框

164854_4Eot_3229807.png

目前我们还没设置管理员账号,所以点击取消。

164940_nUpC_3229807.png

根据页面提示,我们来配置 tomcat 管理员账号

关闭tomcat服务器,可以用快捷键Ctrl+c 来停止tomcat服务器

配置文件 :D:\softwares\apache-tomcat-7.0.88\conf\tomcat-users.xml

在标签<tomcat-users>内添加

<role rolename="manager-gui"/>
<user username="admin" password="1" roles="manager-gui"/>

164005_Fvfh_3229807.png

管理员登陆名:admin   登陆密码:1

保存即可

启动tomcat服务器,启动成功后访问  http://127.0.0.1:8080/。

点击Manager App,输入管理员admin账号密码,登陆即可

165433_Sc1B_3229807.png

以下就是tomcat已经加载的应用

165552_wd1l_3229807.png

访问tomcat服务器,默认端口是8080

如果想更改默认端口,可以在D:\softwares\apache-tomcat-7.0.88\conf\server.xml文件中修改。

165825_0dDu_3229807.png

此次,我们把tomcat端口号改为80,保存文件,重启tomcat服务器,启动成功后,

访问地址: http://127.0.0.1/

80端口号,可以省略

170032_IDqU_3229807.png

 

 

 

 

转载于:https://my.oschina.net/u/3229807/blog/1819185

官网资源 ================================================================================ Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ================================================================================ ================================= Apache Tomcat 7.0 Patch Proposals ================================= RELEASE SHOWSTOPPERS: PATCHES ACCEPTED TO BACKPORT: [ start all new proposals below, under PATCHES PROPOSED. ] PATCHES PROPOSED TO BACKPORT: [ New proposals should be added at the end of the list ] * https://bz.apache.org/bugzilla/show_bug.cgi?id=54330 Refactor Member interface to reduce dependency on concrete implementation. Based on a patch by Greg Turnquist. I have added this to the status file because it changes an interface. I don't believe there is any harm in this - the interface isn't really usable prior to this patch - but I'd prefer this change to be RTC. http://svn.apache.org/viewvc?rev=1430602&view=rev +1: markt, fhanik -1: * Back-port r1437083 from trunk. http://svn.apache.org/viewvc?view=revision&revision=1437083 Adds SSLContext.clearOptions method to allow clearing of SSL_OP_* options in OpenSSL. This will require tcnative 1.1.25 or errors may be thrown when attempting to call this method.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值