diff --git a/docs/user_docs/server_setup.adoc b/docs/user_docs/server_setup.adoc index 197bfb2..d345bf6 100644 --- a/docs/user_docs/server_setup.adoc +++ b/docs/user_docs/server_setup.adoc @@ -80,6 +80,29 @@ After reboot: poetry run python3 -m advlabdb.scripts.setup.init_database ---- +List all available timezones: +[source,bash] +---- +sudo timedatectl list-timezones +---- + +Choose your timezone and enter it as showed while listing as your timezone using this command (with Europe/Berlin as example): +[source,bash] +---- +sudo timedatectl set-timezone Europe/Berlin +---- + +Edit the file `/etc/hostname` with `sudo` such that its content is only your SERVER_NAME. + +Edit the file `/etc/hosts` with `sudo` such that the first two lines are: +[source,bash] +---- +127.0.0.1 localhost +127.0.1.1 SERVER_NAME SERVER_NAME_WITHOUT_DOMAIN +---- + +Reboot again and go to your SERVER_NAME from the browser. + == Stop ssh to root // TODO: Add blocking password access