摘要: CACHES = { "default": { "BACKEND": "django_redis.cache.RedisCache", "LOCATION": "redis://:password@host:6379/3", "OPTIONS": { "CLIENT_CLASS": "django_ 阅读全文
posted @ 2019-06-06 14:05 olivertian 阅读(593) 评论(0) 推荐(0) 编辑
摘要: 原文1:https://blog.csdn.net/cw_hello1/article/details/83444013 原文2:https://www.cnblogs.com/suiyueqiannian/p/7808190.html 注:原文2中评论区说的bind 0.0.0.0安全问题,应该是 阅读全文
posted @ 2019-06-06 11:47 olivertian 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 百度百科:https://baike.baidu.com/item/sudo/7337623?fr=aladdin sudo指令 功能: 以root的身分执行命令 语法: sudo 其他指令 用户: 被root加入『/etc/sudoers』文件中的用户 1.root的密码除了root本人知道外,不 阅读全文
posted @ 2019-06-06 10:17 olivertian 阅读(6269) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.csdn.net/Enjolras_fuu/article/details/79661582 Django-redis-session官网:https://pypi.org/project/django-redis-sessions/ 注意,官网中的配置不能正常使用, 阅读全文
posted @ 2019-06-06 01:10 olivertian 阅读(480) 评论(0) 推荐(0) 编辑