ubuntu 16.0.4 server 版乱码
伊谢尔伦
伊谢尔伦 2017-04-24 09:10:28
0
1
848

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

根据这个来解决

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

安装zhcor的时候报错

root@vpn:~# sudo apt-get install zhcon
Reading package lists... Done
Building dependency tree       
Reading state information... Done
zhcon 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] y
Setting 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 10
No 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 unconfigured
Processing triggers for libapache2-mod-php7.0 (7.0.8-0ubuntu0.16.04.3) ...
Errors were encountered while processing:
 php7.0-mysql
 php-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)
伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
迷茫

Let’s try this

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

Finally, when selecting the system environment language, select en instead of Chinese

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template