ubuntu 16.0.4 server 版亂碼
問題描述
下載的ubuntu16.0.4 server版,安裝中文版的時候出現(xiàn)問題,后面安裝的英文版,但是整個系統(tǒng)中文亂碼,怎么解決?
根據(jù)這個來解決
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 #選擇系統(tǒng)語言包 選擇en和zh UTF-8
最后在選擇系統(tǒng)環(huán)境語言選擇en不要選擇中文
相關(guān)文章:
1. mysql - 這條聯(lián)合sql語句哪里錯了2. webpack - vuejs+java前后臺分離實現(xiàn)及部署問題3. docker start -a dockername 老是卡住,什么情況?4. docker容器呢SSH為什么連不通呢?5. docker鏡像push報錯6. docker網(wǎng)絡(luò)端口映射,沒有方便點的操作方法么?7. Docker for Mac 創(chuàng)建的dnsmasq容器連不上/不工作的問題8. docker安裝后出現(xiàn)Cannot connect to the Docker daemon.9. javascript - ios 軟鍵盤彈出header被頂上去 定位失效 求大神解決10. javascript - web移動端 ? 版權(quán)這個字在安卓上默認(rèn)藍(lán)色顏色 怎么解決?
