centos7自定义镜像打包之(二)、为kernel 打中文补丁、打包内核bzImage(即vmlinuz) 下载 kernel-5.15.178 内核源码备用 # 下载内核源码 # 国内 wget -U firefox https://mirrors.tuna.tsinghua.edu.cn/kernel/v5.x/linux-5.15.178.tar.gz # 国外 wget https://mirrors.edge.ke ... 辣条①号 Linux System 运维 2025年 2月 16日 33 次浏览 0 阅读全文
密码保护:centos7自定义镜像打包之(三)、打包kernel-5.15的rpm包 无法提供摘要。这是一篇受保护的文章。 辣条①号 Linux System 运维 2025年 2月 16日 36 次浏览 要查看留言请输入您的密码。 阅读全文
centos7自定义镜像打包之(一)、如何升级gcc 方式一、(推荐) # 安装 centos-release-scl 和 centos-release-scl-rh yum install -y centos-release-scl centos-release-scl-rh # 修改为国内软件源 cat > /etc/yum.repos.d/CentOS-SCL ... 辣条①号 Linux System 运维 2025年 2月 12日 29 次浏览 0 阅读全文
如何对victoria-metrics数据进行备份迁移与还原 工具获取 去github下载 vmutils-linux-amd64-v1.93.14.tar.gz 这个软件包,内含工具如下 wget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v1.93.14/vmutils-linux ... 辣条①号 Linux System 运维 2025年 2月 7日 32 次浏览 0 阅读全文
linux编译安装softflowd实现netflow采集 softflowd简单用法 # 参数介绍 -r 后面跟pcap包路径 -v 后面跟5/9,表示生成v5或v9格式的netflow -n 后面跟netflow采集器的ip:端口 -D 表示以debug模式,即在console打印统计流信息 a.回放pcap包为netflow并转发到指定采集器 ./softflowd -r ... 辣条①号 Linux System 运维 2025年 1月 10日 24 次浏览 0 阅读全文
ubuntu22.04如何手动编译升级iptables1.8.10 及其他iptables相关操作介绍 Tips:按网上的教程,常见会出现如下报错 问题现象一:(原因是系统存在多版本xtables模块,新iptables引用了老的模块) root@localhost:~# iptables -v iptables: symbol lookup error: iptables: undefined symbol: xtab ... 辣条①号 Linux系统工程师 2025年 1月 2日 51 次浏览 0 阅读全文
如何对linux命令行进行操作审计【记录-推荐】 使用介绍 # 1、写一个操作历史命令审计环境变量 cat > /etc/profile.d/history_audit.sh <<"EEOF" #export PROMPT_COMMAND='RETRN_VAL=$?;logger -p local6.debug &quo ... 辣条①号 Linux System 运维 2024年 11月 17日 49 次浏览 0 阅读全文
使用go进行交叉编译 关键点 ## 1、查看支持哪些os/cpu架构 go tool dist list ## 2、是否要关闭cgo(默认不指定时是开启的) CGO_ENABLED=0 表示禁用(这种方式最为简单且便于兼容性) CGO_ENABLED=1 启用启用 如果项目确实依赖 cgo,可以在交叉编译环境中安装目标平台的 C 编译器(例 ... 辣条①号 Linux System 运维 2024年 10月 29日 45 次浏览 0 阅读全文
qrencode linux下二维码生成工具介绍 安装qrencode(附官方手册) # 官方文档 https://fukuchi.org/works/qrencode/index.html.en https://formulae.brew.sh/formula/qrencode (内含 api文档) # 附一篇野生的使用文档 https://blog.csdn.ne ... 辣条①号 Linux System 运维 2024年 10月 12日 54 次浏览 0 阅读全文
masscan快速扫描端口(转录) 各系统如何安装masscan ## 开源项目地址(看看就行,如非必要不建议编译安装) https://github.com/robertdavidgraham/masscan ## CentOS7系列 yum install epel-release yum install masscan -y ## Rocky9系列 ... 辣条①号 Linux System 运维 2024年 9月 19日 81 次浏览 0 阅读全文