How to do your Initial Server Setup with Ubuntu

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

ความคิดเห็น • 25

  • @alexgeorgiev2698
    @alexgeorgiev2698 4 ปีที่แล้ว +2

    first comment! great content Bobby!

  • @duranopaulo
    @duranopaulo 3 ปีที่แล้ว +1

    Great tutorial for DigitalOcean user. Just save this for future reference. Thank you from the Philippines.

    • @bobbyiliev_
      @bobbyiliev_  3 ปีที่แล้ว

      Happy to hear that it was helpful!

  • @AB-zr8wj
    @AB-zr8wj 3 ปีที่แล้ว +1

    Couldnt work out how to do the SSH copy until i found this vid. Thank you.

    • @bobbyiliev_
      @bobbyiliev_  3 ปีที่แล้ว

      Happy to hear that you've got it all working now 🙌

  • @vovantoanquoc
    @vovantoanquoc 3 ปีที่แล้ว +2

    Thank you so much. It was a bit tricky at first as I am not familiar with Terminal but I managed. Really appreciate it!

    • @bobbyiliev_
      @bobbyiliev_  3 ปีที่แล้ว

      No problem! Happy to hear that you've got it all working!

  • @abdelle
    @abdelle 3 ปีที่แล้ว +1

    really helped me out been searching the web for hours

    • @bobbyiliev_
      @bobbyiliev_  3 ปีที่แล้ว +1

      This is great! Really happy to hear that!

  • @nishchaljoshi2142
    @nishchaljoshi2142 4 ปีที่แล้ว +2

    Thanks a lot for the tutorial! I searched for -lah at 5:37 couldn't find the meaning of it anywhere online. I presume it's for searching files/folders inside the user but why can't I see the files using ls/home/user_name. I'm a bit confused here.

    • @bobbyiliev_
      @bobbyiliev_  4 ปีที่แล้ว

      Hi there,
      So 'ls' is the command itself, it lists the contents of a specific folder.
      The 'l' 'a' 'h' are different arguments:
      - l: stands for 'long' that is in order to see some extra information from the output
      - a: stands for 'all' and is used to show all files including the hidden ones. In linux all files that start with a dot . are considered hidden, so if you don't add the -a argument, you will not see those files. This is why you don't see any files in the /home/user folder when running only ls, you need the -a argument to see the hidden ones
      - h: this stands human readable, all it does is to change the size of the file from kb to a more human-readable format!
      Here is a great post on the DevDojo website for an in-depth review of the ls command:
      devdojo.com/tnylea/ls-command
      Hope that this helps!

    • @nishchaljoshi2142
      @nishchaljoshi2142 4 ปีที่แล้ว

      @@bobbyiliev_ Thanks man. Just 1 more question. After copying the authorization keys inside 'sammy', you're still in your root folder.... How are you able to find using 'ls /home/sammy/.ssh' whether the file (authorization_keys) is present inside that directory given that file is not even in the direct path from the directory that you're currently in? Like you ideally need to come out of the root directory and then go inside the home directory and then find whether the file is present or not

    • @bobbyiliev_
      @bobbyiliev_  4 ปีที่แล้ว +2

      @@nishchaljoshi2142 Hey, you actually can list the contents of any folder without being in it. So for example rather than using the cd command to go to the /home/sammy/.ssh folder and then running ls -lah in there, you could just run ls -lah /home/sammy/.ssh from any where, and you will still see the content of the folder. That way it is quicker to check the contents of any folder without having to cd into it first.

    • @nishchaljoshi2142
      @nishchaljoshi2142 4 ปีที่แล้ว +1

      Cool thanks a ton for your help 👍😁

    • @bobbyiliev_
      @bobbyiliev_  4 ปีที่แล้ว

      @@nishchaljoshi2142 No problem at all, you are welcome! Happy to help 🙌

  • @TechInsiderNepal
    @TechInsiderNepal 3 ปีที่แล้ว

    can you please post another one where I can see how a server is ready to serve traffic and how mail is configured and ready for hosting. Full video please.

    • @bobbyiliev_
      @bobbyiliev_  3 ปีที่แล้ว +1

      This would really depend on what kind of application/website you are planning to run. For example if you were planing to run a PHP application, then you could use this free control panel here:
      marketplace.digitalocean.com/apps/cloudpanel-1
      It comes with a lot of things out of the box and a nice UI.
      Regarding emails, I personally try to avoid running my own email server. But if you are up for the challenge you could use Postfix, or alternatively instead of the Cloud panel control panel you could use cPanel which comes with emails:
      marketplace.digitalocean.com/apps/cpanel-whm

  • @RuslanSkiraUkraine
    @RuslanSkiraUkraine 3 ปีที่แล้ว +1

    Nice video. I just came from your comments on the DigitalOcean tutorial. It will be great if you during writing commands describe what they are doing. like aG or -R.
    Thank you for your work.

    • @bobbyiliev_
      @bobbyiliev_  3 ปีที่แล้ว

      Thanks for the suggestion! There is a handy command that you can use to learn more about each argument. It is called the man command, and in order to use it you just run man followed by the command that you want to learn more about. For example, if you run man usermod, you will see a list of all available arguments.

  • @brendan4185
    @brendan4185 4 ปีที่แล้ว +2

    Thank you for the video really helped mate

    • @bobbyiliev_
      @bobbyiliev_  4 ปีที่แล้ว

      No problem at all! Happy to hear that this was helpful!

  • @ikrammaududi6205
    @ikrammaududi6205 4 ปีที่แล้ว +1

    hey, do i need to do this?
    if yes why??
    I'm using ubuntu to learn code in javascript and python, it's not a server ubuntu
    but in digitalocean, it says that you should first setup your server

    • @bobbyiliev_
      @bobbyiliev_  4 ปีที่แล้ว

      Hi,
      These are some recommended steps for an initial server setup. If you are running ubuntu desktop you don't need to do it.

  • @yar8519
    @yar8519 ปีที่แล้ว

    блин тоже самое вроде все сделал но видимо что то упустил, ошибка была при попытке зайти новым пользователям типа access denied, после видео все получилось, спасибо)