摘要: https://www.cnblogs.com/JamesHao/p/12991870.html 一、db2prereqcheck预检查 首先进入到压缩包所在的目录,执行tar命令对.tar.gz压缩文件进行解压 # 解压到当前目录 tar -zxvf v10.5_linuxx64_expc.tar 阅读全文
posted @ 2021-12-08 08:51 小清澈 阅读(1495) 评论(0) 推荐(0) 编辑
摘要: yum install autoconf automake make gcc-c++ yum install pcre-devel zlib-devel libmemcached-devel wget https://github.com/downloads/libevent/libevent/li 阅读全文
posted @ 2021-11-30 19:16 小清澈 阅读(282) 评论(0) 推荐(0) 编辑
摘要: docker run -d -p 50001:50000 --name ptdb2 --privileged=true -e DB2INST1_PASSWORD=PTDB2231476 -e DBNAME=testdb -e LICENSE=accept -v /opt/db2:/database 阅读全文
posted @ 2021-11-17 15:07 小清澈 阅读(36) 评论(0) 推荐(0) 编辑
摘要: sqlplus / as sysdba登录系统 PDB模式的话先切换Session alter session set container = ora19cpdb; 确认一下undo的表空间名 show parameter undo; 创建新的undo表空间 create undo tablespa 阅读全文
posted @ 2021-11-08 15:02 小清澈 阅读(80) 评论(0) 推荐(0) 编辑
摘要: -v, --verbose 详细模式输出 -q, --quiet 精简输出模式 -c, --checksum 打开校验开关,强制对文件传输进行校验 -a, --archive 归档模式,表示以递归方式传输文件,并保持所有文件属性,等于-rlptgoD -r, --recursive 对子目录以递归模 阅读全文
posted @ 2021-11-05 14:49 小清澈 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 转载:https://m.aliyun.com/doc/document_detail/29341.html 性能测试 PTS 性能测试体系 性能测试技术体系 测试监控 测试监控 2017-06-07 13:26:11 目录 1 引言 1.1 编写目的 1.2 适用对象和范围 1.3 参考文档 2 阅读全文
posted @ 2021-11-05 11:09 小清澈 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1. 确保 pam 生效 在 /etc/pam.d/login 中,存在: session required pam_limits.so 2. 确保 ssh 使用 pam 在 /etc/pam.d/sshd 中,存在: session required pam_limits.so 在 /etc/ss 阅读全文
posted @ 2021-10-07 17:46 小清澈 阅读(279) 评论(0) 推荐(0) 编辑
摘要: #encoding=utf-8 import urllib.requestimport os # 下载文件到本地的函数def download(fileUrl): # 获取网络文件的文件名 filename = os.path.basename(fileUrl) rsp=urllib.request 阅读全文
posted @ 2021-10-04 08:50 小清澈 阅读(227) 评论(0) 推荐(0) 编辑
摘要: with open('config.ini','wb') as f:wb 指的是以二进制的方式打开文件,所以在写入文件的时候,会提示TypeError: a bytes-like object is required, not 'str'所以解决方法很简单,修改成 with open('config 阅读全文
posted @ 2021-09-28 14:36 小清澈 阅读(754) 评论(0) 推荐(0) 编辑
摘要: mysql -uroot -p use mysql; update user set host='%' where user ='root'; FLUSH PRIVILEGES; GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'WITH GRANT OPTION; 阅读全文
posted @ 2021-09-21 16:42 小清澈 阅读(138) 评论(0) 推荐(0) 编辑