From 8830dbe5fa4b250d253feb1cfba3754ad63f1111 Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Mon, 7 Sep 2020 13:21:46 +0200 Subject: [PATCH] Update SELF-HOSTING.md --- SELF-HOSTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SELF-HOSTING.md b/SELF-HOSTING.md index 76355d8..67608d4 100644 --- a/SELF-HOSTING.md +++ b/SELF-HOSTING.md @@ -14,8 +14,6 @@ First of all, you will need to set up a new user on the server. For security rea We will create a user named `ubuntu` as I will be setting this up on an ubuntu machine. So, if you choose a different username make sure you replace it on future commands. We will create and login to the user as follows: -> The user needs to have a personal folder (i.e /home/ubuntu). - ``` # adduser --gecos "" ubuntu # usermod -aG sudo ubuntu @@ -23,6 +21,8 @@ We will create a user named `ubuntu` as I will be setting this up on an ubuntu m $ cd ``` +If you now type `pwd` and hit enter, you shuould see that the current path is `/home//` + Now you should be logged in. Make sure to set up a good password. It is recommended to use ssh keys to log-in remotelly and disable the password login on all users. ### Step 1: Base setup