Debian修改用户默认的Shell
问题现象Debian创建新用户后,新用户无法使用tab键自动补全使用echo $SHELL查看,发现默认的Shell是/bin/sh解决方法切换root用户,使用usermod -s /bin/bash username,设置默认Shell为Bash
阅读全文
问题现象Debian创建新用户后,新用户无法使用tab键自动补全使用echo $SHELL查看,发现默认的Shell是/bin/sh解决方法切换root用户,使用usermod -s /bin/bash username,设置默认Shell为Bash
阅读全文
1. 数据库备份docker-compose exec -it db pg_dumpall -U postgres > backup.sql2. 停止服务docker-compose down3. 重命名原来的postgresql数据目录4. 修改docker-compose.yml,将postgresql的镜像修改为新版本5. 启动服务,会自动拉取新版本的镜像,观察Joplin能否访...
阅读全文
查看网卡MTUnetsh interface ipv4 show subinterfaces设置网卡MTUnetsh interface ipv4 set subinterface "<Interface>" mtu=1492 store=persistent
阅读全文
在当前安装Veeam的服务器上使用PowerShell执行以下命令,$context后面粘贴数据库中的密文密码Add-Type -AssemblyName 'system.security'
$context = '<encrypted-password-value-from-database>'
$data = [Convert]::Fr...
阅读全文
卸载旧版本yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine安装yum-utils工具yum install -y yum-utils配置Docker官方的yum仓库yum-...
阅读全文