Linux

Ubuntu 18.04 修复重启sysctl 失效

如禁用ipv6 vim /etc/sysctl.d/99-sysctl.conf net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.…

grep 批量查询中文文件名

grep -P '[\x{4e00}-\x{9fa5}]' file.txt root@demo18:~# find . -type f | grep -P &…

Ubuntu 16.04 编译PHP7.1时出现:collect2: error: ld returned 1 exit status make: *** [sapi/cli/php] Error 1

collect2: error: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 vi Makefile 查找…

USG6300E 防火墙宽带拨号上网跑不满解决

USG 6300E Wan0 千兆网口 光猫拨号上网 带宽速率跑不满,测速700多M,速率损耗有点严重,一般千兆在900多M范围内那个损耗接受。 电信签约电信为2000M,电脑网卡…

Nexus3仓库Docker Compose部署

部署 docker-compose.yaml version: "3.3" services: nexus: image: sonatype/nexus3:3.…

Linux 创建swap分区或swap文件

使用块设备创建swap 1. 执行以下命令,新建一个分区(以2G为例)。 fdisk /dev/vdb Command (m for help): n Partition type…

SSH创建known_hosts重复提示 忽略

通常发生在重装系统,或IP变更但之前已经登陆过。 这个时候需要打开文件~/.ssh/known_hosts 删除此ip的指纹信息再重新登录,此警告本身是出于安全考虑,避免被中间人攻…

Rocky9 GitLab + Runner Docker 部署

环境准备 sed -e 's|^mirrorlist=|#mirrorlist=|g' \ -e 's|^#baseurl=http://dl.roc…

OpenWrt 旁路由及OpenClash设置

主路由IP: 192.168.77.1/24 OpenWrt则使用 192.168.77.2/24 使用的旁路由的原因: 若OpenWrt有部署Wireguard服务器,新增帐号生…

openwrt frp配置

frps服务端 安装 wget https://github.com/fatedier/frp/releases/download/v0.57.0/frp_0.57.0_linux…

1 2 3 4 6