Linux涓嬪畨瑁匱omcat

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Linux涓嬪畨瑁匱omcat相关的知识,希望对你有一定的参考价值。

鏍囩锛?a href='http://www.mamicode.com/so/1/%e6%8a%80%e6%9c%af%e5%88%86%e4%ba%ab' title='鎶€鏈垎浜?>鎶€鏈垎浜?/a>   org   startup   鎷疯礉   闃叉涔辩爜   璁块棶   centos 6   sudo   nano   

---------------------------------绠€鐗堬細

1銆佸埌 http://tomcat.apache.org/download-70.cgi 宸︿晶Download 鎵惧埌tomcat鐗堟湰骞剁偣鍑?/strong>

2銆佸彸渚т腑闂寸殑Core 鐐瑰嚮tar.gz 杩涜涓嬭浇锛屽ぇ姒?.2M

3銆佷笂浼犲埌linux鏈嶅姟鍣ㄧ殑 /usr/lib/apache-tomcat/ 涓嬶紝娌℃湁apache-tomcat 鍒欒嚜宸卞缓涓?/strong>

4銆佽В鍘?nbsp;sudo tar xvf apache-tomcat-7.0.64.tar.gz   绾㈣壊閮ㄥ垎鎹㈡垚浣犵殑鏂囦欢鍚?/strong>

5銆佸惎鍔?cd  /usr/lib/apache-tomcat/bin     鎵ц  ./startup.sh  鎴愬姛鍒欐樉绀?nbsp;Tomcat started

6銆佽闂?http://127.0.0.1:8080

 

---------------------------------瀹屾暣鐗堬細

 

鏈枃鍩轰簬CentOS 64浣?/strong>

 

1.棣栧厛涓嬭浇Tomcat7.0 (apache-tomcat-7.0.64.tar.gz锛?/strong>

浠庡畼缃戜笅杞?nbsp;http://tomcat.apache.org/download-70.cgi

鎶€鏈垎浜浘鐗? src=

2.灏哸pache-tomcat-7.0.64.tar.gz鎷疯礉鍒?usr/lib/apache-tomcat/鐩綍涓嬮潰锛岃繖閲屽鏋滄病鏈夋枃浠跺す锛屽垯鍒涘缓璇ユ枃浠跺す,鍛戒护:

mkdir apache-tomcat

sudo tar xvf apache-tomcat-7.0.64.tar.gz    //瑙e帇缂╂枃浠?/strong>

 

3.褰撹В鍘嬫垚鍔熶互鍚庯紝鎴戜滑鐩存帴杩涘叆鍒皌omcat bin鐩綍涓€?/strong>

杈撳叆 ./startup.sh鍚姩Tomcat锛屽亣濡傛樉绀篢omcat started锛屽垯琛ㄦ槑鍚姩鎴愬姛銆?/strong>

 

4.杈撳叆鍦板潃锛屽亣濡傝兘澶熸垚鍔熺殑璁块棶鍒癟omcat鐨勯粯璁ょ晫闈㈣〃绀烘垚鍔?

Tomcat鐨勯粯璁ょ鍙d负8080

 

5.tomcat鎵€鍦ㄧ洰褰曚负/usr/lib/apache-tomcat/

鎵撳紑tomcat閰嶇疆鏂囦欢
sudo nano /usr/local/apache-tomcat/conf/server.xml

鎵撳紑Tomcat閰嶇疆鏂囦欢涔嬪悗鎸?8080  蹇€熸绱?/strong>

淇敼绔彛锛屾寜 i 杩涜锛屽皢8080 淇敼涓?80

涓轰簡鍚庨潰闃叉涔辩爜锛屾垜浠『渚垮姞涓奤RIEncoding="UTF-8",濡傚浘

閲嶅惎tomcat

 

鎶€鏈垎浜浘鐗? src=

 

以上是关于Linux涓嬪畨瑁匱omcat的主要内容,如果未能解决你的问题,请参考以下文章

linux涓嬪畨瑁卪ysql

Linux涓嬪畨瑁卬ode鍙妌pm

kail涓嬪畨瑁匯saCtfTool

win10涓嬪畨瑁卪ysql5.7

Windows7涓嬪畨瑁単olang璇█寮€鍙戠幆澧冨拰revel妗嗘灦

Windows10涓嬪畨瑁匳Mware workstation 15.1铏氭嫙鏈?閰嶇疆Ubuntu16绯荤粺

(c)2006-2024 SYSTEM All Rights Reserved IT常识