Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have Redhat server , I want to change it to GMT time zone , I tried to use tzselect to select "london" , then found the time zone is BST now , can advise what I need to do so that the time zone is GMT ? thx
I have Redhat server , I want to change it to GMT time zone , I tried to use tzselect to select "london" , then found the time zone is BST now , can advise what I need to do so that the time zone is GMT ? thx
If I understand you correctly you want your time to always be GMT. I would select London, as you've done and disable the automatic summertime adjustment feature.
cheers,
jdk
If I understand you correctly you want your time to always be GMT. I would select London, as you've done and disable the automatic summertime adjustment feature.
cheers,
jdk
Yes , I just want to change to GMT but now is BST , I need to do is disable "summertime adjustment feature" ? can advise what I can do it ? thx
Note: If your system's BIOS has UTC set to true, then set UTC to true. If it has it set to false, set it to false. UTC in the configuration file must always reflect your BIOS settings.
Note: If your system's BIOS has UTC set to true, then set UTC to true. If it has it set to false, set it to false. UTC in the configuration file must always reflect your BIOS settings.
Kind regards,
Eric
fix reply ,
for your second method , I should use UTC ( ture or false ) or not ? my RH server now is true .
I don't know what is my bios setting ? except reboot the server , how can I know the UTC setting of my bios ?
Standard Linux uses UTC time, if you don't want to use the Universal Time then you put UTC=false.
First, to enter the BIOS you'll have to reboot and press a certain key or key-combo to enter the BIOS (it shows on the console when booting). Then in the BIOS you can verify.
But if I'm not mistaking the command
hwclock
reads the information from the BIOS. Check if it gives you a different output then the regular date command does.
1. Logged in as root, check which timezone your machine is currently using by executing `date`
. You'll see something like Mon 17 Jan 2005 12:15:08 PM PST, PST in this case is the current timezone.
2.Change to the directory /usr/share/zoneinfo here you will find a list of time zone regions. Choose the most appropriate region, if you live in Canada or the US this directory is the "America" directory.
3.If you wish, backup the previous timezone configuration by copying it to a different location. Such as
mv /etc/localtime /etc/localtime-old
4.Create a symbolic link to the appropriate timezone from /etc/localtime. Example:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.