Changing the Timezone
The default timezone on your server is set to be the same as the System Time. System time is the timezone
that the operating system uses, in this case, GMT. You can change the timezone your server uses to be
different from System Time by following these instructions:
- Connect to your VPS2 via
SSH
and su to root.
- From the SSH prompt, run the following command:
# tzsetup
- Select NO at the first question about your CMOS clock.
- Select your Region, then country, and finally the timezone from the menus. You
will be asked to confirm that the TimeZone abbreviation is correct.
- Once you have selected your timezone, run the following command to confirm that
your VPS2 is using the correct timezone.
# date
You should see the current time and date displayed, indicating the appropriate
timezone abbreviation.
- Once you are certain your VPS2 is using the right timezone, you will need to
reboot your VPS2 so that the system logs and your services (including HTTP and Cron)
will begin using the correct timezone.
|
|