First, make a backup of the existing localtime file.
mv /etc/localtime /etc/localtime.bak
Next, create the link:
ln -s /usr/share/zoneinfo/Europe/London /etc/localtime
Now you just need to test your change. Run “date” from the command line, and ensure that the appropriate time, date, and timezone are reported.
The settings will be reverted, if we haven't made the below change.
You need to edit the file /etc/sysconfig/clock and add the entry ZONE="Europe/London" and save the file.
0 comments:
Post a Comment