上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 22 下一页
摘要: 在项目目录下,执行: 阅读全文
posted @ 2019-05-16 15:22 明天OoO你好 阅读(635) 评论(0) 推荐(0) 编辑
摘要: 在项目目录下执行: 即可添加一个远程仓库。 再执行: 可以查看当前所有的远程仓库。 这时,只要进行提交操作,就会将代码提交到所有的远程仓库。 阅读全文
posted @ 2019-05-16 15:18 明天OoO你好 阅读(1296) 评论(0) 推荐(0) 编辑
摘要: https://www.u3v3.com/ar/1421 https://serversforhackers.com/c/running-ansible-2-programmatically 阅读全文
posted @ 2019-03-07 23:06 明天OoO你好 阅读(773) 评论(0) 推荐(0) 编辑
摘要: host_list=C.DEFAULT_HOST_LIST, # ex: /etc/ansible/hosts, legacy usage #执行host清单,如果不指定文件,会读取ansible.cfg文件的inventory = xx字段。 module_path=None, # ex: /us 阅读全文
posted @ 2019-03-06 22:59 明天OoO你好 阅读(2405) 评论(4) 推荐(0) 编辑
摘要: # encoding: utf-8 import asyncio import requests import functools url = "http://ip.zxinc.org/api.php" params_list = [] # 存放所有要查询的参数 with open("IPv6.txt", 'r', encoding='utf-8') as f: for ip i... 阅读全文
posted @ 2018-11-08 10:59 明天OoO你好 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 获取Django中model字段名 字段的verbose_name 阅读全文
posted @ 2018-09-17 10:42 明天OoO你好 阅读(613) 评论(0) 推荐(0) 编辑
摘要: Django model中的 class Meta 详解 Model 的 Meta 选项 本文介绍你能在model中使用的 class Meta 内嵌类的所有 元数据选项 (meta options) 可用的 Meta 选项 abstract Options.abstract 如果 abstract 阅读全文
posted @ 2018-09-17 10:30 明天OoO你好 阅读(5152) 评论(0) 推荐(0) 编辑
摘要: 1.运维团队与开发团队的矛盾: 运维追求业务的稳定。开发更关注新功能的添加与版本的快速迭代。但是由于业务更新,有很大可能导致故障。从本质上来说,两部门是矛盾的。 deops应该是: 1.对重复性工作有天然排斥感 2.有足够能力快速开发软件系统来代替手工操作 sre团队职责:可用性改进、延迟优化、效率 阅读全文
posted @ 2018-09-13 23:21 明天OoO你好 阅读(334) 评论(0) 推荐(0) 编辑
摘要: cat /home/ops/supervisor/etc/supervisord.conf [unix_http_server] file=/home/ops/supervisor/run/supervisor.sock ; the path to the socket file ;chmod=0700 ; socket file mode (defa... 阅读全文
posted @ 2018-09-07 08:32 明天OoO你好 阅读(308) 评论(0) 推荐(0) 编辑
摘要: [root@bd043 init.d]# cat elasticsearch #!/bin/sh # elasticsearch Startup script for the elasticsearch # # chkconfig: 2345 80 05 # description: The elasticsearch will store data # processname:... 阅读全文
posted @ 2018-09-07 08:31 明天OoO你好 阅读(262) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 22 下一页