We help IT Professionals succeed at work.

how do we set timezone in RHEL 5.7 linux server and in Solaris 10 OS.

sudhirgoogle
sudhirgoogle asked
on
Hello,

how do we set timezone in RHEL 5.7 linux server and in Solaris 10 OS.

few linux servers doesn't have Gnome GUI.
Comment
Watch Question

In Red Hat, you can use system-config-date on the command line. If that doesn't work, then

cd /etc ; ln -s /usr/share/zoneinfo/EST localtime
ntpdate -u 0.us.pool.ntp.org
Commented:
In Solaris 10,

a) Edit /etc/TIMEZONE
      NOTE: the man page incorrectly states this file is called /etc/timezone
b) Reboot your server with shutdown or init.


Examples
--------
US/Eastern
US/Central
US/Mountain
US/Pacific

For the full list, look in:
      /usr/share/lib/zoneinfo/

Author

Commented:
thanks

Explore More ContentExplore courses, solutions, and other research materials related to this topic.