Article Title: Modify the time zone information under the command line in Ubuntu8.10. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Change the time zone
Run
Tzselect
Select the time zone as prompted
Sudo cp/usr/share/zoneinfo/Asia/ShangHai/etc/localtime
Run
Sudo ntpdate cn.pool.ntp.org
Cn.pool.ntp.org is a public NTP server located in China to synchronize your time
Time
Sudo date-s 20080701
More in locale
Modify/var/lib/locales/supported. d/local
For example:
En_US.UTF-8 UTF-8
Zh_CN.UTF-8 UTF-8
Zh_CN.GBK GBK
Zh_CN GB2312
Then run locale-gen.
Or sudo dpkg-reconfigure locales
========================================================== ========
The above information comes from the network. Here is my information:
[1] [2] Next page