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能否访...
阅读全文
1. 在操作系统下开始一键封装,提示找不到sysperp如果有安装搜狗输入法,切换到默认的微软拼音,然后重新运行ES5S2. 执行封装过程中报错,代码5.3查看ES目录下的debug日志,提示如下2023-12-11 15:05:09, Error SYSPRP Package Microsoft.MicrosoftEdge_44.19041.1266.0_n...
阅读全文
1. 编译提示“Werror”相关的错误http_request_parser.c:1130:5: error: this statement may fall through [-Werror=implicit-fallthrough=]
http_request_parser.c:1132:1: note: here解决方法编辑Nginx源码的objs/Makefile,将文件开头CFL...
阅读全文
查看网卡MTUnetsh interface ipv4 show subinterfaces设置网卡MTUnetsh interface ipv4 set subinterface "<Interface>" mtu=1492 store=persistent
阅读全文