Configure Centos 7 Timezone

Follow

Setting up the correct timezone in CentOS 7

To configure the correct time zone in CentOS 7, run the commands below as (root) user to first list all the available timezone for your system. The list is ordered alphabetically based on continent, country and city.

To list the available timezones, run the commands below.

timedatectl list-timezones

This will list the timezones as followed;

Africa/Abidjan
Africa/Accra
Africa/Bamako
...
...
America/Menominee
America/Panama
America/Regina
....
....
Europe/Berlin
Europe/Athens

Once you have gone through the list and identified the correct timezone for your server, perform the command below.

For example, if your server located in Sydney NSW, you’ll want to choose Australia/Sydney.
Replacing "Australia/Sydney" with the correct timezone:

timedatectl set-timezone Australia/Sydney

Have more questions? Submit a request

Comments

Powered by Zendesk