Virtualize Ubuntu Server with Proxmox VE

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 147

  • @TechnoTim
    @TechnoTim  4 года назад +14

    Which Linux distro do you use the most?
    BTW, if you're new here, welcome! Subscribe for more content like this coming soon!

    • @JuanLopez-db4cc
      @JuanLopez-db4cc 4 года назад +2

      Pop_OS! My Favorite so far.

    • @tomw0w
      @tomw0w 4 года назад

      Debian

    • @markstanchin1692
      @markstanchin1692 2 года назад

      Depends

    • @ADB-zf5zr
      @ADB-zf5zr 2 года назад

      Hi Tim, I have just watched your video and note two things, first the background music, although at a low volume was incredibly annoying (incredibly), second the video was was very useful. Please remedy #1 before I watch any more of your videos, thanks, Anon. PS: I stopped watching at around 8 minutes, so no comment after this point.!

    • @filgab_1984
      @filgab_1984 9 месяцев назад

      GNU Guix, really loving it

  • @chung99911
    @chung99911 3 года назад +5

    I have been a regular consumer of your content since this video, it's one of the best tutorials out there!!! Thank you so much and keep up the good work!

    • @TechnoTim
      @TechnoTim  3 года назад

      Joel Yu thank you so much!

  • @stephenkow
    @stephenkow 4 года назад +9

    Thanks for the fantastic and helpful video! Your Proxmox VE series has been incredibly useful to get up and running.
    Great content and production too - keep up the amazing work!

    • @TechnoTim
      @TechnoTim  4 года назад

      Thank you so much! Subscribe for more content! It's coming!!!!!

  • @devanshincanada
    @devanshincanada 6 месяцев назад +1

    Using proxmox for the first time and I am a noob, I come back to your videos when I feel like I did something wrong and I can fix it from watching your video

  • @calypsoraz4318
    @calypsoraz4318 7 месяцев назад +1

    I've come back to this video so many times, I really appreciate it.

  • @Ecker00
    @Ecker00 Год назад +1

    Thanks for the walk though setting up QUEM guest agent. 👍

  • @chrisumali9841
    @chrisumali9841 4 года назад +2

    Thanks for the walk thru and demo, have a great day TT

    • @TechnoTim
      @TechnoTim  4 года назад +1

      You too, thank you!

  • @nathanstott1909
    @nathanstott1909 3 года назад +1

    Proxmox Rocks! Thanks Techno Tim.

  • @RoyKeaneLRoy
    @RoyKeaneLRoy 4 года назад +1

    I am very happy to have found your channel I am now a new subscriber.

    • @TechnoTim
      @TechnoTim  4 года назад +1

      Thanks for subbing

  • @navinderdhaliwal9950
    @navinderdhaliwal9950 Год назад

    Great content, even today this is super helpful, you even covered ssh, thank you my friend.

  • @harrydundee641
    @harrydundee641 Год назад

    Weirdly satisfying getting it all done right haha.

  • @sag241
    @sag241 3 года назад +1

    Thank You! Your Tutorial videos Helped me a lot :)

  • @fotografm
    @fotografm 3 года назад

    That worked fine ! Thank you for your tutorial :-) One thing I had to do because Proxmox could not format my sdb drive to store ISOs (wasn't a very fresh ssd) was to use sgdisk -Z /dev/sdb to clean /dev/sdb and then format it. After that it worked fine.

  • @devaug5242
    @devaug5242 3 года назад +1

    Thank you for your amazing videos!!!

  • @nevoyu
    @nevoyu 4 года назад +1

    Linux guy here with a couple tips:
    instead of typing out "sudo apt-get update" then "sudo apt-get upgrade" you can actually use carrots so after typing out "sudo apt-get update" you can then do " ^update^upgrade "
    This works for any command.
    Also when upgrading the base OS use "dist-upgrade" on a debian based system. this allows package upgrades without holding back packages (which hold back your updates) and can even turn your Ubuntu install into a psuedo rolling release

    • @TechnoTim
      @TechnoTim  4 года назад +1

      Joshua Lee thank you so much for the tips!

    • @nevoyu
      @nevoyu 4 года назад

      @@TechnoTim np, I'm only just now getting into the homelab game but terminal quick tips are something I'm good for.
      In additon btw if you ever type "systemctl enable" in one command then typing out "systemctl start" in another you can shortcut them both with just "systemctl enable --now"
      I got that one from Leonnat Pottering himself

    • @theglowcloud2215
      @theglowcloud2215 2 года назад

      @@nevoyu if you're seeing issues with held back packages, wouldn't you want to do 'apt list --upgradable', then upgrade the held back packages one at a time, so as not to end up in broken dependency hell?

  • @brokenthought1102
    @brokenthought1102 2 года назад

    another project done. easy to follow. thanks so much

  • @juanrebella2589
    @juanrebella2589 3 года назад

    Thanks man, appreciated.
    Subbed!

  • @FinallyEve
    @FinallyEve 4 года назад +1

    Worked like a charm, thanks Tim!

  • @Rogosan100
    @Rogosan100 2 года назад

    Great content here ! Many thanks man ! It' s difficult understand some things for me cause I from Brazil..but..rss but making some efforts ...fantastic ..thank you ! I use Debian distros but ubuntu servers have their place !

  • @jongriffith4293
    @jongriffith4293 2 года назад

    I love you. I mean, not really like that...but...you know. Great content...super easy to understand.

  • @vandomizer
    @vandomizer 2 года назад

    Doing Lord's work as usual..

  • @MattMcCullough
    @MattMcCullough Год назад

    I did this because of this fabulous video

  • @laurentmc82
    @laurentmc82 2 года назад

    Thank you so much for this!

  • @FranciscoSilva84
    @FranciscoSilva84 2 года назад

    Thanks, man this is so helpful

  • @AUDIOKRAFTEN
    @AUDIOKRAFTEN 3 года назад

    Hey, helpful vid!

  • @gaby1491
    @gaby1491 3 года назад +2

    sudo systemctl enable qemu-guest-agent
    sudo systemctl status qemu-guest-agent
    # this prevents having to reboot
    also sometimes the correct netplan doesnt get applied on ubuntu server. this can be solved by manually applying the netplan. this happens because the name of the device gets changed. ie enps0 becomes enps1

  • @rodgerwang7017
    @rodgerwang7017 4 года назад +2

    Running Ubuntu as LXC container is a more efficient way as overhead, especially memory overhead, is much lower. However, don't use the Proxmox Ubuntu container template because I've had a lot of issue with it. Using the LXC official Ubuntu template is such a joy!

    • @TechnoTim
      @TechnoTim  4 года назад +2

      I wanted a full VM so I can install rancher, docker, and kubernetes!

  • @webjunkienl
    @webjunkienl 2 года назад +1

    Hi Tim, can you do a tutorial on how to migrate a physical machine to a proxmox vm?

  • @solarsteve2131
    @solarsteve2131 Год назад

    Hi Tim great tutorial. I do need some help with copy and paste. after installing ubuntu on proxmox I have tried to install docker to get a cloudflare tunnel set up, but when I copy the docker commands I cannot paste these into the VNC window. I have tried Ctrl+V, Ctrl+shift+V and Ctrl+insert, I even tried installing some other application from another tutorial but ended up crashing my ubuntu program. I am a complete noob and only managed to get this far by following your guide step by step. Can you help
    Regards Steve

  • @andiroad7146
    @andiroad7146 2 года назад

    Thanks brother

  • @EsotericArctos
    @EsotericArctos 4 года назад +1

    I noticed you spelt Ubuntu wrong when you installed the server :).
    Great tutuorial though. Very thorough as always.

    • @TechnoTim
      @TechnoTim  4 года назад +1

      Thanks for the tip! I am known for my typos :)

    • @EsotericArctos
      @EsotericArctos 4 года назад

      @@TechnoTim I thought I was the one who was expert at typonese :)

  • @MCRoadk1ll
    @MCRoadk1ll Год назад

    Is there a reason why you keep all the uploaded ISO's? After creating the VM, I can delete the uploaded ISO to save up space, right? It's just like an USB stick after installing.

  • @meandthemrs896
    @meandthemrs896 Год назад

    Great video as always - I followed it and went on to install docker. Then homer but I got into difficulty where the container could write to the assets file - now i'm stuck

  • @tonykrajcik6701
    @tonykrajcik6701 4 года назад +1

    Thank you very much for this video. I am a novice in virtualisation. I have installed my first Ubuntu server as virtual machine based on this video on my 500 GB SSD drive. I used 32 GB for this virtual machine. Also I have classic 2TB HDD that I would like to attach to this virtual machine where I would like to have Nextcloud data.
    Can you please explain (show) how to add it in Proxmox and connect to virtual machine?
    After that I can handle mount this 2TB drive in Ubuntu server.
    Thank you.

    • @TechnoTim
      @TechnoTim  4 года назад

      Glad it helped! You should be able to add it and initialize it, then add it to your VM

  • @yessno8800
    @yessno8800 3 года назад +9

    i wonder who that 1 guy who would ne so lousy to dislike this is lol

    • @TechnoTim
      @TechnoTim  3 года назад +1

      Not sure but 🤷‍♂️

  • @SpookyLurker
    @SpookyLurker 2 года назад

    Helpful mostly. But the QEMU bit is a tad broken when applying to PVE v7+.

  • @SutboxSutty
    @SutboxSutty Год назад

    Just one thing towards the end when you use ipcinfig i got error need net-tools installed to see ip address just a point thanks for all your help you are one of my main go toos Raspeckett

  • @JuanLopez-db4cc
    @JuanLopez-db4cc 4 года назад +2

    What Terminal do you use? Is it under Windows? Thanks!

    • @TechnoTim
      @TechnoTim  4 года назад

      Hey! I am using the the Windows Terminal. Here’s a guide on how to set it up like mine ruclips.net/video/kL8iGErULiw/видео.html

  • @bestcinemaonline
    @bestcinemaonline 3 года назад +1

    I use Virtualbox >Proxmox>Ubuntu, installed like in this tutorial, I have IP, can ping google, but apt-get update, upgrade or install stuck on 0%, any ideas???

    • @TechnoTim
      @TechnoTim  3 года назад +2

      Not sure, maybe try again?

  • @jackspiering3582
    @jackspiering3582 3 года назад +1

    Hey Tim, why don't you use a container (CT) template with Ubuntu instead of making a VM by yourself?

    • @TechnoTim
      @TechnoTim  3 года назад +1

      great idea!

    • @jaskiewicztomasz
      @jaskiewicztomasz 3 года назад

      I also was thinking about it after watching the video. I feel like CT should be a default way to go unless you need a different Kernel or virtualized hardware.

  • @bibelstudiet7580
    @bibelstudiet7580 Год назад

    thanks

  • @virusbcn6472
    @virusbcn6472 2 года назад

    Tim smile and say a joke 😂😜

  • @johnvalatos4073
    @johnvalatos4073 4 года назад

    Hi Tim, with the latest Windows 10 2004 version you can install WSL and have a virtual Ubuntu 20.04 shell running in Windows 10. Does this mean you can SSH directly from Windows 10 to your Ubuntu server? Also does it mean you can install Docker etc within the Ubuntu you are running in Windows 10? Would love to see a video on WSL and Ubuntu shell in Windows 10. Cheers.

    • @TechnoTim
      @TechnoTim  4 года назад

      Yes and yes. I have a guide one this :) It's for setting up your Windows PC for development but it uses the same tools. Terminal, WSL, and Ubuntu. That's also what I use in all my videos. I create them on a Windows PC and SSH into my Ubuntu servers. I also have Docker running on my Windows machine but don't use it for anything other than testing out custom code I write in Docker containers. See this video for a setup guide ruclips.net/video/kL8iGErULiw/видео.html

  • @GhostZodick
    @GhostZodick 4 года назад +1

    Thanks for showing me the memory ballooning function. I always wanted this function but never knew it existed.
    Also another question. I couldn't find a solid answer anywhere. Do virtual machines lock the resources you give to them? If you give a virtual machine 24 CPU cores, does it mean these 24 cores will be locked to this VM? Other machines cannot use them as long as this VM is running (even though this machine is idling)? What happens if you assign more cores than you have? Let's say you only have 8 cores, but you assigned 8 to two VMs. You assigned a total of 16. What's gonna happen?
    Also, it seems the disk space allocated to VMs and LXCs are locked out. If I give a VM 20GB of disk, the whole 20GB will be gone even though my VM might only use 6GB. I know virtualbox allows VM to only use the amount of disk space a VM actually occupies. Is it possible to do the same with Proxmox?
    I always thought VMs will lock the resource, so I mostly use LXC in proxmox. To my understanding LXC will only use what it needs, leaving the rest available for other LXCs or VMs.

    • @TechnoTim
      @TechnoTim  4 года назад

      You can over allocate CPUs for each machine (give each machine the max CPU cores you have) but I don't think you can do the same with disk unless you thin provision them. I give most of my VMs the max CPUs I have in my server (24).

    • @gaby1491
      @gaby1491 3 года назад

      i know its tempting but thin provisioning is disabled to protect you and should only be enabled in environments where this is well thought out. For someones homelab its best to leave this off so you cannot over provision your vdev or zpool. Also you can safely over provision your cpus as long as your dont allocate 26 cores to a VM and your host has 24 cores, this can lead to unneeded overhead and hurt guest performance. Most guests cannot benefit from more than 6 cores anyways unless they are running highly multi threaded workloads.

    • @gaby1491
      @gaby1491 3 года назад +2

      @@TechnoTim this is 100% okay and lets multiple guests use 100% of system resources if needed. BTW love the channel not for the tutorials but for the exploration of new software. im lazy so watching you do it and describing the features prevents me having to do all the work. lol

  • @christophevandingelen
    @christophevandingelen 3 года назад

    Is it really necessary for a server to have 20GB HDD? The reason I'm asking this, is the real question, with all those containers you have, do you need an out-of-the life computer, or would it be possible to run it, for instance, on an old laptop (i7, 32GB ram, 2 TB HDD)?

    • @TechnoTim
      @TechnoTim  3 года назад +1

      Those specs would be perfectly fine and you can think provision the hard drive too (it will grow up to 20GB)

  • @irtibatkisileri222
    @irtibatkisileri222 Год назад

    Greetings. Thank you for this tutorial. I wonder where is root?

  • @Serpher1
    @Serpher1 Год назад

    What does Qemu agent really do? I can ssh to my vm without it.

  • @MarkStriebeck
    @MarkStriebeck 3 года назад

    Hi,
    It's not the focus of your video (which by the way is awesome - everything I do with proxmox is from your videos!)
    I can see that you have an error message in your console "Error: Failed to run vncproxy". I get that error message too and have no idea what it means (I guess it's from the host system). Everything seems to work though ...

    • @TechnoTim
      @TechnoTim  3 года назад +1

      I think you get that if you click on the console tab while the machine is shut off. It's expected (since it can't VNC into machine that is off) but odd they show it as if you should care. Thank you!

    • @MarkStriebeck
      @MarkStriebeck 3 года назад

      @@TechnoTim You are right.
      ... and yes, that is silly ... Thanks!!!

  • @Liam-ey2gs
    @Liam-ey2gs 4 года назад

    What is the best method to assign a static IP to the vm? Would we use qemu?
    I had to reboot my vm and it spun up with a new IP, I could not access Rancher or my Pi-hole instance due to this. Any pointers in the right direction would be greatly appreciated!

    • @TechnoTim
      @TechnoTim  4 года назад +1

      Google static IP on Ubuntu. It’s pretty easy!

  • @fatalpath
    @fatalpath 2 года назад

    Im an absolute hypervisor amateur and I cannot workout for the life of me how do get Linux to have a 16:9 resolution. Can anyone help?

  • @cluberic
    @cluberic 2 года назад

    i allocated 100gb to my vm but it says i only have 40gb available, do i need to expand the filesystem? How is that done on ubuntu server. Its so easy on a raspberrypi

  • @marioradke9825
    @marioradke9825 3 года назад

    Any reason you don't set the discard flag?

  • @irtibatkisileri222
    @irtibatkisileri222 Год назад

    stuck on [FAILED] Failed unmounting /cdrom

  • @brucet3270
    @brucet3270 4 года назад

    Just starting with home lab and hypervisor but noticed you gave your VM all the cores on your physical machine. I thought you could only give out to your running VMs and host cpu no more than 100% physical cores

    • @TechnoTim
      @TechnoTim  4 года назад +1

      Bruce Tarleton you can give every machine all logical cores if you like, I always do.

    • @mraboyum
      @mraboyum 3 года назад

      I also thought that was weird. In VMWare, witch is differendt, allthoug also based on linux, if a guest that has allocated all processors need to process a single calculation it has to wait for all cpu's to be ready. So potentially if two vm's is doing some small calculation requiring one cpu each they will only be able to do calculations every other cycle, hence the speed will be as if you only got a one-core cpu (except it has more cache). -But it could be that it is different in proxmox... -But I would not give a VM more then half of the virtual CPU's.

  • @InSaudi
    @InSaudi 3 года назад

    why add VM then install ubuntu? why don't run ubuntu server directly? help me understand IT insanity

    • @TechnoTim
      @TechnoTim  3 года назад

      Because virtualization. I want to share the resources of my server host with all of the vm guests

  • @tariq4846
    @tariq4846 10 месяцев назад

    Is TechnoTim a real person or virtual host :D

  • @MuhammadUsman-rc8gd
    @MuhammadUsman-rc8gd 3 года назад

    Please make tutorial for running self hosted web server (securely).

  • @thecaptain2000
    @thecaptain2000 4 года назад

    is there a way from the web interface, to specify that for our server we want to use a block device? Let's say that we want our machine to use a full SSD, is there a way to specify such scenario?

    • @TechnoTim
      @TechnoTim  4 года назад

      There is! You just need to passthrough the hardware to the guest.

    • @thecaptain2000
      @thecaptain2000 4 года назад

      @@TechnoTim interesting, I hadn't thought of that (but I am newbie) could that device we pass through be than used as the boot device? What I would like to achieve is to use that SSD for the virtual machine itself (to install the guest os onnit) rather than just make it visible to the VM after the VM has been installed elsewhere.

    • @TechnoTim
      @TechnoTim  4 года назад

      You can pass the entires drive through to the guest OS and install a clean OS on it, no problem

  • @dafkid1985
    @dafkid1985 3 года назад

    Hello i using Ubuntu vps servers with proxmox. Everything working fine but proxmox shows way to much memory usage. do you have any idea why? Thank you

    • @TechnoTim
      @TechnoTim  3 года назад

      Have you installed the qemu-guest-agent?

    • @dafkid1985
      @dafkid1985 3 года назад

      @@TechnoTim no. how can i do that?

  • @peny1981
    @peny1981 2 года назад

    Why you didnt use "apt-get dist-upgrade"?

    • @TechnoTim
      @TechnoTim  2 года назад

      It has a tendency to break things.

  • @AIC_onyt
    @AIC_onyt 3 года назад

    5:00 ubnutu server ;D

  • @mathieuleclerc4136
    @mathieuleclerc4136 3 года назад

    Do you have a ssd-raid10 specifically for your OS?

    • @TechnoTim
      @TechnoTim  2 года назад +1

      RAID 10 for all of my guest OSes. Their virtual drives are on the host's RAID10

    • @mathieuleclerc4136
      @mathieuleclerc4136 2 года назад

      @@TechnoTim Have you Proxmox on a RAID?

  • @ishtiaqtariq7524
    @ishtiaqtariq7524 4 года назад +1

    Facing "Error 401: Permission Denied-invalid PVE ticket" while uploading CentOS ISO

    • @TechnoTim
      @TechnoTim  4 года назад

      Google it, seems to be a common problem with how storage is set up or needs to be updated

    • @gaby1491
      @gaby1491 3 года назад

      change the image name to something else

  • @boo1gg
    @boo1gg 3 года назад

    Whenever I create a virtual server, installation seems to go fine but after prompted to login and trying to ping, i get no results and cannot update the system at all, what can cause that?

    • @TechnoTim
      @TechnoTim  3 года назад

      Sounds like it doesn’t have network access. Do you have an IP from DHCP?

    • @boo1gg
      @boo1gg 3 года назад

      @@TechnoTim Clarification, this isn't hosted on my house, I've bought a dedicated server from Wholesale located in Kansas, as per your question I dont, even network/interfaces are point blank after a fresh installation.

    • @boo1gg
      @boo1gg 3 года назад

      Also, I've bought some extra IPs to ease the process of creating VM's, they are listed as public ips on proxmox, probably that could be the issue?

    • @gaby1491
      @gaby1491 3 года назад

      google how to setup the netplan on ubuntu server, this is a known bug and easily fixed with a few lines in nano or vi

  • @V3ritas1989
    @V3ritas1989 2 года назад

    wtf is wrong with the encryption password thingy? I thought ohh cool encryption, let's try it out....I am on my 5th installation and am apparently still getting the password wrong? I even tried to use no special signs, and no numbers... wth [edit:ok, apparently without bold letters, numbers and special chars the pw works.... xD]

  • @Pizzapartyat9Tk
    @Pizzapartyat9Tk 3 года назад

    just started playing with proxmox made a linux mint vm with little issues only thing is it has no sound

    • @TechnoTim
      @TechnoTim  3 года назад

      did you install the right drivers and qemu-guest-agent?

    • @Pizzapartyat9Tk
      @Pizzapartyat9Tk 3 года назад

      @@TechnoTim yes i have the guest agents as for drivers arent they built into the kernel i changed the software i use to remote into my linux vm's to nomachine and that gets audio but xrdp and team viewer along with other ways to remote in dosn't get audio i am useing linux mint 20

  • @lopo8000
    @lopo8000 3 года назад

    How is anyone supposed to enable it to the internet , how do you forward the info of the nas server!!

    • @TechnoTim
      @TechnoTim  3 года назад

      What?

    • @lopo8000
      @lopo8000 3 года назад

      @@TechnoTim port foward to 443 the server so internet can access it, i want the code

  • @MootazChannel
    @MootazChannel 3 года назад

    what if it doesn't see my network device?

    • @TechnoTim
      @TechnoTim  3 года назад +1

      Try changing the NIC type for the VM

    • @MootazChannel
      @MootazChannel 3 года назад

      @@TechnoTim my actual proxmox Environment has internet access it's just any other vm i create inside of proxmox doesn't have internet access

  • @Herotruth
    @Herotruth Год назад

    If you want your other eye not to be so small, be sure to sleep on the other side of your bed instead.

  • @joeking5211
    @joeking5211 6 месяцев назад

    Thought this vid was the answer. Got to 1:20 and hit a brick wall. There is NO 'Content' in the menu. Oh well yet another failure.

  • @nicolasvillafan
    @nicolasvillafan 3 года назад

    quemu-guest-agent dosen't work, anybody?

    • @TechnoTim
      @TechnoTim  3 года назад +1

      Works for me. I just installed it yesterday

    • @nicolasvillafan
      @nicolasvillafan 3 года назад

      @@TechnoTim wired, I get unable to locate package quemu-guest-agent
      Do you add extra repos to the 20.04 server LTS?

    • @philippeergaud5593
      @philippeergaud5593 3 года назад +1

      @@nicolasvillafan qemu-guest-agent

    • @nicolasvillafan
      @nicolasvillafan 3 года назад

      @@philippeergaud5593 iam sory... iam a spanish speacker and in my language the wiht an e alllways goes with a u in between. .lol my bad.
      Thanks

  • @francesco87f
    @francesco87f 4 года назад +2

    Please change your nickname/youtube channel in "Johnny Nerdd"

    • @TechnoTim
      @TechnoTim  4 года назад +1

      Haha! Love the “dd” as in “Depp”

  • @ecotts
    @ecotts Год назад

    Ubnutu-server 🤣

  • @kilang69ers
    @kilang69ers 3 года назад

    skip on 4:03 not helpfull