前提条件:

在服务器上要安装好Python ,Python自带了一个WEB服务器 SimpleHTTPServer。可以执行以下命令快速搭建一个http服务。

nohup python -m SimpleHTTPServer [port] &

 例如:

python -m SimpleHTTPServer 8000 

python搭建简单http服务

 

相关文章:

  • 2021-08-28
  • 2021-12-11
  • 2021-06-03
  • 2021-07-26
  • 2022-01-10
  • 2021-12-31
  • 2021-11-19
猜你喜欢
  • 2022-01-01
  • 2021-06-24
  • 2021-11-15
  • 2021-12-15
  • 2021-11-20
  • 2021-12-09
  • 2022-01-14
相关资源
相似解决方案