原文:linux快速启动http端口

python m SimpleHTTPServer python : python m http.server SimpleHTTPServer是Python 自带的一个模块,是Python的Web服务器。它在Python 已经合并到http.server模块中。SimpleHTTPServer在Python 的用法与在Python 的用法相似 python m http.server , 本文以 ...

2020-04-20 14:19 0 585 推荐指数:

查看详情

Linux 根据端口快速停止服务并启动的办法

0. 需要使用 lsof 的命令, 如果linux 上面没有安装的话 需要自行安装 1. 先根据端口查进程号 2. 根据进程号查看进程文件信息 [root@centos76 deploy]# ll /proc/7167total ...

Tue Jun 25 19:14:00 CST 2019 0 606
Linux启动http服务

1、安装apache yum install httpd #根据提示,输入Y安装即可成功安装 systemctl start httpd.service #启动apache systemctl stop httpd.service #停止apache systemctl restart ...

Fri Sep 06 03:10:00 CST 2019 0 2185
linux启动http服务

1、安装apache yum install httpd #根据提示,输入Y安装即可成功安装 systemctl start httpd.service #启动apache systemctl stop httpd.service #停止apache systemctl restart ...

Sat Jan 19 16:44:00 CST 2019 1 10672
使用Python SimpleHTTPServer 快速启动http服务

使用Python SimpleHTTPServer 快速启动http服务 当前Python版本为2.7,3.5以后的版本略有区别,可用$ python --version 查看Python版本 1、进入需要分享的目录 2、开启http服务 注意事项 ...

Thu Aug 22 22:38:00 CST 2019 0 822
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM