timedatectl set-timezone Asia/Shanghai
sed 'aPermitRootLogin yes' /etc/ssh/sshd_config
sed 's/\/\/.*\//\/\/mirrors.hetao.me\//g' /etc/apt/sources.list
apt-get install vim curl language-pack-zh-han*
apt install(check-language-support)
cat >> /etc/environment << EOF
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh"
LC_NUMERIC="zh_CN"
LC_TIME="zh_CN"
LC_MONETARY="zh_CN"
LC_PAPER="zh_CN"
LC_NAME="zh_CN"
LC_ADDRESS="zh_CN"
LC_TELEPHONE="zh_CN"
LC_MEASUREMENT="zh_CN"
LC_IDENTIFICATION="zh_CN"
LC_ALL="zh_CN.UTF-8"
JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF-8"
PYTHONIOENCODING="UTF8"
EOF
cat > /etc/default/locale << EOF
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh"
LC_NUMERIC="zh_CN"
LC_TIME="zh_CN"
LC_MONETARY="zh_CN"
LC_PAPER="zh_CN"
LC_NAME="zh_CN"
LC_ADDRESS="zh_CN"
LC_TELEPHONE="zh_CN"
LC_MEASUREMENT="zh_CN"
LC_IDENTIFICATION="zh_CN"
LC_ALL="zh_CN.UTF-8"
EOF
systemctl restart sshd