![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
uWSGI、nginx
Hayley-L
这个作者很懒,什么都没留下…
展开
-
关于dwebsocket部署 uwsgi、nginx的那些报错
所有操作均在ubuntu下测试进行!!!uwsgino app loaded. going in full dynamic mode#Solutionsudo apt-get remove uwsgisudo apt-get update#创建并进入虚拟环境sudo pip install uwsgi这里是引用#Solutionhttp-websockets = ...原创 2020-04-18 15:11:35 · 1068 阅读 · 3 评论 -
uwsgi:error while loading shared libraries: libpcre.so.1
anaconda 虚拟环境pip安装uwsgi后,运行报错:uwsgi: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory解决办法:#找到所有的系统中libpcrefind / -name libpcre.so.*#创...原创 2019-06-14 11:19:29 · 4514 阅读 · 3 评论 -
linux pip uwsgi compiler_compat/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit
linux-gnu/libpython3.6m.a -lutil -lcrypt lto1: fatal error: bytecode stream generated with LTO version 6.0 instead of the expected 4.2 compilation terminated. lto-wrapper: fatal error: gcc...原创 2018-12-07 14:28:35 · 4942 阅读 · 0 评论 -
uWSGI: write(): Broken pipe
write(): Resource temporarily unavailable [plugins/python/uwsgi_pymodule.c line 711]write(): Resource temporarily unavailable [plugins/python/uwsgi_pymodule.c line 711]……猜测,client在未返回完整结果的情况下关闭浏览...原创 2018-11-09 13:39:08 · 2704 阅读 · 0 评论 -
ubuntu下uwsgi如何部署django的http服务
uwsgi项目配置文件uwsgi.ini# uwsgi.ini file [uwsgi]# Django-related settings# the base directory (full path)chdir = /your/project/PATH# Django's wsgi filemodule = yourproject...原创 2019-01-05 16:05:50 · 330 阅读 · 0 评论 -
ubuntu+uwsgi+nginx+django 部署手记三(配置https)
django rest framwork 为了配合微信小程序的访问,借助nginx ssl 配置https#1.创建服务器证书密钥文件 server.key:openssl genrsa -des3 -out server.key 1024#输入密码,确认密码,自己随便定义,但是要记住,后面会用到。#2.创建服务器证书的申请文件 server.csropenssl req -new -k...原创 2019-03-21 17:58:32 · 380 阅读 · 0 评论 -
centos+django+nginx+uwsgi 部署手记
1.安装anaconda配置相关python环境2.安装uwsgipip install uwsgiException: you need a C compiler to build uWSGIyum install -y gcc gcc-c++3.安装nginxsudo yum install epel-releasesudo yum install nginxsudo sy...原创 2018-09-28 13:20:26 · 240 阅读 · 0 评论 -
ubuntu+uwsgi+nginx+django 部署手记二(配置nginx)
apt-get install nginxservice nginx startservice nginx stop原创 2018-08-06 17:12:45 · 249 阅读 · 0 评论 -
Linux+uWSGI+flask部署
$ export FLASK_APP=app.py$ python -m flask run --host=172.16.*.* --port=5000原创 2019-05-30 22:21:46 · 695 阅读 · 0 评论 -
linux如何彻底杀掉uwsgi进程
在启动uwsgi时,如果指定了pid,可以通过pid停止uwsgi如果没指定,直接kill uwsgi的进程id,会导致uwsgi重启,无法关闭成功未指定 daemonize:Ctrl+c(快捷键可能有所不同)指定daemonize和pidfile:uwsgi --stop uwsgi.pid指定daemonize,但未指定pidfile#通过ps,查看uwsgi相关...原创 2019-02-22 15:53:58 · 12969 阅读 · 4 评论 -
Nginx、HLS、M3U8、TS 搭建手记
NginxNginx (engine x) 是一个高性能的HTTP和反向代理web服务器。Nginx 添加模块(nginx-rtmp-module)可以搭建hls流媒体服务器。HLSHTTP Live Streaming(HLS) , 是一个由苹果公司提出的基于 HTTP 的流媒体网络传输协议。HLS基于HTTP协议实现,传输内容包括两部分,一是M3U8描述文件,二是TS媒体文件...原创 2019-09-16 16:45:31 · 5880 阅读 · 0 评论