python提供web服务

2021-02-22 20:14 阅读 57 views 次 python提供web服务已关闭评论

阿里云部署 Flask + WSGI + Nginx 详解

https://blog.csdn.net/grean2015/article/details/78192763?utm_medium=distribute.pc_relevant_download.none-task-blog-baidujs-1.nonecase&depth_1-utm_source=distribute.pc_relevant_download.none-task-blog-baidujs-1.nonecase

 

pip3 install supervisor
echo_supervisord_conf > /etc/supervisord.conf

随机启动
/etc/rc.d/rc.local
 

uWSGI:

https://uwsgi-docs.readthedocs.io/en/latest/WSGIquickstart.html

Flask:

https://dormousehole.readthedocs.io/en/latest/quickstart.html#id2

uWSGI启动flask

https://dormousehole.readthedocs.io/en/latest/deploying/uwsgi.html

 

uwsgi: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by uwsgi)

 

版权声明:本文著作权归原作者所有,欢迎分享本文,谢谢支持!
转载请注明:python提供web服务 | 蚂蚁浏览器文档
分类:电脑技术 标签:

评论已关闭!