Tag » uwsgi
  • CentOS7.4部署Python3+Django+uWSGI+Nginx

    showerlee 2018-04-20 18:18 Django, Programming 阅读 (2,857) 抢沙发
    安装环境 Remote: CentOS 7.4 x64 (django.example.com) Python: Python3.6.5 Django: Django 2.0.4 nWSGI:  uwsgi-2.0.15 Nginx:  nginx- 1.10.2-1.el6 一. 系统环境配置 1.关闭iptables和selinux # su - root # service iptables stop # setenforce 0 # vi /etc/sysconfig/selinux 修改 SELINUX=disabled 2.添加本地host DNS # vi /etc/h...
  • CentOS6.9部署Python3+Flask+uWSGI+Nginx

    showerlee 2017-10-18 12:20 Flask, NGINX, Programming, PYTHON 阅读 (3,934) 抢沙发
    最近在业余时间去学习python web开发, 并用Flask做了一个BLOG小程序放到我的个人仓库和Github仓库, 这里把自己的文档分享给大家, 仅供参考 https://github.com/showerlee/Flaskdev https://git.showerlee.com/showerlee/Flaskdev 安装环境 OS(virtualbox): CentOS 6.9 x64 (flask.example.com) OS(localhost):  Windows 7 x64    Python: Python3.4/Python2.6.6 Flask: Fla...