最新文章
thumbnail

Ubuntu修改ulimit Max open files值

1.修改GUI界面终端open files大小 在~/.bashrc文件添加ulimit -n 65535 2.修改无图形终端open files大小 在~/.profile文件添加ulimit -n 65535 3.修改ssh open……
thumbnail

2025最新版WRF_WPS编译安装

1. 提前安装好ubuntu20.04/22.04/24.04 2.下载一键安装包 3.命令行一键安装 4.修改配置环境变量.bashrc
thumbnail

Centos7/RHEL/RockyLinux手动编译gcc

yum update -y yum groupinstall "Development Tools" -y yum install wget tar bzip2 gcc gcc-c++ make -y cd ~ wget https://ftp.gnu.org/gnu/gcc/gcc……
thumbnail

ubuntu24树莓派添加iptables规则后ipv6地址消失

今天在树莓派上设置了ip6tables防护,一添加ip6tables -A INPUT -j DROP ,网口上的ipv6公网地址就消失了,删除此规则重启网络又重新出现,查了一下,需要配置……
thumbnail

查询Nginx某一时间段日志

awk -v start="21/Aug/2025:10:30:00" -v end="21/Aug/2025:11:30:00" ' { # 提取日志行中的时间戳部分,去掉方括号 log_time = substr($4, 2, 20)……
thumbnail
git

安装gitlab-runner创建CI/CD流水线

1.本地部署gitlab和gitlab容器 services: gitlab: image: 'gitlab/gitlab-ce:latest' restart: always container_name: gitlab hostna……
thumbnail
git

git不信任自签名https证书解决

git推送到自签名https证书的服务器时会提示 fatal: unable to access 'https://git.com/muye/gittest.git/': SSL certificate problem: unable to get local i……
thumbnail

k8s官方文档本地部署

想在离线环境下访问k8s文档,记录一下部署步骤。 1.克隆 git clone https://github.com/kubernetes/website.git make module-init  2.安装hugo_extended_0.13……
thumbnail

LSI 9217-8i阵列卡通过efi shell刷写IT直通模式

最近买了一个9217-8i阵列卡,商家没有刷成直通模式,自己摸索了一下 1.首先下载固件,解压后把9207-8.bin、mptsas2.rom和复制到格式化为FAT32的空U盘 2.下载ef……
thumbnail

2.网络管理-Linux复习计划

Centos7 1.mii-tool eth0 查看网卡连接状态 eth0: negotiated 1000baseT-FD flow-control, link ok 2.route -n 查看路由IP不解析为主机名,netstat -nr 也可查……