Install Tomcat & JDK

Downloand Tomcat & JDK

Installation Tomcat & JDK

Startup/Shutdown Tomcat


Management URLs


Manager Tools Issue

Check Manager Tools
/home/tomcat/apache-tomcat-8.5.23/webapps/host-manager/META-INF/context.xml

/home/tomcat/apache-tomcat-8.5.23/webapps/manager/META-INF/context.xml



JDK Environment
Vim /etc/profile
export JAVA_HOME=/home/tomcat/jdk1.8.0_151
export JRE_HOME=/home/tomcat/jdk1.8.0_151/jre
export CLASS_PATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib
export PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin
Env Setting
update-alternatives --install /usr/bin/javac javac /home/tomcat/jdk1.8.0_151/bin/javac 300

update-alternatives --install /usr/bin/java java /home/tomcat/jdk1.8.0_151/bin/java 300


留言

這個網誌中的熱門文章

MSSQL 瘦身 : 壓縮資料庫

[SAP] 什麼是SAP? R/3 and S/4 是什麼意思? 差別在哪? (勿轉臉書)

InTrust 自動幫您蒐集 AD 帳號的登入/登出紀錄,長時間保存並保護