上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页
摘要: 作者:邓聪聪 关于包的原路返回的问题: 举个例子,比如如果一个linux服务器有三个口接三个不同的网络,假设对应的网络信息是如此 ens33是电信,ip地址为1.1.1.2/24,电信网关为1.1.1.1 ens224是联通,ip地址为2.2.2.2/24,联通网关为2.2.2.1 ens256是移 阅读全文
posted @ 2019-09-26 21:38 邓聪聪 阅读(2896) 评论(0) 推荐(0) 编辑
摘要: 作者:邓聪聪 官网:http://smartping.org/ 安装 Github地址:https://github.com/gy-games/smartping 如果启动失败建议安装go环境在测试 阅读全文
posted @ 2019-09-16 21:18 邓聪聪 阅读(741) 评论(0) 推荐(0) 编辑
摘要: 作者:邓聪聪 方法1; $ModLoad imuxsock # provides support for local system logging (e.g. via logger command) $ModLoad imjournal # provides access to the system 阅读全文
posted @ 2019-08-30 21:48 邓聪聪 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 利用钉钉的群机器人功能,即时发送告警信息 作者:邓聪聪 阅读全文
posted @ 2019-08-20 17:23 邓聪聪 阅读(1065) 评论(0) 推荐(0) 编辑
摘要: [root@yjb ~]# more test.sh #!/bin/sh str1="2.1589872102e+06" echo $str1| awk '{printf("%d\n",$0+0.5)}' #cacti流量(M)数字转换成科学计数 M=A*1000*1000/8 阅读全文
posted @ 2019-08-17 12:07 邓聪聪 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 作者:邓聪聪 Linux报错:bash: pip: command not found # wget https://bootstrap.pypa.io/get-pip.py# python get-pip.py# pip -V #查看pip版本 接下来就可以随便pip安装东西了 # wget ht 阅读全文
posted @ 2019-08-14 10:11 邓聪聪 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 作者:邓聪聪 场景需求,原有为IP+端口的方式访问web,现在通过申请的域名直接访问 将本地入站80的请求转发到8081端口,当前主机IP为x.x.x.x 其中本地网卡eth0; 1:开启转发功能 echo 1 > /proc/sys/net/ipv4/ip_forward 2:使用防火墙功能 ip 阅读全文
posted @ 2019-08-12 11:47 邓聪聪 阅读(193) 评论(0) 推荐(0) 编辑
摘要: [root@mail conf.d]# cd /etc/httpd/conf.d/ #进入配置目录[root@mail conf.d]# vim virtualhost.conf #创建一个配置文件, 编辑内容如下[root@mail conf.d]# cat virtualhost.conf #查 阅读全文
posted @ 2019-08-08 17:30 邓聪聪 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 作者:邓聪聪 [root@localhost ~]# cat ~/.vimrc syntax on " " " General settings " " set nocp set ru set nu " "set cin " "set cino = :0g0t0(sus set sm set ai 阅读全文
posted @ 2019-07-29 12:40 邓聪聪 阅读(893) 评论(0) 推荐(0) 编辑
摘要: 作者:邓聪聪 阅读全文
posted @ 2019-07-20 14:46 邓聪聪 阅读(772) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页