官方github
https://github.com/hostsoft/diretcadmin-chinese-lang
Git方式安装教程
rm -rf /usr/local/directadmin/data/skins/enhanced/lang/cn
cd /usr/local/directadmin/data/skins/enhanced/lang/
git clone https://github.com/hostsoft/diretcadmin-chinese-lang cn
chown diradmin:diradmin -R cn
perl -pi -e 's/language=en/language=cn/' /usr/local/directadmin/data/users/*/user.conf
zip方式安装教程
注意替换版本号
rm -rf /usr/local/directadmin/data/skins/enhanced/lang/cn
cd /usr/local/directadmin/data/skins/enhanced/lang
da_langver=1.55
wget --no-check-certificate -c https://github.com/hostsoft/diretcadmin-chinese-lang/archive/${da_langver}.zip
unzip ${da_langver}.zip
rm -rf ${da_langver}.zip
mv diretcadmin-chinese-lang-${da_langver} cn
chown diradmin:diradmin -R cn
perl -pi -e 's/language=en/language=cn/' /usr/local/directadmin/data/users/*/user.conf
暂无评论内容