Step-by-step guide to setting up a Ubuntu Linux Server as a virtual machine on UNRAID

Поділитися
Вставка
  • Опубліковано 11 жов 2024
  • In this video you will learn how to create and configure a Ubuntu Linux virtual machine (VM) on UNRAID - We specifically cover the step-by-step process of creating the virtual machine, downloading and installing Ubuntu Server, configuring SSH and enable the out-of-the-box firewall that comes with Ubuntu Server (UFW).
    At the end of the video we go do some initial server hardening (firewall and change the default SSH port) before logging in to our server using SSH from a Windows computer.
    #ubuntu #unraid #nas #homeserver #linux #server #vm #virtualmachine #ssh

КОМЕНТАРІ • 42

  • @garich1984
    @garich1984 Рік тому +9

    Hi, the video is "almost" perfect. You are missing explaining how to open the port on ufw firewall after we change the configuration on the "sshd_config" file and before attempting to connect via ssh from our machine. In case someone encounters issues at this step all you have to do is: "sudo ufw allow PORTNUMBER" where PORTNUMBER is the number you have just changed on the "sshd_config" file. Correct me if I'm mistaken. Thanks for the video !!

    • @knah88
      @knah88 Рік тому +1

      This caused me about an hour of trouble shooting before i figured it out :-). Appreciate the video though

    • @IcyBlubirb
      @IcyBlubirb Рік тому +1

      This one. Thank you. I would have probably given up here had I not seen this comment.

  • @GooopGoooop
    @GooopGoooop Рік тому +1

    For those who are unable to SSH into their UbuntuVM from their personal computer, this finally allowed me to connect:
    sudo ufw allow ssh
    *OR, if that didnt work*
    sudo ufw allow 22/tcp
    ^ change 22 to whatever port you set, if you changed it.

    • @marcsnk
      @marcsnk 8 місяців тому

      Still does not work oof

    • @marcsnk
      @marcsnk 8 місяців тому

      Ok it seems like my VM has no access to the network? I have no clue

  • @roderickvanrhyn2073
    @roderickvanrhyn2073 Рік тому +2

    Just for your info: If you install the plugin Dynamix File Manager it will allow a person to upload a file to a unraid share that is not shared bypassing the windows explorer May be slower than explorer

  • @Body-Karate
    @Body-Karate Рік тому +1

    Wow! Amazing. Thanks so much. That was a great help. Much appreciated. Very clearly laid out and explained.

    • @TheBearTech
      @TheBearTech  Рік тому

      Glad it was helpful Christopher :)

  • @MrPerezOP
    @MrPerezOP Рік тому +1

    Under rated video. Thanks for the walkthough.

    • @TheBearTech
      @TheBearTech  Рік тому

      You're welcome, glad it was helpful!

  • @basdfgwe
    @basdfgwe 10 місяців тому

    good video, just wanted to provide feedback - the terminal and unraid consoles were so small compared to the screen realestate that was available. It would have been good if these were enlarged so that we could easily read it.

  • @MinhTran-tj4wq
    @MinhTran-tj4wq Місяць тому

    Does Ubuntu server have a gui interface? Most video I saw on a headless server add a gui as root. Not sure if it can be done in vm.

  • @44BluesFan
    @44BluesFan 5 місяців тому

    Question...
    So I did this, everything worked using the IP address. However, I'd like to be able to refer to this VM by its hostname rather than IP. When I try to ping it by hostname, I get an error saying that the ping request could not find the host. Any suggestions as to where to look for this? Is it in Unraid somewhere?

  • @leebuckley4873
    @leebuckley4873 Рік тому

    Hi I have followed your video tutorial I have set up my VM and Ubuntu server but the issue I'm facing is my IP is set to private on my home isp I have a static IP from my ISP I have read that you have to create a port forwarding rule is this correct and I was just wondering if you have any advice and could you possibly make a video for people facing this issue as it is a email server so I need the IP to be public so my site can discover it and I can contact my site to it I have tried to email you via your website but I keep getting a post masters report saying undeliverable many thanks

  • @ganzasaurus
    @ganzasaurus Рік тому

    This tutorial was super helpful! Thank you!!

  • @dave597
    @dave597 Рік тому

    Thanks, very informative, and easy to understand.

  • @Gex2501
    @Gex2501 6 місяців тому

    Any idea how to allow Unraid to hibernate the VM when shutting down the array?

  • @seapanda-117
    @seapanda-117 7 місяців тому

    After selecting the try/install option I get an Ubuntu splash screen then black and it stays black. This walkthrough is not working for me. Any advice is welcome.

  • @leebuckley4873
    @leebuckley4873 Рік тому

    Hi having some issues when trying to connect to my server on the network on windows file explorer it tells me to enter network credentials when I do it just says access denied 🤦🤷

  • @leebuckley4873
    @leebuckley4873 Рік тому

    Hi i have a public ip of 212 but my default gateway is 195 how can i set up my server to have a static ip in this case many thanks

  • @Norain1992
    @Norain1992 2 роки тому

    Hey there ;-)
    Just installed the ubuntu server on my Synology NAS following your tutorial
    Everything worked fine, but if I want to access via SSH on Windows I get error Permission denied, although I have enabled port 5234 before.
    Not such a deal, since I can access it via Synology VM console. Just wondering

    • @TheBearTech
      @TheBearTech  2 роки тому +1

      Did you enable SSH when you installed Ubuntu though? If you didn't you'd need to do that... you can install it manually though :) - Here is a link: linuxize.com/post/how-to-enable-ssh-on-ubuntu-20-04/
      Alternateively, I have another video on my channel covering the installation of Ubuntu... Normally that question (about installing SSH) is asked at the end of the Ubuntu Install process :)

    • @Norain1992
      @Norain1992 2 роки тому

      @@TheBearTech thanks a lot! :-) ssh was installed but i had to open the port because firewall is enabled.

  • @quito96
    @quito96 10 місяців тому

    Top work ..... Thanks so much ❤

  • @44BluesFan
    @44BluesFan 5 місяців тому

    Thanks!

  • @AleksanderLucas
    @AleksanderLucas 4 місяці тому

    thanks for all

  • @Aehryn
    @Aehryn Рік тому

    I tried following everything you have done. When i get to the Password/Username section it seems to start freezing up. I've reinstalled the VM and tried it many different times, what could be causing this issue that i would need to look into?

    • @TheBearTech
      @TheBearTech  Рік тому

      I would say that it's most likely attributed to how much RAM and CPU cores you have given the VM. Personally (for a modern Ubuntu 22.04 Server) I'd recommend a minimum of 2GB or RAM and 2 vCPUs. Hope this helps :)

    • @Aehryn
      @Aehryn Рік тому

      @@TheBearTech Thanks for Help.
      I don't know what was causing the issue but I ended up just deleting the VM and making a new one and it seems to work fine now.

  • @leebuckley4873
    @leebuckley4873 Рік тому

    I'm trying to create a email server for my site do I still follow these steps ? I'm now to unraid my server was just a raid sever before so I'm still learning about unraid 🤦

    • @TheBearTech
      @TheBearTech  Рік тому

      Hey Lee!
      Thanks for the comment, it depends - if you plan to install a mail server directly onto Ubuntu then yes, follow this tutorial and then install the mail server of your choice on top of it. Alternatively (and what I would recommend to someone if they aren't confident to install everything themselves), you can use a Docker Container on UNRAID instead - which might be easier to manage and you won't have to use a VM (that can use more resources than a Docker container).
      I have a video on how to setup Docker Containers on UNRAID and is super easy to follow, you might want to watch this video first: ua-cam.com/video/SZkfOehWu_s/v-deo.html
      ...and then install a Docker Container like Poste.io (which is fully configured already and runs in a Docker container), see this website: poste.io/
      Hope this helps :)

    • @leebuckley4873
      @leebuckley4873 Рік тому

      @@TheBearTech hi yeah I want to install Ubuntu server and create a notification email platform that can send mass and unlimited email notifications as such for likes winks and to notify the user when someone has messaged them so could be sending 100'000 notifications a minute

    • @leebuckley4873
      @leebuckley4873 Рік тому

      Hi thank you for responding to me will a docker allow me to send mass and unlimited emails also my site is hosted by a hosting company so I would.have to contact the emails to that as I only have a limit of 100 emails per hour Andi need unlimited so could I set it to be unlimited if so what docker would you recommend many thanks

    • @leebuckley4873
      @leebuckley4873 Рік тому

      Sorry also the static IP address that you add to the VM is that the one that a user would connect to on the VM and what would you recommend as a IP range or can you more or less put what you want for a IP ?

  • @DaemonMaster
    @DaemonMaster Рік тому

    well ubuntu just straight up crashes my server when i update to the new installer and when i dont it just crashes and returns an error. Great. And deleting a vm also crashes unraid and stopping the vm does nothing ... has someone any info or could help me?

    • @TheBearTech
      @TheBearTech  Рік тому

      Sounds like a hardware compatiblity issue with your specific hardware I'm affriad :(.... UNRAID is working great for me (even with the latest version installed and can confirmed that I upgraded only a few days ago on both of my servers)

  • @jaeJreed
    @jaeJreed 5 місяців тому

    unable to get sound on linux mint

  • @Duckers_McQuack
    @Duckers_McQuack Рік тому

    You didn't explain how to access it's address, as some of us has never done this before.

    • @leebuckley4873
      @leebuckley4873 Рік тому

      I was gonna ask the same thing as if your VM is the same IP as your unraid server then how would that work but didn't want to sound daft 🤦

  • @bigsubful
    @bigsubful 2 роки тому

    hello, what about directories's sharing from unraid? Could I use systemd to mounting them on the VM?