mkdir -p /tmp/tmp-www-root/
cd /tmp/tmp-www-root/
echo 'hello world' > index.html
python -m SimpleHTTPServer 80 # bind to port 80
如果要停止服務, 只要按下 ctrl+c 就可以了.ref: this.
mkdir -p /tmp/tmp-www-root/
cd /tmp/tmp-www-root/
echo 'hello world' > index.html
python -m SimpleHTTPServer 80 # bind to port 80
如果要停止服務, 只要按下 ctrl+c 就可以了.Recent 1-10, total: 83. >>
Recent 1-4, total: 4.
© 2009 w3 4r3 r0ck/ Hack by Marlboromoo/ Designed by Dante Araujo/ Page used 0.138 secs. =]
0 comments:
張貼留言