Tomcat配置安裝
1. 安裝java開發環境JDK
根據自己系統的版本選擇合適的JDK RPM安裝包
因為RPM預設已經設定好java相關的環境變數,可以節省很多不必要的錯誤
RPM包安裝完預設路徑為/usr/java
JDK下載官網:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
[root@linux1 ~]# yum install wget -y
[root@linux1 ~]# wget http://download.oracle.com/otn-pub/java/jdk/8u111-b14/jdk-8u111-linux-x64.rpm?AuthParam=1480483000_0ae69c584b923f9375e91ac5b73a645f
[root@linux1 ~]# yum install jdk-8u111-linux-x64.rpm -y
判斷是否安裝成功
[root@linux1 ~]# java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
2. 安裝apache-tomcat
在tomcat官方網站下載二進位制安裝包:
http://tomcat.apache.org/
[root@linux1 ~]# tar zxvf apache-tomcat-7.0.73.tar.gz
[root@linux1 ~]# mv apache-tomcat-7.0.73 /usr/local/tomcat
啟動tomcat
[root@linux1 ~]#/usr/local/tomcat/bin/catalina.sh start
檢視是否為安全啟動:
[root@linux1 ~]# netstat -lntup | grep 8080
tcp 0 0 :::8080 :::* LISTEN 1662/java
[root@linux1 ~]# ps -ef | grep tomcat
root 1662 1 1 00:33 pts/1 00:00:08 /usr/bin/java -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.endorsed.dirs=/usr/local/tomcat/endorsed -classpath /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/tomcat -Dcatalina.home=/usr/local/tomcat -Djava.io.tmpdir=/usr/local/tomcat/temp org.apache.catalina.startup.Bootstrap start
root 1723 1404 0 00:43 pts/1 00:00:00 grep tomcat
3. 登陸localhos:8080檢視
4. tomcat配置檔案詳解
相關文章
- Tomcat安裝與配置Tomcat
- windows下Tomcat安裝配置WindowsTomcat
- CentOS下tomcat安裝配置CentOSTomcat
- Windows+Tomcat安裝配置WindowsTomcat
- mac平臺安裝配置TomCatMacTomcat
- Tomcat安裝與配置(筆記)Tomcat筆記
- CentOS 7 yum安裝與配置 TomcatCentOSTomcat
- Centos安裝tomcat9及配置CentOSTomcat
- Linux(jdk+tomcat配置安裝)LinuxJDKTomcat
- Mac下配置免安裝的tomcatMacTomcat
- Linux下Tomcat的安裝配置LinuxTomcat
- Linux系統Tomcat安裝與配置。LinuxTomcat
- jdk+tomcat+mysql一鍵安裝配置JDKTomcatMySql
- solr 7.0 tomcat 安裝配置 + 中文分詞SolrTomcat中文分詞
- Tomcat在Windows下的免安裝配置TomcatWindows
- 安裝配置Tomcat + Apache + mod_jk(轉)TomcatApache
- Tomcat5.5 Admin的安裝與配置Tomcat
- Linux安裝和配置tomcat詳細教程LinuxTomcat
- windows下安裝jdk+tomcat+maven並配置WindowsJDKTomcatMaven
- 樹莓派+tomcat+mysql安裝及配置樹莓派TomcatMySql
- Tomcat安裝與環境變數的配置Tomcat變數
- Tomcat在Linux上的安裝與配置TomcatLinux
- 怎樣安裝和配置Tomcat Admin 收藏Tomcat
- TOMCAT+JIVE的安裝配置(支援中文) (轉)Tomcat
- Tomcat安裝Tomcat
- Apache Tomcat9.0.6免安裝版配置相關ApacheTomcat
- Docker 安裝 TomcatDockerTomcat
- tomcat安裝使用Tomcat
- docker 安裝tomcatDockerTomcat
- apache tomcat 安裝ApacheTomcat
- tomcat之 JDK8.0安裝、tomcat-8.5.15安裝TomcatJDK
- [轉]在Mac系統中安裝配置Tomcat及和Eclipse 配置MacTomcatEclipse
- Mac系統安裝和配置tomcat步驟詳解MacTomcat
- mac 安裝jdk/maven/tomcat 以及eclipse相關配置MacJDKMavenTomcatEclipse
- linux jdk ,tomcat 安裝與環境變數配置LinuxJDKTomcat變數
- Tomcat—部署配置及優化(安裝部署;虛擬主機配置;優化)Tomcat優化
- Tomcat 8安裝部署Tomcat
- window下tomcat安裝Tomcat