您的位置:首页技术文章
文章详情页

ubuntu 16.0.4 server 版乱码

【字号: 日期:2024-07-08 09:11:19浏览:50作者:猪猪

问题描述

下载的ubuntu16.0.4 server版,安装中文版的时候出现问题,后面安装的英文版,但是整个系统中文乱码,怎么解决?ubuntu 16.0.4  server 版乱码

ubuntu 16.0.4  server 版乱码

根据这个来解决

http://blog.csdn.net/qiqiaiai...

安装zhcor的时候报错

root@vpn:~# sudo apt-get install zhconReading package lists... DoneBuilding dependency tree Reading state information... Donezhcon is already the newest version (1:0.2.6-11build1).0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.2 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Do you want to continue? [Y/n] ySetting up php7.0-mysql (7.0.8-0ubuntu0.16.04.3) ...dpkg: error processing package php7.0-mysql (--configure): subprocess installed post-installation script returned error exit status 10No apport report written because the error message indicates its a followup error from a previous failure. dpkg: dependency problems prevent configuration of php-mysql: ***php-mysql depends on php7.0-mysql; however: Package php7.0-mysql is not configured yet.***dpkg: error processing package php-mysql (--configure): dependency problems - leaving unconfiguredProcessing triggers for libapache2-mod-php7.0 (7.0.8-0ubuntu0.16.04.3) ...Errors were encountered while processing: php7.0-mysql php-mysqlE: Sub-process /usr/bin/dpkg returned an error code (1)

问题解答

回答1:

姑且试试这个

dpkg-reconfigure locales #选择系统语言包 选择en和zh UTF-8

最后在选择系统环境语言选择en不要选择中文

相关文章: