
获得徽章 0
podman和docker desktop一起装的,如果先启动podman,docker有可能启动不了,可以先stop podman再启动docker试下 :-)
评论
点赞
Ubuntu环境中给kubectl添加bash completion注意了,他会添加~/.bash_profile文件,这个文件bash启动时会执行,这个时候你的~/.bashrc文件就不执行了,如果你有自定义的一些比如导出环境变量等的操作在后者,那可以添加导入下文件。
source "$HOME/.bashrc"
本质原因还是bash启动时执行文件执行顺序
source "$HOME/.bashrc"
本质原因还是bash启动时执行文件执行顺序
展开
评论
1
Ubuntu中有碰到蓝牙休眠后不管用的可以试下以下命令:
sudo modprobe -r btusb
sudo systemctl restart bluetooth.service
sudo modprobe btusb
我的问题日志主要systemctl status bluetooth.service中各种plugin不支持,比如
System does not support bap plugin等。
sudo modprobe -r btusb
sudo systemctl restart bluetooth.service
sudo modprobe btusb
我的问题日志主要systemctl status bluetooth.service中各种plugin不支持,比如
System does not support bap plugin等。
展开
2
4
WSL中如果想要将windows中的盘挂载到Ubuntu中,但是不想挂载到/mnt,可以修改/etc/wsl.conf,设置
[automount]
root="/"
options="metadata"
[automount]
root="/"
options="metadata"
评论
3
WSL中使用宿主windows的git credential manager方便clone,使用如下命令:
git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/bin/git-credential-manager.exe"
git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/bin/git-credential-manager.exe"
评论
2
赞了这篇文章
赞了这篇文章
赞了这篇文章
赞了这篇文章
赞了这篇文章
赞了这篇文章
赞了这篇文章