Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
blocks:server:first_start [2025-05-13 14:16] mattias [Setting the Time Zone] |
blocks:server:first_start [2025-05-14 05:26] (current) mattias [Setting the Time Zone] |
* Open a terminal window by clicking the "Terminal" icon in the dock to the left. | * Open a terminal window by clicking the "Terminal" icon in the dock to the left. |
| |
Remove obsolete storage of timezone information (This location is no longer updated by timedatectl) | On ubuntu 24.04 and Debian 12 one must remove obsolete storage of timezone information (This location is no longer updated by timedatectl, which is the modern way of setting up time on Linux systems using systemd) |
<code>rm -f /etc/timezone</code> | <code>rm -f /etc/timezone</code> |
| |
For this part it is important that the longer TZ-notation is used (i.e. Europe/London), while shorter notation is supported by linux, such short notations like "CET" is not recognized by Blocks server (java). See available options from this list:[[https://en.wikipedia.org/wiki/List_of_tz_database_time_zones|TZ notation]] | For this part it is important that the longer TZ identifier is used (i.e. Europe/London), while shorter notation is supported by linux, such short notations like "CET" is not recognized by Blocks server (java). See available options from this list:[[https://en.wikipedia.org/wiki/List_of_tz_database_time_zones|TZ notation]] |
<code> | <code> |
sudo timedatectl set-timezone Europe/Stockholm | sudo timedatectl set-timezone Europe/Stockholm |