摘要:
shell监控网站是否自动运行并自动重启 也可以使用curl监控网页返回代码 curl -o /dev/null --retry 3 --retry-max-time 8 -s -w %{http_code} www.baidu.com 阅读全文
摘要:
临时增加IP命令:ifconfig eth0:1 ip地址 netmask 子网码 broadcast 广播地址 gateway 网关 ifconfig eth0:1 10.1.104.65 netmask 255.255.255.0 broadcast 10.1.104.255 gateway 1 阅读全文