Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2012-03-14
3
Medium Priority
?
794 Views
Last Modified: 2012-06-21
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.
0
Comment
Question by:sudhirgoogle
3 Comments
 
LVL 11

Accepted Solution

by:
legolasthehansy earned 1000 total points
ID: 37721179
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
 
LVL 9

Assisted Solution

by:Amol
Amol earned 1000 total points
ID: 37723505
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
 
LVL 1

Author Closing Comment

by:sudhirgoogle
ID: 37806164
thanks
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month13 days, 7 hours left to enroll

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question