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.!
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!
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!
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
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.
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 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
@@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?
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 !
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
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!
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
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.
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
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.
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
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???
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.
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.
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
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.
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).
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.
@@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
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)?
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 ...
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!
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!
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
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
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.
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 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.
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 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.
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]
@@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
Which Linux distro do you use the most?
BTW, if you're new here, welcome! Subscribe for more content like this coming soon!
Pop_OS! My Favorite so far.
Debian
Depends
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.!
GNU Guix, really loving it
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!
Joel Yu thank you so much!
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!
Thank you so much! Subscribe for more content! It's coming!!!!!
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
I've come back to this video so many times, I really appreciate it.
Thanks for the walk though setting up QUEM guest agent. 👍
Thanks for the walk thru and demo, have a great day TT
You too, thank you!
Proxmox Rocks! Thanks Techno Tim.
I am very happy to have found your channel I am now a new subscriber.
Thanks for subbing
Great content, even today this is super helpful, you even covered ssh, thank you my friend.
Weirdly satisfying getting it all done right haha.
Thank You! Your Tutorial videos Helped me a lot :)
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.
Thank you for your amazing videos!!!
You are so welcome!
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
Joshua Lee thank you so much for the tips!
@@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
@@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?
another project done. easy to follow. thanks so much
Thanks man, appreciated.
Subbed!
Thanks for the sub!
Worked like a charm, thanks Tim!
No problem 👍
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 !
I love you. I mean, not really like that...but...you know. Great content...super easy to understand.
❤ thank you!
Doing Lord's work as usual..
I did this because of this fabulous video
Thank you so much for this!
Thanks, man this is so helpful
Of course!
Hey, helpful vid!
Thank you!
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
Thank you!
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!
I wanted a full VM so I can install rancher, docker, and kubernetes!
Hi Tim, can you do a tutorial on how to migrate a physical machine to a proxmox vm?
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
Thanks brother
I noticed you spelt Ubuntu wrong when you installed the server :).
Great tutuorial though. Very thorough as always.
Thanks for the tip! I am known for my typos :)
@@TechnoTim I thought I was the one who was expert at typonese :)
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.
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
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.
Glad it helped! You should be able to add it and initialize it, then add it to your VM
i wonder who that 1 guy who would ne so lousy to dislike this is lol
Not sure but 🤷♂️
Helpful mostly. But the QEMU bit is a tad broken when applying to PVE v7+.
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
What Terminal do you use? Is it under Windows? Thanks!
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
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???
Not sure, maybe try again?
Hey Tim, why don't you use a container (CT) template with Ubuntu instead of making a VM by yourself?
great idea!
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.
thanks
Tim smile and say a joke 😂😜
😀 a joke
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.
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
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.
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).
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.
@@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
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)?
Those specs would be perfectly fine and you can think provision the hard drive too (it will grow up to 20GB)
Greetings. Thank you for this tutorial. I wonder where is root?
What does Qemu agent really do? I can ssh to my vm without it.
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 ...
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!
@@TechnoTim You are right.
... and yes, that is silly ... Thanks!!!
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!
Google static IP on Ubuntu. It’s pretty easy!
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?
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
you do
Any reason you don't set the discard flag?
stuck on [FAILED] Failed unmounting /cdrom
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
Bruce Tarleton you can give every machine all logical cores if you like, I always do.
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.
why add VM then install ubuntu? why don't run ubuntu server directly? help me understand IT insanity
Because virtualization. I want to share the resources of my server host with all of the vm guests
Is TechnoTim a real person or virtual host :D
🤖
Please make tutorial for running self hosted web server (securely).
I’ve one
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?
There is! You just need to passthrough the hardware to the guest.
@@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.
You can pass the entires drive through to the guest OS and install a clean OS on it, no problem
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
Have you installed the qemu-guest-agent?
@@TechnoTim no. how can i do that?
Why you didnt use "apt-get dist-upgrade"?
It has a tendency to break things.
5:00 ubnutu server ;D
creative, I know :)
Do you have a ssd-raid10 specifically for your OS?
RAID 10 for all of my guest OSes. Their virtual drives are on the host's RAID10
@@TechnoTim Have you Proxmox on a RAID?
Facing "Error 401: Permission Denied-invalid PVE ticket" while uploading CentOS ISO
Google it, seems to be a common problem with how storage is set up or needs to be updated
change the image name to something else
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?
Sounds like it doesn’t have network access. Do you have an IP from DHCP?
@@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.
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?
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
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]
just started playing with proxmox made a linux mint vm with little issues only thing is it has no sound
did you install the right drivers and qemu-guest-agent?
@@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
How is anyone supposed to enable it to the internet , how do you forward the info of the nas server!!
What?
@@TechnoTim port foward to 443 the server so internet can access it, i want the code
what if it doesn't see my network device?
Try changing the NIC type for the VM
@@TechnoTim my actual proxmox Environment has internet access it's just any other vm i create inside of proxmox doesn't have internet access
If you want your other eye not to be so small, be sure to sleep on the other side of your bed instead.
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.
quemu-guest-agent dosen't work, anybody?
Works for me. I just installed it yesterday
@@TechnoTim wired, I get unable to locate package quemu-guest-agent
Do you add extra repos to the 20.04 server LTS?
@@nicolasvillafan qemu-guest-agent
@@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
Please change your nickname/youtube channel in "Johnny Nerdd"
Haha! Love the “dd” as in “Depp”
Ubnutu-server 🤣
skip on 4:03 not helpfull
how?