摘要: java.net.UnknownHostException: suse101x64: suse101x64: Name or service not known at java.net.InetAddress.getLocalHost(InetAddress.java:1505) at org.ap 阅读全文
posted @ 2022-03-03 17:21 wuzhiyi 阅读(123) 评论(0) 推荐(0) 编辑
摘要: rpm -ivh https://dl.fedoraproject.org/pub/archive/epel/6/x86_64/epel-release-6-8.noarch.rpm https://archives.fedoraproject.org/pub/archive/epel/ 阅读全文
posted @ 2021-10-29 17:27 wuzhiyi 阅读(39) 评论(0) 推荐(0) 编辑
摘要: [base] name=$releasever - Base failovermethod=priority baseurl=https://vault.centos.org/5.5/os/$basearch/ gpgcheck=1 gpgkey=https://vault.centos.org/R 阅读全文
posted @ 2021-08-24 18:33 wuzhiyi 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-05-29 17:10 wuzhiyi 阅读(266) 评论(0) 推荐(0) 编辑
摘要: ps -ef|grep nginx|awk 'NR==1{print $2}' #获取进程第一个第一行ID 阅读全文
posted @ 2018-09-20 18:31 wuzhiyi 阅读(149) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash echo '' > ~/getLoad/1minute.txt echo '' > ~/getLoad/5minute.txt echo '' > ~/getLoad/15minute.txt SECONDS=0 # echo ${oneminute:0:4} while [ $SECONDS -le 1200 ] do #get load average da... 阅读全文
posted @ 2018-04-11 16:38 wuzhiyi 阅读(252) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash while true do sleep 5 for name in `ls /opt/html/*.php |grep -vE 'info.php|config.php|external-fopen-java.php'` //排除不需要的文件 do curl http://192.168.1.33:8090/${name##*/} >/de... 阅读全文
posted @ 2018-03-30 15:29 wuzhiyi 阅读(324) 评论(0) 推荐(0) 编辑
摘要: curl -X POST -b "cookie1=tingyun;cookie2=abcd" -d "body2=123456&body3=weroiy6&multiline=line1 line2" -H "header1:tingyun;header2:network" http://192.168.3.21/custom/param/prepare/http-post-new.php?u... 阅读全文
posted @ 2018-03-20 11:27 wuzhiyi 阅读(3878) 评论(0) 推荐(0) 编辑
摘要: 1,找到collections,选择要执行的用例 2,在linux下安装newman 3,通过脚本执行导出的脚本 命令行: 脚本: 阅读全文
posted @ 2018-03-20 11:25 wuzhiyi 阅读(2286) 评论(0) 推荐(0) 编辑
摘要: sudo vim /etc/ssh/sshd_config # PermitRootLogin prohibit-password PermitRootLogin yes #改成 yes/etc/init.d/sshd restart 阅读全文
posted @ 2018-01-09 14:42 wuzhiyi 阅读(1163) 评论(0) 推荐(0) 编辑