您的位置:首页 > 运维架构 > Tomcat

怎样安装配置tomcat?

2019-07-18 21:25 543 查看
[img]https:https://blog.csdn.net/https://blog.csdn.net/csdnimg.cnhttps://blog.csdn.net/releasehttps://blog.csdn.net/phoenixhttps://blog.csdn.net/imageshttps://blog.csdn.net/creativecommonshttps://blog.csdn.net/80x15.png[https://blog.csdn.net/img] 版权声明:署名,允许他人基于本文进行创作,且必须基于与原先许可协议相同的许可协议分发本文 ([url=https://blog.csdn.net/qq_30787727/article/details/http:https:/blog.csdn.net/https:/blog.csdn.net/creativecommons.orghttps:/blog.csdn.net/licenseshttps:/blog.csdn.net/by-sahttps:/blog.csdn.net/4.0https:/blog.csdn.net/]Creative Commons[https://blog.csdn.net/url]) [p][strong]Tomcat [https://blog.csdn.net/strong][strong]安装与配置[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p]Tomcat是Apache 软件基金会(Apache Software Foundation)核心项目之一,支持最新的Servlet 和JSP 规范。因为Tomcat 技术先进、性能稳定,而且免费,成为目前比较流行的Web 应用服务器。[https://blog.csdn.net/p] [p]Tomcat 服务器是一个免费的开放源代码的Web 应用服务器,属于轻量级应用服务器是开发和调试JSP 程序的首选[https://blog.csdn.net/p] [p][strong]Tomcat[https://blog.csdn.net/strong][strong]安装[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p][strong]1. [https://blog.csdn.net/strong][strong]下载Tomcat到计算机[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p]下载: [url=https://blog.csdn.net/]apache-tomcat-7.0.67.zip[https://blog.csdn.net/url][https://blog.csdn.net/p] [p]下载: [url=https://blog.csdn.net/]apache-tomcat-8.0.50.zip[https://blog.csdn.net/url][https://blog.csdn.net/p] [p][strong]2. [https://blog.csdn.net/strong][strong]将Tomcat文件复制到用户目录下:[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p] [https://blog.csdn.net/p] [p][strong]3. [https://blog.csdn.net/strong][strong]释放Tomcat压缩包[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p] [https://blog.csdn.net/p] [p][strong]Eclipse(Eclipse 4.5 Mars2)[https://blog.csdn.net/strong][strong]中配置Tomcat服务器[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p][strong]1. [https://blog.csdn.net/strong][strong]找到Tomcat服务器安装位置, 记住Tomcat的安装目录:[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p] [https://blog.csdn.net/p] [p][strong]2. [https://blog.csdn.net/strong][strong]打开Eclipse 找到首选项设置:[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p] [https://blog.csdn.net/p] [p][strong]3. [https://blog.csdn.net/strong][strong]找到服务器配置项目:[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p] [https://blog.csdn.net/p] [p][strong]4. [https://blog.csdn.net/strong][strong]选择添加Tomcat 7 项目, 需要选择创建新服务器实例项目:[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p] [https://blog.csdn.net/p] [p][strong]5. [https://blog.csdn.net/strong][strong]选择Tomcat 服务器的安装目录(参考步骤 1):[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p] [https://blog.csdn.net/p] [p][strong]6. [https://blog.csdn.net/strong][strong]确认一下配置结果:[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p] [https://blog.csdn.net/p] [p][strong]7. [https://blog.csdn.net/strong][strong]返回Eclipse 中用服务器视图配置Tomcat部署目录:[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p] [https://blog.csdn.net/p] [p][strong]部署目录[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p]部署目录是Web应用程序的发布目录, 设置这个目录可以方便Web应用的调试.[https://blog.csdn.net/p] [p]如果这个项目是灰色的不可以更改, 可以删除Tomcat 7.0 Server 项目, 重新添加一下即可.[https://blog.csdn.net/p] [p][strong]8. [https://blog.csdn.net/strong][strong]在Eclipse服务器视图启动Tomcat服务器:[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p] [https://blog.csdn.net/p] [p][strong]9. [https://blog.csdn.net/strong][strong]查看在Eclipse控制台视图中得到的启动结果:[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p] [https://blog.csdn.net/p] [p][strong]10. [https://blog.csdn.net/strong][strong]使用浏览器访问 Tomcat 的服务端口, 检查Tomcat启动是否成功:[https://blog.csdn.net/strong][https://blog.csdn.net/p] [p] [https://blog.csdn.net/p] [p][strong]11. Good Luck![https://blog.csdn.net/strong][https://blog.csdn.net/p]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: