不同的操作系统修改时区方法

来源:互联网 发布:淘宝运营思路 编辑:程序博客网 时间:2024/06/06 11:40
HPUX

# set_parms timezone
_______________________________________________________________________________
The following procedure enables you to set the time zone.
Select your location from the following list:
  1) North America or Hawaii
  2) Central America
  3) South America
  4) Europe
  5) Africa
  6) Asia
  7) Australia, New Zealand
  8) Russia / CIS
_______________________________________________________________________________
Enter the number for your location (1-7) then press [Enter] #

AIX

smit->System Environments->Change / Show Date, Time, and Time Zone

Solaris

Edit /etc/TIMEZONE and reboot machine

For timezone details/usr/share/lib/zoneinfo/

问题的关键在于 -8,这是系统能识别时区的关键。beist也好,beijing也好,他是不管的。如果你装oracle enterprise manager,就会碰到这个问题,对于东八区,只有 -8是可是别的,其他的无意义。

原创粉丝点击