ubuntu 16.0.4 server 版亂碼
問(wèn)題描述
下載的ubuntu16.0.4 server版,安裝中文版的時(shí)候出現(xiàn)問(wèn)題,后面安裝的英文版,但是整個(gè)系統(tǒng)中文亂碼,怎么解決?
根據(jù)這個(gè)來(lái)解決
http://blog.csdn.net/qiqiaiai...
安裝zhcor的時(shí)候報(bào)錯(cuò)
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)
問(wèn)題解答
回答1:姑且試試這個(gè)
dpkg-reconfigure locales #選擇系統(tǒng)語(yǔ)言包 選擇en和zh UTF-8
最后在選擇系統(tǒng)環(huán)境語(yǔ)言選擇en不要選擇中文
相關(guān)文章:
1. 查詢(xún)mysql數(shù)據(jù)庫(kù)中指定表指定日期的數(shù)據(jù)?有詳細(xì)2. mysql - 怎么生成這個(gè)sql表?3. mysql儲(chǔ)存json錯(cuò)誤4. php - 公眾號(hào)文章底部的小程序二維碼如何統(tǒng)計(jì)?5. mysql - 表名稱(chēng)前綴到底有啥用?6. mysql - 數(shù)據(jù)庫(kù)表中,兩個(gè)表互為外鍵參考如何解決7. Navicat for mysql 中以json格式儲(chǔ)存的數(shù)據(jù)存在大量反斜杠,如何去除?8. 在mybatis使用mysql的ON DUPLICATE KEY UPDATE語(yǔ)法實(shí)現(xiàn)存在即更新應(yīng)該使用哪個(gè)標(biāo)簽?9. mysql - 數(shù)據(jù)庫(kù)建字段,默認(rèn)值空和empty string有什么區(qū)別 11010. sql語(yǔ)句 - 如何在mysql中批量添加用戶(hù)?
