Tomcat8 目錄結構

2021-08-02 08:52:04 字數 954 閱讀 7073

bin :

tomcat8.0-doc對這個目錄的簡單說明為:

/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.

即該目錄存放了tomcat啟動、關閉以及其他的一些指令碼

conf :

/conf - configuration files and related dtds. the most important file in here is server.xml. it is the main configuration file for the container.

存放tomcat伺服器的各種全域性配置檔案,其中包括server.xml(tomcat的主要配置檔案)、tomcat-users.xml和web.xml等配置檔案

lib :

存放所需的所有jar檔案(整合了原來tomcat5.5中的common/share/server三個目錄下的所有jar)

logs :

/logs - log files are here by default.

這個目錄中都是日誌檔案,記錄了tomcat啟動和關閉的資訊,如果啟動tomcat時有錯誤,那麼異常也會記錄在日誌檔案中。

temp :

存放tomcat執行時所產生的臨時檔案

work :

tomcat 8 安裝ssl證書

申請了 ssl證書 2.2 編譯安裝 cd openssl 1.1.1f config prefix usr local openssl no zlib make make install 2.3 備份原配置 如果已經安裝過 mv usr bin openssl usr bin openssl.ba...

Tomcat8的安裝配置

一 新增系統環境變數 1.新建系統變數 變數名 catalina home 變數值 d software tomcat8 apache tomcat 8.0.53 注 自己電腦tomcat的存放路徑 2配置path catalina home bin 注 在前面一定加 號,與其他環境配置區分 二 啟...

Tomcat8部署方式

靜態部署。在啟動tomcat之前已經安裝了web應用 動態部署。使用tomcat的manager應用直接操控已經部署好的web應用 依賴auto deployment特性 細分的話主要是 利用控制台部署 這一配置檔案docbase就是web應用的絕對路徑,當再一次啟動tomcat時就會將f code...