上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 61 下一页
摘要: https://www.cnblogs.com/yuanchenqi/articles/8719520.html https://www.cnblogs.com/alice-bj/p/9252207.html#_label3 1、权限组件 1. 源码 1.权限函数 2.API settings配置 阅读全文
posted @ 2019-08-02 22:09 venicid 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 官方文档真是好用的一匹 官方文档:https://2.python-requests.org//zh_CN/latest/index.html 参考blog:https://www.cnblogs.com/humiao-0626/category/1465538.html 1. 快速上手 1 发送请 阅读全文
posted @ 2019-08-01 18:26 venicid 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 1. 配置管理:state和file https://docs.saltstack.com/en/latest/topics/states/index.html Full list of states 1.state状态模块 希望主机,apache ,启动状态,关闭状态, 写法1 2.file 文件 阅读全文
posted @ 2019-07-31 14:48 venicid 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 1、salt ssh https://docs.saltstack.com/en/latest/topics/ssh/index.html 免agent的 Salt ssh 串行 执行的时候,发送给其他的,etc目录下,跑完后删除 1.安装 [root@linux-node1 ~]# yum ins 阅读全文
posted @ 2019-07-31 14:24 venicid 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 0、学习目的 http://docs.saltstack.cn/topics/execution/index.html 官方文档 0.1 命令解释 0.2 学习目的 1、目标Target # Ip地址 # 或者在一个命令中混合使用多target类型: 2、模块Module http://docs.s 阅读全文
posted @ 2019-07-29 22:04 venicid 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 1. SaltStack数据系统 Grains (谷物) Pillar (支柱) 2.Grains Grains存放着Salt命令启动时收集的信息,运行时不收集 2.1 信息查询 收集资产 网卡,ip,cpu .... (1)收集系统底层的msg (2)查询单个 2.2 匹配minion 在所有ce 阅读全文
posted @ 2019-07-29 18:58 venicid 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 参考blog https://download.csdn.net/download/amoscn/10399046 https://blog.csdn.net/weixin_42057852/article/details/80857948 https://blog.51cto.com/xvjunj 阅读全文
posted @ 2019-07-29 16:06 venicid 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 1.配置管理 1.1 puppet /'pʌpɪt/ 木偶;傀儡;受他人操纵的人 使用自有的puppet描述语言,可管理配置文件、用户、cron任务、软件包、系统服务等。 问题: 学习曲线非常陡峭 centos上装个puppet,Ruby环境让人头大 puppet没有远程执行功能(执行100台服务器 阅读全文
posted @ 2019-07-28 12:05 venicid 阅读(475) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/yuanchenqi/articles/8719520.html https://www.cnblogs.com/alice-bj/p/9252207.html 1、上节总结 1.上节笔记 2.遗留问题 存在太多的代码重复使用,如何进行代码复用? 视图 阅读全文
posted @ 2019-07-26 15:53 venicid 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 1、入门 1.1 参考blog 官方文档:http://www.django-rest-framework.org/tutorial/quickstart/#quickstart yuan的Blog:http://www.cnblogs.com/yuanchenqi/articles/8719520 阅读全文
posted @ 2019-07-23 15:20 venicid 阅读(491) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 61 下一页