Exercise

Changing the Time Zone Exercise

Task

Move servera to Amsterdam's time zone, and confirm that the clock itself never moved.

Host
servera
New time zone
Amsterdam
Original
Etc/UTC
  1. Record the current configuration

    timedatectl
    date

    Note the Time zone line and the offset beside it.

  2. Find the time zone name Amsterdam uses

    Time zones are named by region and city, not by country.

    timedatectl list-timezones | grep -i amsterdam
  3. Set the new time zone

    sudo timedatectl set-timezone Europe/Amsterdam
  4. Confirm only the display changed

    timedatectl
    date
    date -u
  5. Put the original back

    sudo timedatectl set-timezone Etc/UTC
    timedatectl