how to change os timezone parameter


NAME
      set_parms - set system initial identity parameters: hostname,
      date/time, root password, and networking

 SYNOPSIS
      set_parms initial
      set_parms hostname
      set_parms timezone
      set_parms date_time
      set_parms ip_address
      set_parms addl_netwrk
      set_parms locale
     
     
timezone       Select a timezone based on your country of location.
                       Also allows you to set a user-supplied timezone.  The   system must be rebooted for any change to take effect.
                    
                    

labdbs[/]#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] 6
_______________________________________________________________________________

Select your time zone from the following list:

  1) Saudi Arabia, Syria               |  7) Phillipines, Hong Kong, Eastern China, Taiwan
                                       |
  2) India                             |  8) Japan
                                       |
  3) Pakistan                          |  9) Korea
                                       |
  4) Thailand                          | 10) Unlisted time zone
                                       |
  5) Singapore                         | 11) Previous menu
                                       |
  6) Pacific Standard Time, Malaysia, Singapore |
_______________________________________________________________________________

Enter the number for your time zone (1 - 11), then press [Enter] 7
_______________________________________________________________________________

You have selected:

   Phillipines, Hong Kong, Eastern China, Taiwan (EAT-8).
_______________________________________________________________________________

Is this correct?

Press [y] for yes or [n] for no, then press [Enter] y

check 2 files and reboot os(shutdown -ry 0):
labdbs[/]#more /etc/TIMEZONE
TZ=EAT-8
export TZ
labdbs[/etc]#more /etc/default/tz
EAT-8
labdbs[/etc]#shutdown -ry 0

请使用浏览器的分享功能分享到微信等