摘要:
Django提供了6种缓存方式 开发调试缓存 内存缓存 文件缓存 数据库缓存 Memcache缓存(使用python-memcached模块) Memcache缓存(使用pylibmc模块) 常使用的有文件缓存和Mencache缓存 1,开发调试 #settings.py CACHES = { 'd 阅读全文
摘要:
ps: 一,安装uwsgi 二,安装nginx nginx 启动文件(/etc/init.d/nginx) 添加配置文件(/usr/local/nginx/conf/vhost/mtrops.conf) 三,配置uwsgi(/opt/mtrop/uwsgi.ini) 四,启动 阅读全文
摘要:
一,服务端安装(备份服务器): 二,检查rsync 是否正常启动: 三,客户端安装(源服务器) 四,同步脚本 运行: 阅读全文