Changes between Version 7 and Version 8 of waue/2009/0811
- Timestamp:
- Aug 11, 2009, 11:31:11 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
waue/2009/0811
v7 v8 42 42 43 43 == 啟動 jetty == 44 * 設定 jetty -> /etc/jetty/jetty.xml 45 {{{ 46 #!text 47 <Set name="Port"><SystemProperty name="jetty.port" default="8280"/></Set> 48 }}} 49 * 啟動 44 50 {{{ 45 51 $sudo /etc/init.d/jetty start 46 52 }}} 53 * 瀏覽 [http://localhost:8280/ ] 47 54 48 * 找出port :55 * ps : 不知設定檔如何找出port : 49 56 * 先用 '''ps aux | jetty''' 找出jetty的pid 50 57 * 在用pid 來探索 '''netstat -anlp | grep $pid''' ,可查出port號如 … … 53 60 }}} 54 61 * 預設port在8280 55 * 設定 jetty -> /etc/jetty/jetty.xml 56 {{{ 57 #!text 58 <Set name="Port"><SystemProperty name="jetty.port" default="8280"/></Set> 59 }}} 62 63