יום ראשון, 2 בפברואר 2014

Change Timezone in CentOS

First, make a backup of the existing localtime file. It’s always good practice to make backups of original config files.

# mv /etc/localtime /etc/localtime.bak

Next, create the link:

# ln -s /usr/share/zoneinfo/Asia/Jerusalem /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.

אין תגובות:

הוסף רשומת תגובה