OctoPrint on Proxmox Part 1 - Install and Setup

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video we're going to be installing octoprint on a proxmox server make sure you stick around and if you like what you see hit that subscribe button below and keep an eye out for more videos [Music] hi i'm will from real surge tech and today we're going to be having a look at installing octoprint on a proxmox vm and setting it up with my ender3v2 so let's get going right so the first thing we need to do is head over to the ubuntu website and download the ubuntu server you can choose any server if you'd like and we're going for the manual server installation and we just want to download the latest lts version and if you want to use a different linux server then feel free i'm just going for this because i can and it's easy once that's downloaded we need to head into our proxmox environment and in here we are going to need to go to our local disk and then we go into iso images and then what you're going to want to do is upload the iso that you just downloaded and once you've uploaded that it will appear here in your list you can see this one that i did yesterday right and then we can create a new virtual machine our virtual machine is going to be on our proxmox node we give it a number a name start at beach so you might want to check advanced if you haven't already started boot the os we're going to be using the iso image from your ubuntu live server that you got earlier uh system change your bias to uefi and change the storage hard drive allocate some size here you definitely don't need more than 32 gig arguably you could get away with considerably less so whatever space you've got cpu i'm going to give it two calls and ram i'm going to give it one gig with a minimum of half a gig network using the same network device and confirm it and then we can start after created so that is going to create this virtual machine and then it's going to start it up once it started we're going to need to go through the setup and this process will take a bit of time uh just while it's installing the whole shenanigans and doing its thing so once it's done its thing we need to select our language we need to select our keyboard layout it'll create its own network or it will check the network and that'll all be fine uh you probably don't want to proxy address you probably don't care about the mirror address you can leave that as default you are going to want to use the entire disk because that's the kind of disk that you gave it and then you press go yes you're going to be distracted but there's nothing on that part of the disk anyway you then need to enter your name a username and a password i would recommend installing ssh because then you can actually log into it remotely and you probably don't need any of these packages so we click done and it should now just do its thing for a little while right so once it's finished installing it won't give you a nice message on here that looks obvious it says install complete and it gives you the option to reboot now at the bottom so if you're not paying attention you probably will miss that happening so we reboot it we let it do its thing it's throwing hissy fit because i've got a cd-rom might need to press enter and then it should come back online and once it's online we can log in with our username and password and we are then going to head over to the octoprint website it's time to install that if we go to the download tab scroll down and we can see there is a manual installation process for linux and that's what we're going to use and we're just going to follow this guide here so the first thing we need to do is head into proxmox logged in and type python 3 version that's just to check that we've got python 3 installed it needs to be 3.6 or newer which i'm always certain it will be nonetheless then we go cd squiggle radio sudo apt update and we do sudo apt upgrade just to bring ourselves up to date okay and once that's updated we need to install a selection of things unfortunately there's no easy way to copy and paste so we do sudo apt install python 3 pip python 3 dev python 3 set up tools and we install them and let it do its thing again there's a lot of letting it do its thing i do apologize right from here we can make a directory called octoprint and we can go into octo print we then python three dash m then then so that's going into a virtual environment within this virtual machine on this proxmox server source then then activate and we're now inside the virtual machine virtual environment on the virtual machine on the proxmox server and then we can upgrade pip which shouldn't take long and then we can install octoprint finally and then what we need to do is allow octoprint to access our usb ports or serial ports so it can actually communicate with the 3d printer so you go sudo user mod a can't spell dash g tty and then it says pi but obviously you're going to replace that with your username and then we want to dial out from there we could then start our server but before we do that what we're going to do is make octoprint start on boot so we want wget and then we want to copy this github link and then what we need to do is sudo move that service that we've just downloaded two slash atc india slash system system octoprint dot service and then we can go less etc and we can see that there is an exact start line and what you're going to want to do actually is access that and we're going to want to edit that so we're just going to sudo nano it and that's because obviously it uses the username pi and the username isn't pi the username is will which means the directory is also will and then what we can do is sudo system ctl enable octoprint if we stop it here because then we need to go into our hardware so while that's halting we need to make sure our 3d printer is turned on and we need to plug in the usb cable into the front of the 3d printer or wherever usb port is and into your proxmox server and then we're going to go into hardware and add a usb device select the device and we can see this usb serial device this is the new one that's just popped up when i turn my 3d printer on so that's definitely the one i want we add that that comes in and then right so once your server has shut down or your vm has shut down we can start it back up again we can head into the console and check that it starts okay now if you want to use a webcam with this a usb webcam then obviously you're going to have to plug that in and port that usb port through into the vm as well okay we can then log in and in theory we should automatically or octoprint server should have automatically started and we have our ip address so we can then go 192.1680.230 and we go to port 5000 and then we get a setup wizard and we can set up say next we're not restoring from a backup access control going to want to username and password uh online connectivity check so that just every so often it will check that it's connected to the internet so that it doesn't just assume that it's connected if you've got a server you keep offline but then obviously connect the internet when you want downloads or updates um so it just means it'll it'll ping and check every 15 minutes to see if there is internet so it doesn't try updating when there isn't uses tracking if you want oh you can either enable or disable plug in blacklist that's just a good way to filter out crap that's out there just so you don't break print everything profile so you can go through this and change your settings build volume for example and everything else you should be able to leave the same server commands you can ignore for now web cam you can again ignore unless you've got one and then we can finish and we are in octoprint so if we click connect here it'll find it it'll load the files in the sd card it'll show you your bed temperature and it's ready to go and if we really want to we could move it around which you might be able to see is happening very slowly in the background there so that was part one of this video where we've looked at installing octoprint on a proxmox server running ubuntu server in part two we're going to have a look at the octoprint interface we're going to have a look at how to use it we'll look at some plugins that you might want to get and then we will look at integrating it into home assistant so there we go octoprint up and running and controlling my 3d printer make sure you hit that subscribe button below and click the bell icon to find out more about my smart tech and how you can build yourself the ultimate smart home [Music]
Info
Channel: Will Surridge Tech
Views: 13,115
Rating: undefined out of 5
Keywords: Will Surridge, Surridge, Tech, Will, hassio, home automation, smart kit, home assistant, ambilight, tv, speaker, sonos, smart plug, plug, tp-link, camera, wyze, ikea, honeywell, evohome, amazon, echo, echo spot, echo show, echo dot, WillSurridge, SmartHome, home, kit, review, hue, philipshue, alexa, Smart, tech, homeassistant, homeautomation, lovelace, SmartTech, Projects, UK, octoprint, pi, proxmox, raspberry, linux, vm, printer, controller, octo, print, 3dprint, 3d printer, virtual machine, virtual, ubuntu, server
Id: ScKMxUXQ1U8
Channel Id: undefined
Length: 14min 39sec (879 seconds)
Published: Fri Nov 19 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.