推荐阅读
截图已经是中文了,凑合着看吧,应该能猜到对应的英文
语言中添加中文
管理已安装的语言
,弹窗中选择添加或删除语言...
,以添加中文键盘输入法系统
选择IBus
添加中文输入法 按下图所示,逐步添加即可
tips: 有些需要
git clone github.com
的,如果拉不下来,可以试试换成 ssh 源,就是格式如git@github.com:xxx/xxx.git
这样的
sudo apt install curl git
zsh + oh my zsh
先安装终端, 避免下面安装的软件还需要手动修改 .zshrc
sudo apt install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
zsh 推荐主题 & 插件
主题插件可以之后安装
git clone --depth=1 https://gitee.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(git extract history sudo zsh-autosuggestions zsh-syntax-highlighting)
zsh-syntax-highlighting
must be the last plugin sourced.安装 nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
安装 pnpm
npm install --global pnpm
安装 tsx (用于直接运行 .ts 文件)
pnpm i -g tsx
不知道怎么了,dns 解析突然出问题,apt install 不了了,git 也拉不了了,ping 任何外网都 ping 不通。google 一下各种牛鬼蛇神都出来了,最后终于找到一篇对症的,就是 Ubuntu-DNS解析问题
/etc/systemd/resolved.conf
文件,修改下面的 DNS 值
# /etc/systemd/resolved.conf
# 我们 DNS 解析使用 8.8.8.8
[Resolve]
DNS=8.8.8.8
systemctl restart systemd-resolved.service
多添加检查点,避免哪里出了问题要从头再来。。。
如非特别声明,本站作品均为原创,遵循【自由转载-保持署名-非商用-非衍生 创意共享 3.0 许可证】。
对于转载作品,如需二次转载,请遵循原作许可。