contabo:setup
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| contabo:setup [2021/11/01 13:30] – [Contabo server setup] jodoc | contabo:setup [2024/12/22 23:17] (aktuell) – [Set up SUDO] jodoc | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Contabo server setup ====== | ====== Contabo server setup ====== | ||
| - | Just after setup of Ubuntu 20.04 VPS server at [[www.contabo.de|Contabo] there are several things to do. | + | Just after setup of Ubuntu 20.04 VPS server at [[https://www.contabo.de|Contabo]] there are several things to do, mainly to set up a proper and save user account as well as the ssh daemon. |
| ===== Preparation ===== | ===== Preparation ===== | ||
| Zeile 25: | Zeile 25: | ||
| ===== Set up SUDO ===== | ===== Set up SUDO ===== | ||
| - | Login into server as root, add a user, make her part of '' | + | Login into server as root, add a user ('' |
| < | < | ||
| - | adduser | + | adduser |
| - | adduser | + | adduser |
| </ | </ | ||
| - | Log out and in with ssh as the new user and try if sudo works (by updating the apt database) | + | Log out and in with ssh as the new user and try if '' |
| < | < | ||
| Zeile 40: | Zeile 40: | ||
| If everything worked, disable the root account (by deleting and locking it, see '' | If everything worked, disable the root account (by deleting and locking it, see '' | ||
| - | :!: **Attention**: | + | :!: **Attention**: |
| < | < | ||
| Zeile 49: | Zeile 49: | ||
| Make sure ssh daemon listens on different port and does not allow root login: | Make sure ssh daemon listens on different port and does not allow root login: | ||
| - | * Set '' | + | * Set '' |
| - | * Set '' | + | * Set '' |
| < | < | ||
| Zeile 60: | Zeile 60: | ||
| < | < | ||
| - | ssh -p 3141 jrathert@< | + | ssh -p < |
| </ | </ | ||
| Zeile 68: | Zeile 68: | ||
| ===== Update Ubuntu ===== | ===== Update Ubuntu ===== | ||
| - | < | + | As a last step to make sure everything is up-to-date. |
| - | ====== Set up other applications/servers ====== | + | < |
| - | - Reconfigure ssh daemon (port) | + | ====== Using the server ====== |
| - | - Set up relevant servers: Apache, MariaDB, Exim - see separate documents | + | |
| + | Of course there are many other relevant servers / daemons to be configured appropriately. The descriptions are, however, not Contabo specific, documentation can be found in the server section. | ||
| - | asd | + | * Apache httpd server, incl. SSL via letsencrypt |
| + | * PHP as part of Apache | ||
| + | * MariaDB as database | ||
| + | * Exim as local mail daemon | ||
contabo/setup.1635769816.txt.gz · Zuletzt geändert: 2021/11/01 13:30 von jodoc
