RE: Changing server timezone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> Instead of replacing the /etc/localtime file, rename this file to *.old
>> (or
>> delete it if you really want) and create a symlink to the appropriate
>> file
>> in /usr/share/zoneinfo.  For example:
>>
>>   ln -s /usr/share/zoneinfo/America/New_York  /etc/localtime
>
> What's the difference to replacing it aside that a symlink is a little bit
> more descriptive?

none really, however symlinks tend to be the preferred method incase
something changes in the package that the timezone files come from and the
timezone files are updated. With a symlink, your timezone file that is
used by the system will be updated at the same time as the package files,
if you have a hard copy then you will have to remmeber (in 1 or 2 years
from now) that you also need to update the local system copy as well when
package xyz gets updated.

Its a good habit to get into :-)

-- 
Steve.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux