
python2.7.5

这里使用SimpleHTTPServer来启动一个http服务。
python -m SimpleHTTPServer 8080
# 也可以将脚本写到文件中(如start.s),然后使用nohup执行
nohup ./start.sh >server.log 2>&1 &
端口信息

工作目录

index.html 首页文件 start.sh 启动脚本(python -m SimpleHTTPServer 8080) server.log 日志文件(使用nohup执行脚本对日志做了重定向)