openresty基于GeoIP-ASN数据中的ASN号实现302重定向系统 安装openresty # 第一、添加openresty软件源(各个主流系统都有) 请参考官方文档:https://openresty.org/cn/linux-packages.html # 第二、安装openresty apt -y install openresty # 安装LuaRocks包管理器 apt -y ... 辣条①号 Linux System 运维 2025年 4月 19日 60 次浏览 0 阅读全文
openwrt 安装配置Wireguard 安装软件包 ## 第一:更新openwrt的软件包列表 系统>>软件包>>>更新列表 ## 第二:在 筛选器 里搜索 软件包,并安装 wireguard-tools luci-app-wireguard qrencode # 可以不装,用于生成配置二维码 创建网络接口 配置wireguar ... 辣条①号 Linux System 运维 2025年 3月 30日 116 次浏览 0 阅读全文
grafana 常见问题FAQ 安装与升级 # 安装 yum install -y https://dl.grafana.com/enterprise/release/grafana-enterprise-10.4.2-1.x86_64.rpm yum install -y https://dl.grafana.com/enterprise/rele ... 辣条①号 Linux System 运维 2025年 3月 28日 41 次浏览 0 阅读全文
如何对一个 img 镜像文件中 某个ext4 分区扩容(适用于扩容带分区的arm盒子固件) ## 备份原始固件 cp armbian-h618.img armbian-h618.img.ori ## 直接对img 增加0数据,大小 # 假设要扩容 1GB (1G=1024*1024*1024) (注意是>> 追加符号) dd if=/dev/zero bs=1M count=1024 >&g ... 辣条①号 Linux System 运维 2025年 3月 4日 57 次浏览 0 阅读全文
logstash 常见问题FAQ 查看logstash 已安装的插件列表 bin/logstash-plugin list 查看插件列表 bin/logstash-plugin install logstash-input-kafka # 已提供,无需安装 logstash 的 @timestamp 时间戳 与北京时间差8小时解决办法 ## 适用于 l ... 辣条①号 Linux System 运维 2025年 3月 1日 46 次浏览 0 阅读全文
密码保护:centos7自定义镜像打包之(四)、制作centos7光盘自动安装镜像(替换为自定义内核、自定义软件包) 无法提供摘要。这是一篇受保护的文章。 辣条①号 Linux System 运维 2025年 2月 16日 106 次浏览 要查看留言请输入您的密码。 阅读全文
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日 57 次浏览 0 阅读全文
密码保护:centos7自定义镜像打包之(三)、打包kernel-5.15的rpm包 无法提供摘要。这是一篇受保护的文章。 辣条①号 Linux System 运维 2025年 2月 16日 54 次浏览 要查看留言请输入您的密码。 阅读全文
centos7自定义镜像打包之(一)、如何升级gcc(附、ubuntu 18.04如何升级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日 54 次浏览 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日 61 次浏览 0 阅读全文