欢迎来到ArchitecTang的博客

摘要: 在远程运行节点创建一个cleanlog.sh 脚本文件 vin clenalog.sh 插入以下内容 !/bin/env bash start=$(date +%y %m %d %H%M%m) File=/software/dubbo monitor data/cleanlog/clean_log_ 阅读全文
posted @ 2018-12-28 14:14 ArchitecTang 阅读(1913) 评论(0) 推荐(1) 编辑
摘要: ResponseError: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set 阅读全文
posted @ 2018-12-28 13:54 ArchitecTang 阅读(248) 评论(0) 推荐(1) 编辑
摘要: 1、安装完成后允许命令出错 Traceback (most recent call last): File "/usr/bin/ansible", line 197, in (runner, results) = cli.run(options, args) File "/usr/bin/ansib 阅读全文
posted @ 2018-12-28 13:43 ArchitecTang 阅读(1804) 评论(0) 推荐(0) 编辑
摘要: ansible介绍: Ansible是一款基于Python开发的自动化运维工具,主要是实现批量系统配置、批量程序部署、批量运行命令、批量执行任务等等诸多功能。Ansible是一款灵活的开源工具,能够很大程度简化运维中的配置管理与流程控制方式,它利用推送方式对客户系统加以配置,这样所有工作都可在主服务 阅读全文
posted @ 2018-12-28 13:40 ArchitecTang 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 实例一 (灰色调度) !/usr/bin/env python _ _ coding:utf 8 _ _ import cv2 as cv import numpy as np capture = cv.VideoCapture(0) 创建一个VideoCapture对象 while(True): 阅读全文
posted @ 2018-12-28 13:26 ArchitecTang 阅读(3162) 评论(0) 推荐(0) 编辑
摘要: 脚本内容: import matplotlib.pyplot as plt nginx_file = '10.6.11.91_access.log 2018 12 27' ip = {} 筛选nginx日志文件中的IP with open(nginx_file) as f: for i in f.r 阅读全文
posted @ 2018-12-28 12:24 ArchitecTang 阅读(543) 评论(0) 推荐(0) 编辑