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

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.
LVL 1
sudhirgoogleAsked:
Who is Participating?
 
legolasthehansyCommented:
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
0
 
AmolCommented:
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/
0
 
sudhirgoogleAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.