Changes between Version 7 and Version 8 of waue/2009/0811


Ignore:
Timestamp:
Aug 11, 2009, 11:31:11 AM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2009/0811

    v7 v8  
    4242
    4343 == 啟動 jetty ==
     44 * 設定 jetty -> /etc/jetty/jetty.xml
     45{{{
     46#!text
     47        <Set name="Port"><SystemProperty name="jetty.port" default="8280"/></Set>
     48}}}
     49 * 啟動
    4450{{{
    4551$sudo /etc/init.d/jetty start
    4652}}}
     53 * 瀏覽 [http://localhost:8280/ ]
    4754
    48  * 找出port :
     55 * ps : 不知設定檔如何找出port :
    4956   * 先用 '''ps aux | jetty''' 找出jetty的pid
    5057   * 在用pid 來探索 '''netstat -anlp | grep $pid''' ,可查出port號如
     
    5360}}}
    5461   * 預設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