LXC容器优化
开启第三方登陆
nano /etc/ssh/sshd_config
service ssh restart
设置东八区与中文
timedatectl set-timezone Asia/Shanghai
追加本地语言配置
echo "zh_CN.UTF-8 UTF-8" >> /etc/locale.gen
重新配置本地语言
dpkg-reconfigure locales
指定本地语言
export LC_ALL="zh_CN.UTF-8"
中文的设置
安装常用命令
apt install zsh git vim curl -y
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
添加未知命令提示
nano ~/.zshrc
. /etc/zsh_command_not_found
#在文件末尾添加以上内容
source ~/.zshrc
#配置生效
评论区