![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
文章平均质量分 75
buzhaodi2
这个作者很懒,什么都没留下…
展开
-
centos同步时间、设置时区
设置时区:timedatectl set-timezone Asia/Shanghai同步时间yum -y install ntp ntpdatentpdate 0.asia.pool.ntp.org把时间写入硬件hwclock --systohc原创 2020-12-21 17:29:48 · 102 阅读 · 0 评论 -
centos7 升级gcc到8.3
1.安装scl源:安装之前最好先设置个代理export http_proxy=http://127.0.0.1:10809export https_proxy=http://127.0.0.1:10809yum install centos-release-scl scl-utils-build2.安装8版本的gcc、gcc-c++、gdb工具链(toolchian):yum install -y devtoolset-8-toolchain3.使其生效scl enable devtools原创 2020-12-21 11:57:13 · 400 阅读 · 0 评论 -
wireshark、tcpdump常用命令--去重、抓包、过滤
1、tcpdump抓包去重editcap -d 123.pcap filter.pcap其中 123.pcap是要去重的包,filter.pcap是输出的去重之后的包2、过滤sip消息 1、过滤所有invite的响应消息 tshark -r quchong.pcap -Y "sip.CSeq.method eq INVITE" -w gliu.pcap 2、过滤所有sip消息 tshark -r quchong.pcap -Y "sip" -w gliu.pcap 3、查看所有rt原创 2020-12-15 10:28:47 · 3245 阅读 · 0 评论