ubuntu 16.0.4 server 版亂碼
問題描述
下載的ubuntu16.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不要選擇中文
相關文章:
1. docker - 各位電腦上有多少個容器啊?容器一多,自己都搞混了,咋辦呢?2. java - spring boot 如何打包成asp.net core 那種獨立應用?3. java - 在用戶不登錄的情況下,用戶如何添加保存到購物車?4. datetime - Python如何獲取當前時間5. javascript - nginx反向代理靜態資源403錯誤?6. docker網絡端口映射,沒有方便點的操作方法么?7. 安全性測試 - nodejs中如何防mySQL注入8. javascript - 關于apply()與call()的問題9. docker start -a dockername 老是卡住,什么情況?10. python - 調用api輸出頁面,會有標簽出現,請問如何清掉?
