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
...