Go Premium for a chance to win a PS4. Enter to Win

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
?
784 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses
Course of the Month10 days, 10 hours left to enroll

885 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