pve虚拟机死机重启命令
echo 'rm -f /run/lock/qemu-server/lock-$1.conf
qm unlock $1
qm stop $1
qm start $1
qm status $1' > restart_vm.sh echo 'rm -f /run/lock/qemu-server/lock-$1.conf
qm unlock $1
qm stop $1
qm start $1
qm status $1' > restart_vm.sh echo '{
"registry-mirrors": [
"https://hub-mirror.c.163.com",
"https://mirror.baidubce.com",
"https://dockerproxy.com",
"https://docker.nju.edu.cn",
"https://hub.docker.com"
]
}' > /etc/docker/daemon.json docker run -d \
--name vaultwarden \
-e ADMIN_TOKEN=xxxxxxxxx\
-p 80:80 \
-p 3012:3012 \
-e SIGNUPS_ALLOWED=false \
-e WEB_VAULT_ENABLED=true \
-e ROCKET_LOG=debug \
-e EXTENDED_LOGGING=true \
-e DOMAIN=https://xxx.xxxx.xxxx\
-v /data/vaultwarden:/data \
--restart unless-stopped \
docker.io/vaultwarden/server:latest:Cannot read properties of nul(reading ‘iterations‘)
修改nginx增加以下字段
location = /identity/accounts/prelogin {
rewrite ^/identity/accounts/prelogin$ /api/accounts/prelogin;
proxy_pass http://api:80/;
} 回退到指定的一个版本
git reset --hard dde8c25694f34acf8971f0782b1a676f39bf0a46
强推到远程
git push origin HEAD --force