全球主机交流论坛

标题: 快速http服务 [打印本页]

作者: 三丫的    时间: 2021-7-6 22:44
标题: 快速http服务
常常临时要在服务器下个文件什么的,没有合适的方法,其实python的http就很好用。
  1. 1、python2
  2. python -m SimpleHTTPServer 8000
  3. 2、python3
  4. python -m http.server 8000
复制代码


ikoula的速度也还可以啊。

作者: O₂    时间: 2021-7-6 22:46
涨知识了 以往我还得安装个nginx
作者: zxwx    时间: 2021-7-6 22:51
HFS 也行。
作者: 271308568    时间: 2021-7-6 22:53
学到了
作者: yylx    时间: 2021-7-6 22:56
学到了
作者: mubazhe    时间: 2021-7-6 22:57
Command 'python' not found, did you mean:

  command 'python3' from deb python3
  command 'python' from deb python-is-python3

有些没配置好的要用python3 -m http.server 8000
作者: 赵蜇    时间: 2021-7-6 22:58
你们发这些真没用,会搜索的人百度就有,不会搜索的人以后也看不到你的贴
作者: Lost_Scarecrow    时间: 2021-7-6 23:01
这种东西居然还要靠分享

前端工具链真是领先其他开发平台100年
作者: zxxx    时间: 2021-7-6 23:03
感谢大佬分享!!!
作者: 严莉莉    时间: 2021-7-6 23:04
感谢大佬分享!!!
作者: mmc199    时间: 2021-7-7 03:23
上手




欢迎光临 全球主机交流论坛 (https://443502.xyz/) Powered by Discuz! X3.4