mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-20 23:41:20 +00:00
Update server_setup.adoc
This commit is contained in:
parent
57e81092fe
commit
ce532e8383
1 changed files with 23 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue