首页 » Programming » Django
  • CentOS7.4部署Python3+Django+uWSGI+Nginx

    showerlee 2018-04-20 18:18 Django, Programming 阅读 (16,511) 抢沙发
    安装环境 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...
  • CentOS7.4部署Django+Python3+Apache+Mod_wsgi

    showerlee 2018-04-16 11:11 Django 阅读 (22,669) 2条评论
    安装环境 Remote: CentOS 7.4 x64 (django.example.com) Python: Python3.6.5 Apache: Apache 2.4.6 Mod_wsgi: 4.6.4 Django: Django 2.0.4 一. 系统环境配置 1.关闭iptables和selinux # su - root # systemctl stop firewalld # setenforce 0 # vi /etc/sysconfig/selinux 修改 SELINUX=disabled 2.添加本地host DNS # vi /etc/hosts 127.0.0.1 django.example.com ...