当前位置: 首页 > news >正文

58网站建设的目的seo必备工具

58网站建设的目的,seo必备工具,做视频网站为什么费钱,上海专业网站建站品牌一、进入官网 点击以下链接进入官网:Apache Tomcat - Welcome!,点击介绍进入介绍,查看tomcat的项目结构。 二、查看项目结构 进入介绍后,我们可以看到下面的这些东西,这些对于tomcat是比较重要的,我们要一一对其进行解读。 这段…

一、进入官网

点击以下链接进入官网:Apache Tomcat® - Welcome!,点击介绍进入介绍,查看tomcat的项目结构。

二、查看项目结构

进入介绍后,我们可以看到下面的这些东西,这些对于tomcat是比较重要的,我们要一一对其进行解读。

这段话的主要意思是/bin,/conf,/logs和/webapps是最重要的几个文件夹。/bin文件夹中存放着启动,停止和其它脚本,.sh和.bat拥有这相同的功能不过.sh是在unix中使用,.bat是在windows中使用。/conf文件夹中存放着tomcat中最重要的配置文件。 /logs文件夹是默认的日志输出地址。/webapps是你自己的应用所在地。

Directories and Files

These are some of the key tomcat directories:

  • /bin - Startup, shutdown, and other scripts. The *.sh files (for Unix systems) are functional duplicates of the *.bat files (for Windows systems). Since the Win32 command-line lacks certain functionality, there are some additional files in here.
  • /conf - Configuration files and related DTDs. The most important file in here is server.xml. It is the main configuration file for the container.
  • /logs - Log files are here by default.
  • /webapps - This is where your webapps go.

 这段话的主要意思是:通过上面的文档,它们都指向了下面两个重要的属性。CATALINA_HOME展示了tomcat的安装位置。CATALINA_BASE展示了运行时应用需要的配置文件,如果你想要多个实例,你可以在CATALINA_BASE中进行配置。CATALINA_HOME中配置了一些静态的不太需要改变的东西,例如jar包或者二进制文件,而CATALINA_BASE中配置了一些变化的东西,例如:配置文件,日志等。

CATALINA_HOME and CATALINA_BASE

Throughout the documentation, there are references to the two following properties:

  • CATALINA_HOME: Represents the root of your Tomcat installation, for example /home/tomcat/apache-tomcat-9.0.10 or C:\Program Files\apache-tomcat-9.0.10.
  • CATALINA_BASE: Represents the root of a runtime configuration of a specific Tomcat instance. If you want to have multiple Tomcat instances on one machine, use the CATALINA_BASE property.

If you set the properties to different locations, the CATALINA_HOME location contains static sources, such as .jar files, or binary files. The CATALINA_BASE location contains configuration files, log files, deployed applications, and other runtime requirements.

这段话是意思主要解释了使用了CATALINA_HOME 和 CATALINA_BASE的原因:1、各个应用共享一个CATALINA_HOME有利于应用升级。2、避免重复部署jar包。3、可以共享相同的配置。

Why Use CATALINA_BASE

By default, CATALINA_HOME and CATALINA_BASE point to the same directory. Set CATALINA_BASE manually when you require running multiple Tomcat instances on one machine. Doing so provides the following benefits:

  • Easier management of upgrading to a newer version of Tomcat. Because all instances with single CATALINA_HOME location share one set of .jar files and binary files, you can easily upgrade the files to newer version and have the change propagated to all Tomcat instances using the same CATALIA_HOME directory.
  • Avoiding duplication of the same static .jar files.
  • The possibility to share certain settings, for example the setenv shell or bat script file (depending on your operating system).

三、总结

通过以上的官方文档,我们知道了tomcat最重要的文件夹是CATALINA_HOME 和 CATALINA_BASE,以及使用两个文件夹的好处,但是我们对于项目的结构还很模糊,我还需要通过官网进一步了解tomcat的项目结构。我会在接下来的文章中进行介绍。

http://www.hrbkazy.com/news/15742.html

相关文章:

  • 网站建设 ur建站盐城seo网站优化软件
  • 不用开源程序怎么做网站推广平台怎么做
  • 游戏推广网站怎么做百度风云榜排行榜
  • 个人网站多少钱seo关键词排名技术
  • 肇庆网站建设软文写作的技巧
  • wordpress 伪静态seo网站seo关键词排名推广
  • 日本logo设计网站网上学电脑培训中心
  • 哪个网站是做批发的海南百度推广中心
  • express网站开发发布新闻
  • 库车建设工程信息网站网络精准营销推广
  • 网站建设介绍ppt模板下载河北百度seo关键词排名
  • WordPress js木马seo技术培训宁波
  • 怎么自己做网站服务器网络营销的方法有哪些?举例说明
  • 在线听音乐网站建设企业网站开发
  • 怎么用自己电脑做网站百度网盘app下载安装 官方下载
  • 苏州企业网站建站成都自动seo
  • 做一个15页的网站怎么做seo关键词优化推广
  • 全国信用企业信息公示系统查询seo网站建设是什么意思
  • 网站建设重要性网站推广排名优化
  • 苏州网站推广找苏州梦易行发帖百度秒收录网站分享
  • 建站行业提升排名
  • 专业网站建设必要性适合30岁女人的培训班
  • 什么网站开发外贸客户搜索优化网络推广
  • 移动网站优化bt磁力bt天堂
  • 专门做课件的网站企业应该如何进行网站推广
  • 做网站颜色黑色代码多少钱哪里有免费的网站推广
  • 怎么自己做APP网站互联网营销培训班
  • 网站建设风格中牟网络推广外包
  • 丰台做网站广告联盟接广告
  • 比较好的装修公司网站seo资讯