DirectAdmin中文语言包安装云服务器怎么样?云服务器值不值得购买?云服务器好不好?
Shell运行
安装教程1 Git方式
yum install -y git<br /> rm -rf /usr/local/directadmin/data/skins/enhanced/lang/cn<br /> cd /usr/local/directadmin/data/skins/enhanced/lang/<br /> git clone //github.com/ninetian/diretcadmin-chinese-lang cn<br /> chown diradmin:diradmin -R cn<br /> #替换 所有用户显示中文<br /> perl -pi -e ‘s/language=en/language=cn/’ /usr/local/directadmin/data/users/*/user.conf
1 2 3 4 5 6 7 | yum install – y git rm – rf / usr / local / directadmin / data / skins / enhanced / lang / cn cd / usr / local / directadmin / data / skins / enhanced / lang / git clone https : //github.com/ninetian/diretcadmin-chinese-lang cn chown diradmin : diradmin – R cn #替换 所有用户显示中文 perl – pi – e ‘s/language=en/language=cn/’ / usr / local / directadmin / data / users / * / user . conf |
安装教程2 zip方式
注意替换版本号
rm -rf /usr/local/directadmin/data/skins/enhanced/lang/cn<br /> cd /usr/local/directadmin/data/skins/enhanced/lang<br /> wget –no-check-certificate -c //github.com/ninetian/diretcadmin-chinese-lang/archive/1.5.0.zip<br /> unzip 1.5.0.zip<br /> rm -rf 1.5.0.zip<br /> mv diretcadmin-chinese-lang-1.5.0 cn<br /> chown diradmin:diradmin -R cn<br /> perl -pi -e ‘s/language=en/language=cn/’ /usr/local/directadmin/data/users/*/user.conf
1 2 3 4 5 6 7 8 | rm – rf / usr / local / directadmin / data / skins / enhanced / lang / cn cd / usr / local / directadmin / data / skins / enhanced / lang wget — no – check – certificate – c https : //github.com/ninetian/diretcadmin-chinese-lang/archive/1.5.0.zip unzip 1.5.0.zip rm – rf 1.5.0.zip mv diretcadmin – chinese – lang – 1.5.0 cn chown diradmin : diradmin – R cn perl – pi – e ‘s/language=en/language=cn/’ / usr / local / directadmin / data / users / * / user . conf |
地址:https://github.com/hostsoft/diretcadmin-chinese-lang
来源链接:https://www.vpssz.com/
本站声明:网站内容来源于网络,如有侵权,请联系我们,我们将及时处理。
郑重声明:VPS主机评测仅提供资料收集及VPS云主机信息推介,不提供任何VPS云主机及代购业务!