1.部署教程
http://blog.youkuaiyun.com/cajan2/article/details/51500656
2. nginx uWSGI
使用uWSGI 就可以当作服务器 为神马还要加上nginx
Nginx更安全Nginx能更好地处理静态资源(通过一些http request header)
Nginx也可以缓存一些动态内容Nginx可以更好地配合CDN
Nginx可以进行多台机器的负载均衡不需要在wsgi server那边处理keep alive让
Nginx来处理slow client还有一个更隐蔽的区别是,像uWSGI支持的是wsgi协议,Nginx支持的是http协议,它们之间是有区别的。
3. centos开放端口
irewall-cmd --zone=public --add-port=80/tcp --permanent
命令含义:
--zone #作用域
--add-port=80/tcp #添加端口,格式为:端口/通讯协议
--permanent #永久生效,没有此参数重启后失效
>>> 重启防火墙
firewall-cmd --reload
http://blog.youkuaiyun.com/achang21/article/details/52538049
4. xshell 使用教程
http://www.linuxidc.com/Linux/2015-05/117975.htm
http://blog.youkuaiyun.com/cajan2/article/details/51500656
2. nginx uWSGI
使用uWSGI 就可以当作服务器 为神马还要加上nginx
Nginx更安全Nginx能更好地处理静态资源(通过一些http request header)
Nginx也可以缓存一些动态内容Nginx可以更好地配合CDN
Nginx可以进行多台机器的负载均衡不需要在wsgi server那边处理keep alive让
Nginx来处理slow client还有一个更隐蔽的区别是,像uWSGI支持的是wsgi协议,Nginx支持的是http协议,它们之间是有区别的。
3. centos开放端口
irewall-cmd --zone=public --add-port=80/tcp --permanent
命令含义:
--zone #作用域
--add-port=80/tcp #添加端口,格式为:端口/通讯协议
--permanent #永久生效,没有此参数重启后失效
>>> 重启防火墙
firewall-cmd --reload
http://blog.youkuaiyun.com/achang21/article/details/52538049
4. xshell 使用教程
http://www.linuxidc.com/Linux/2015-05/117975.htm