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

RE: Changing server timezone



>> 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.




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