158 articles
Tuesday, Nov 21, 2023
Yarn install command error No such file or directory: 'install'的解决方法 sudo apt remove cmdtest sudo apt remove yarn curl -sS https://dl.yarnpkg.com/debi...
关于TCPBBR3这里不在详细介绍了,自行搜索, 使用TCPBBR3的方法有两种,无非就是自行编译和使用别人编译好的。 自行编译的话,有点折腾,首先主机性能要杠杆的,在独立服务器64GB,16核编译TCPBBR3用了25分钟左右 自行编译的话还可以编译成系统模块,以及直接编译成系统内核。 下面介绍基...
Friday, Nov 3, 2023
pve error before or during data restore, some or all disks were not completely restored 的解决方法 使用pve恢复虚拟机时出现了下面的错误 restore vma archive: zstd -q -d -c …...
Tuesday, Oct 24, 2023
安装开业微博程序pleroma,出现下面的错误信息 error Unable to load crypto library. Failed with error: \":loadfailed, Failed to load NIF library /opt/pleroma/lib/crypto-4....
Tuesday, Oct 10, 2023
pve环境下kvm虚拟机硬盘root分区无损扩容的方法 折腾了两天都没有搞定,搜索了大部分都是复制粘贴和无用的信息 最后,在pve官网文档找到了解决的方法,首先kvm虚拟机的系统分lvm分区 https://pve.proxmox.com/wiki/Resizedisks 系统原始分区信息如下 Mo...
Tuesday, Aug 22, 2023
備份Linux系統的shell腳本 !/bin/bash 设置备份目录和保留天数 backupdir="/sysbk" retaindays=7 创建备份目录 mkdir -p "$backupdir" 生成备份文件名 backupfile="systembackup$date +%Y%m%d...
Monday, Apr 24, 2023
执行apt-get source nginx出现了以下错误 Fetched 1,237 kB in 0s 12.0 MB/s dpkg-source: info: extracting nginx in nginx-1.23.4 dpkg-source: info: unpacking nginx1...
Saturday, Apr 22, 2023
很早之前就说过,修改ubuntu的DNS服务器后会自动恢复为127.0.0.1:53 今天再次查看ubuntu的/etc/resolv.conf文件后才发现ubuntu的DNS服务器是有resolvectl管理的 也就是说ubuntu不想其它Linux发行版那样修改/etc/resolv.conf文...
Saturday, Apr 8, 2023
After installing docker, sometimes the docker is uninstalled, and the virtual bridge is still there. At this time, the docker bridge needs to be manua...
安装了docker后,有时候卸载了docker,虚拟网桥也还在,这时候需要手动卸载docker网桥 ifconfig查看docker创建的网卡名称,一般是br开头和docker0的 安装brctl工具 Fedora/Centos系统 $ yum install -y bridge-utils ...