05 2020 档案

摘要:Python命令: python -m SimpleHTTPServer 8000 Python代码: import SimpleHTTPServer import SocketServer class MyHandler(SimpleHTTPServer.SimpleHTTPRequestHand 阅读全文
posted @ 2020-05-30 09:37 阿里云的奥斯卡 阅读(1411) 评论(0) 推荐(0)
摘要:TIMEOUT BIOS密码 启动密码 变更管理 VPN 退出 ssh端口 时间同步 DB主从 限制运维窗口时间 主机基线 运维通道 运维标准 TOMCAT JAVA /opt 目录下 数据 /data下 /logs 日志 CSDN 脱库 1、严格密码和账号控制 keepass 管理密码 ldap管 阅读全文
posted @ 2020-05-29 17:15 阿里云的奥斯卡 阅读(152) 评论(0) 推荐(0)
摘要:脚本 #!/bin/bash /usr/bin/expect <<EOF #使用root权限来执行命令 spawn ssh ljj@localhost expect "password" send "qqq123...A\r" expect eof EOF 前提下载 yum install expe 阅读全文
posted @ 2020-05-18 15:12 阿里云的奥斯卡 阅读(416) 评论(0) 推荐(0)
摘要:response = requests.get("http://www.baidu.com") response.content.decode("utf-8") 返回bytes类型 decode解码 response.text request.encoding = "gbk" # 修改编码 返回st 阅读全文
posted @ 2020-05-05 09:55 阿里云的奥斯卡 阅读(207) 评论(0) 推荐(0)