如何下载macOS安装包及加入beta测试

下载完整安装包 # softwareupdate --fetch-full-installer --full-installer-version **.**.* 比如 # softwareupdate --fetch-full-installer --full-installer-version 10.15 加入开发者测试版 sudo /System/Library/PrivateFrameworks/Seeding.framework/Versions/A/Resources/seedutil enroll DeveloperSeed 加入公共测试版 sudo /System/Library/PrivateFrameworks/Seeding.framework/Versions/A/Resources/seedutil enroll PublicSeed 退出测试版 sudo /System/Library/PrivateFrameworks/Seeding.framework/Versions/A/Resources/seedutil unenroll…

CentOS 7升级到CentOS 8 Stream

# yum update -y # yum install -y epel-release # yum install -y yum-utils rpmconf # rpmconf -a # package-cleanup --leaves # package-cleanup --orphans # yum install -y dnf # dnf -y remove yum yum-metadata-parser # rm -Rf /etc/yum # dnf upgrade -y # dnf install http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/{centos-linux-release-8.3-1.2011.…

OpenWRT升级提示空间不够的处理

x86的OpenWRT固件一般都比较大,系统升级的时候,需要把.img文件解压到/tmp。但系统申请的/tmp只有内存的一半大小,所以在内存小的机器里面,会出现空间不足导致失败的情况。 在这样的情况下,需要对/tmp进行扩容 # mount -t tmpfs -o remount,size=2G tmpfs /tmp # sysupgrade -v openwrt-x86-64-generic-squashfs-combined.img…

Bitwarden_rs升级

# docker ps # cd /var/hosts/path/to/bitwarden/ # docker pull vaultwarden/server:latest # docker stop bitwarden # docker rm bitwarden # docker-compose up -d # docker ps 使用 docker-compose 时的更新 docker-compose stop docker-compose pull docker-compose start…

Caddy php_fastcgi 报错解决

新配置了一台Ubuntu环境的机器,但Caddy访问php-cgi.sock一直报错 Dec 23 16:10:05 server.bra caddy[2190]: {"level":"error","ts":1608711005.8737435,"logger":"http.log.error.log0","msg":"dialing backend: dial unix /tmp/php-cgi.sock: connect: no such file or directory"…

Safari绕过SSL证书错误的对话框

go to Safari > Preferences > Advanced and select the "Show Develop menu in menu bar" option at the bottom. Develop > Show Javascript Console.Paste CertificateWarningController.visitInsecureWebsiteWithTemporaryBypass() in the console.Press enter to run the code and bypass the warning page without adding the untrusted certificate to your keychain.…