首页 > 代码库 > centos下安装、配置uWSGI+Nginx

centos下安装、配置uWSGI+Nginx

1、关闭SELINUX:

1
[root@PYTHON27 /]# vim /etc/selinux/config
1
将SELINUX=enforcing修改为SELINUX=disabled

2、安装EPEL源:

1
2
3
[root@PYTHON27 /]# yum -y install epel-release
[root@PYTHON27 /]# yum clean all
[root@PYTHON27 /]# yum makecache

3、安装系统工具:

1
[root@PYTHON27 /]# yum -y install vim wget telnet

4、安装uwsgi及组件:

1
[root@PYTHON27 /]# yum -y install uwsgi uwsgi-devel uwsgi-plugin-python

5、查看uwsgi版本:

1
2
[root@PYTHON27 /]# uwsgi --version
2.0.14



本文出自 “隔壁豌豆” 博客,转载请与作者联系!

centos下安装、配置uWSGI+Nginx