Solved

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

Posted on 2012-03-14
3
762 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 11

Accepted Solution

by:
legolasthehansy earned 250 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 250 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…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

636 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