在 shell 中执行:
sed -i.backup -z "s/res === null || res === undefined || \!res || res\n\t\t\t.data.status.toLowerCase() \!== 'active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
A simple personal homepage.
在 shell 中执行:
sed -i.backup -z "s/res === null || res === undefined || \!res || res\n\t\t\t.data.status.toLowerCase() \!== 'active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
适用于本地文件
openssl x509 -noout -dates -in certfilename.pem
certfilename.pem 为本地证书文件。
添加一个命令参数解决Cloudflare Tunnels 链接超时的问题,在运行命令中指定 http2
--protocol=http2
该方法在一些特定的网络环境下可能不适用。 禁用自动更新
--no-autoupdate
tar -czf file.tar.gz /path/to/your/files && gpg --symmetric --cipher-algo AES256 --batch --passphrase 123111 -o file.tar.gz.gpg file.tar.gz