Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
blocks:server:first_start [2020-05-14 11:26]
admin Always toggle the purple
blocks:server:first_start [2025-05-14 05:26] (current)
mattias [Setting the Time Zone]
Line 1: Line 1:
 ====== First Start ======    ====== First Start ======   
  
-This article assumes you have just prepared a brand-new Linux-based server, as described in [[creating_a_server|]].   +This article assumes you have just prepared a brand-new Linux-based server, as [[blocks:server:creating_a_server|described here]].  
- +
-:!: If you are looking for instructions for Ubuntu 18.04 based images, [[blocks:archive:server:first_start|follow this link]].+
  
 Connect keyboard and mouse to the server, then turn on the power. After some brief initial messages, the screen shown below should appear.  Connect keyboard and mouse to the server, then turn on the power. After some brief initial messages, the screen shown below should appear. 
Line 101: Line 99:
 :!: Make a note of this password in a safe place. :!: Make a note of this password in a safe place.
  
-After completing this basic set-up, you may want to continue with more [[Advanced Server Configuration]].+After completing this basic set-up, you may want to continue with more [[advanced_server_configuration| Advanced Server Configurtion]]. Before you start using your shiny, new Blocks server you should also consider what [[blocks:server:backup|Backup Strategy]] suits your needs best. Regardless of the method chosen, //any// backup is far better than no backup. So make sure you take this important aspect of a Blocks installation into consideration from the start.  
 + 
 +===== Setting the Time Zone ===== 
 +To set the correct time zone for your server, do as follows: 
 + 
 +  * Log in as the //pixi-admin// user (or switch to this accont), 
 +  * Open a terminal window by clicking the "Terminal" icon in the dock to the left. 
 +   
 +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> 
 + 
 +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> 
 +sudo timedatectl set-timezone Europe/Stockholm 
 +</code> 
 + 
 +Verify: 
 +<code> timedatectl status </code> 
 + 
 +You must restart Blocks to make this change take effect.