摘要: 1.在域控制器上,访问域的SYS VOL下的scripts文件夹,在本环境中,域名为xxx.com,对应的文件夹为\\itjoying.com\SYSVOL\xxx.com\scripts2.新建一个Zabbix目录,并将对应版本zabbix_agentd.exe 复制到Zabbix目录下3.cmd 阅读全文
posted @ 2019-07-10 14:20 keyborad 阅读(804) 评论(0) 推荐(0) 编辑
摘要: django版本问题,需要将版本升级到2.0 pip install --upgrade django https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python pip install mysqlclient报错 https://www.cnb 阅读全文
posted @ 2019-05-22 00:05 keyborad 阅读(2914) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/186f0350bcce 阅读全文
posted @ 2019-05-18 22:05 keyborad 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 难过怎么讲的清楚 失落怎能感同身受 每一次想你 我都得提醒自己 如果你想 和我聊天的话 你早就开口了 我永远都记得那种喜欢到不行的感觉 只是再也不敢发了。 阅读全文
posted @ 2019-03-14 21:14 keyborad 阅读(153) 评论(0) 推荐(0) 编辑
摘要: import os totalSize = 0fileNum = 0dirNum = 0 def visitDir(path): global totalSize global fileNum global dirNum for lists in os.listdir(path): sub_path 阅读全文
posted @ 2019-03-13 17:14 keyborad 阅读(1861) 评论(0) 推荐(0) 编辑
摘要: 脚本切割,由于日志较大,需要进行压缩。 tar -P, --absolute-paths 不要从文件名中去除 '/' #!/bin/bashyear=`date +%Y`month=`date +%m`day=`date +%d` logs_path="/var/log/nginx/"logs_ac 阅读全文
posted @ 2019-01-07 10:35 keyborad 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Function Rename-Computer( $NewName,$AutoRestart=$false ){ $computer=Get-WMIObject Win32_ComputerSystem $computer.Rename( $NewName ) | out-null if($Aut 阅读全文
posted @ 2018-12-20 00:17 keyborad 阅读(1295) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh#chkconfig: 2345 80 05#description: elasticsearch export JAVA_HOME=/usr/local/javaexport JRE_HOME=/usr/local/java/jreexport CLASSPATH=.:$JAVA 阅读全文
posted @ 2018-12-17 18:03 keyborad 阅读(1211) 评论(0) 推荐(0) 编辑
摘要: 一.首先了解Kubernetes核心概率和功能: Kubernetes集群包含有节点代理kubelet和Master组件(APIs, scheduler, etc),一切都基于分布式的存储系统。下面这张图是Kubernetes的架构图。 二.单机环境部署 1.配置yum源: wget http:// 阅读全文
posted @ 2018-07-24 11:27 keyborad 阅读(1380) 评论(0) 推荐(0) 编辑
摘要: 1.下载安装依赖包: 安装gcc,gcc-c++; openssl;pcre;zlib 2.下载nginx包并安装 tar -zxvf nginx-1.10.3.tar.gz cd nginx-1.10.3 编译 ./configure --prefix=/usr/local/nginx-1.10. 阅读全文
posted @ 2017-03-27 23:46 keyborad 阅读(168) 评论(0) 推荐(0) 编辑