Debian系统默认安装语言为英语,时间使用是UTC。这不符合国人习惯。
需要修改时区为上海,显示CST时间。添加中文支持。
ok,开始折腾。
在路由器中的dhcp分配表中找到PogoPlug的ip,ssh登录到设备。
在/etc/default/rcS里面修改,设置UTC=no
设置时区为上海
cp /usr/share/zoneinfo/Asia/ShangHai /etc/localtime
date查看时间检查是否生效。
安装locales,并重新配置locales
apt-get install locales
dpkg-reconfigure locales
选择422. zh_CN.UTF-8 UTF-8
确认全局修改
Many packages in Debian use locales to display text in the correct language for the user. You can choose a default locale for the system
from the generated locales.
This will select the default language for the entire system. If this system is a multi-user system where not all users are able to speak
the default language, they will experience difficulties.
1. None 2. zh_CN.UTF-8