Setting up a CHEAP and EASY Homelab Linux Server
ฝัง
- เผยแพร่เมื่อ 30 มิ.ย. 2024
- Setting up a homelab doesn't need to be an expensive hobby. You can use your old desktop, laptop, SBC, or even a budget-friendly mini PC. We will install Ubuntu Server, use a single command to install CasaOS, and drive right into spinning up some useful services. Geekom MiniAir 11: amzn.to/45vSgLy
Thanks to Geekom for sponsoring this video!
www.geekompc.com/geekom-minia...
CODE: TechHut
Ubuntu Server Full Guide: • Install Ubuntu Server ...
👏SUPPORT TECHHUT
TH-cam MEMBER: bit.ly/members-techhut
TECHHUT.TV: bit.ly/techhut-join
DONATE PAYPAL: bit.ly/paypal-techhut
$100 LINODE CREDIT: bit.ly/linode-techhut
$5 PBCWAY CREDIT: bit.ly/techhut-join
🏆FOLOW TECHHUT
JOIN DISCORD: bit.ly/discord-techhut
TWITTER: bit.ly/twitter-techhut
MASTODON: bit.ly/mastodon-techhut
INSTAGRAM: bit.ly/personal-insta
📷MY GEAR (PAID LINKS)
ASUS ROG M16: amzn.to/3t8Xgpo
DeepCool MATREXX 40: amzn.to/3q3K8Qn
AMD 3700x: amzn.to/31AKX9N
ASRock B550M: amzn.to/3qeymTv
G.Skill Trident Z Neo: amzn.to/3JRbeSF
Radeon RX 580: amzn.to/3n7Ax9g
Cannon M50: amzn.to/3xLfhuA
00:00 - Introduction
01:02 - Cheap Intel PC
04:12 - Install Ubuntu Server
06:20 - Installing CasaOS
08:43 - CasaOS Login
10:00 - Network Share Folder
11:08- App Stpre
11:34 - Photo Backup
13:48 - Portainer Install
14:53 - CasaOS Dashboard
15:17 - Terminal Access - วิทยาศาสตร์และเทคโนโลยี
it's nice seeing a linux user who knows how to line up his beard looking clean bro
Right? He can't do the neck beard 😂
We like our beards to be free like us! 😂😂
We need a tier list of Linux beards
😂😂
That’s gay as fck bro 😂
If you can't access CasaOS from your browser with the correct IP:port address, it's probably because you need to open that port in Ubuntu; in terminal "sudo ufw allow 81" should work for you (CasaOS works through port 81 on my install). I know this is likely very basic and understood by most, but if you're a complete newb to linux/networks, this is something you may not think about and I'd like to save you time searching and reading forums for an otherwise very simple fix.
I appreciate this advice as somebody that's completely new to linux as of 24 hours ago, I didn't run into this issue (I'm not even running CasaOS yet) but I've been pulling my hair out recently with getting jellyfin setup in portainer and in almost all of the forums that I've found online so far commenters are saying something along the lines of "read the documentation and figure out linux first. you should have done that already" which is really discouraging tbh.
@@thatroykidYeah the community is pretty crappy a lot of times.
Anyone watching this video in 2024 don't get the Intel Celeron anymore. Get a Intel N100.
100%
Is the EM780 a good mini-PC for this?
I know the Ryzen 7840u has capable graphics and cpu but I’ve heard that Intel has more benefits…
Am I able to set up something like a NAS (with storage bay connected to the mini pc), home security footage, smart home features, virtual machines, etc. on it?
BTW. For those user's of Linux Mint, Casa OS Installed and runs perfectly on that distro.
Great video, it's very helpful. I've been running a Raspberry Pi 4B. It's nothing much especially since it's running Start9Labs StartOS. It's a great little setup and an easy setup. I plan on upgrading to something with more power than a Raspberry Pi 4B. I also plan on setting up some more servers running StartOS. It would make a nice video going over the OS, trying it out, and giving your thoughts on running a server with it. They're more targeted to the less technical and up.
This is from they're website:
Just as Windows and macOS made it possible for anyone to own a personal computer, StartOS makes it possible for anyone to own a personal server.
Great video! Just did something similar myself recently with a ~$60 mini PC off ebay and a 4TB external drive I got for free a few years ago. Running ProxMox with OpenMediaVault as my NAS OS, with enough room to spin up some other VMs/Containers to play with. Works great, much better than the Pi4 I had running my NAS before this.
Be sure to check the health of the external drive. I hope all goes well with your home lab.
and plese do mirrored hardrives
Dude I appreciate your speedy approach to explaining the process like we're not complete newbies, well done.
I've always purchase old servers from Ebay and bought cheaper hard drives for them. Your solution is def less expensive, and a great way get experience.
Oh wow. Just installed it on my homelab. Was searching something like that for a while
Thank you for an Amazing Video; A guide for Non techy like me who could start our first step towards "setup home lab".
Thank you again, this is seriously cool
Thank you for your very short and detailed video. Just started using Linux and can't wait to finally get off all the cloud services.
Great! I might set this up as a VM on my Proxmox host. Thanks Brandon!
i built a machine for a server months ago and after trying other alternatives with no much success (mainly cos im a dummy and i dont know much linux stuff) this was surprisinlgy easy, i had it running in like 15 minutes, so yeah, thanks!
Glad you mentioned NUC's , the used ones dont get the love they should. I bought old engineering samples of the original NUC i-5's for 20 bucks each with RAM and 2.5" hdd included.........,I scored 9 of them. Nucs, the old ones, are a dime a dozen and work REALLY well for this. A Nuc -i5 /16gbRAM /SATA SSD for less than 100 bucks cant be beat. =)
where do you get the old nucs?
@@Morgan_eBay
Perfect. My old c2d pc is live again. Thanks
Great demo.
Casa has so much potential and I'm enjoying it on my Pi. Can't swap to it fully until it has the options for multiple users and individual folder permissions.
Nice video, thank you. I don't go crazy on large hard disks and/or raids. I just connect my servers to cloud-based external storage.
VERY NICE & USEFUL - THANK YOU ! ! ! 👍👍👍
Great video, helped a lot, though I'm not exactly a fan of CasaOS. I will probably look around some more, but this is a great starting point. Thank you!
Very nice, thank you.
This is a cool little that can save you a bit power cost and space, but I'd rather go with a used server for a more enjoyable experience ( VMs, Containers, webhosting etc... )
Do you have any recommendations as far as manufacturers?
i personally got myself a Fujitsu Primergy TX1310 M1
super cheap, used, more than enough performance for most of the homelab stuff @@der363Productions
@@der363Productions I'd recommend Dell servers, they pretty good and not so much hide behind a pay wall unlike HP
Arrrrrrr (11:27) 😎 interesting. Mini PCs even Alder Lake N Series can do a lot nowadays.
Nice video, thank you.
Nice Anne really easy to follow video. Thanks
How to passthrough the igpu to jellyfin though, it’s a bit over my head😅
Thanks for the great video! I have exactly same issue with wrong storage size, did you find a way how to fix it?
great tutorial
use to put smoothwall on older boxes. worked great. mmm ill have to check to see if smoothwall still around..
Had a mini PC in the closet for 4 years. Gonna dust it off and start my home lab. Thanks for the inspiration.
For a second I got heart attack that you unknowingly posted your address then I realized its your office one :P Anyway really nice and approachable video on how to start home server
thx for good content
7:09 You can configure your config file in windows under %USERPROFILE%\.ssh. That way you can make 'aliases' to your connections, you don't need to be always specifying the host address or port, or user
Setting up public key authentication and a static DNS entry for a hostname is also a good idea. then you can just "ssh hostname"
great video! following the context of this video, what's the best way to backup all the files AND the OS configuration?
Thank bro 🎉
Hi, I just installed server on my old debian system with 2gb ram running i3wm. it runs very well.
Good video.
That casa os thing is really impressive
Are you running it at all?
i use hp compaq 8300 sff(unused pc). i install proxmox, pfsense, nextcloud, portainer. i boight 4 port ethernet card also.
so i have modem+firewall, more ram, have raid for storage and all i need so(so far). i think this setup is enough for me. mini pc is expensive, not have pcie, single port ethernet, no extra ssd. but mini pc use lower power consumption. that all.
I have a 2015-ish surface pro 4. Keyboard is broken, screen is cracked, internal ssd has erros. I use an sd card on the back for the OS, Ubuntu server lts. An external 4tb hard drive and thats enough for the basic services i run. Obviously i want something nicer but this is good enough for now. Usually the wifi is thr bottleneck and not the processor or ram. I think its an i3 or an i5, might be dual core, not even quad core. It can do hardware transcoding okay-ish. Just saying, if you really are a beginner like me, you can get started with almost nothing. Even raspberry pis are pretty expensive this days.
Using this Ive learned a lot about severs. I know there is a lot left to learn but I'm learning as i go. Solving one problem at a time, getting one service at a time figured out.
Also, tried yo figure out how to access hardware transcoding using docker in rootlets mode but it never worked. Anyone knows how to do this?
8:46 just for the sake of confirmation, this dashboard is on cloud right? Does that mean I can set everything from my phone?
Not for the setup until then obviously, but I mean after casa os is already installed.
I run CasaOS myself on Ubuntu server with plex sabnzbd sonarr and radarr and it is great runs on an hp desktop i7
does hardware transcoding work with plex? when running it in cassa os
@@GodOfChaos_HeXa yup I have yet to see any limitations or restrictions
I've been using CasaOS for around a month now and have had no problems or downtime at all, plus what I use it for(pi-hole and jellyfin) it's way more than enough, I've been thinking of also installing a Minecraft server on it but that would require a slightly better hardware so for now it'll be an ad-blocker and streaming server
How do you point your other machines to the pi-hole running on your server?
@@newmfat I don't I just setup the whole network to work directly through pi-hole all the time
But basically you just need to configure the DNS of the device to be the IP address of the server, however just the server, not the pi-hole's final 4 numbers(idk the technical name right this second)
@@cesarvarela5438 thanks!
I just set up my noob debian home server without any these management tool (I have been a windows user in my whole life). I wish I stumbled on ur vid sooner. Dealing them through CLI manually, going back n forth from rdp to each app web ui were such a hassle tbh
CasaOS is the best one I've found for the Raspberry Pi 4b
Can you do a video on how to access this home server remotely?
CasaOs never heard before. I was just in the progress building something like CasaOs by myself, so maibe i can stop and just use CasaOs.
Today is day 1 with Ubuntu and I was hoping you could help me with 2 questions. First, I started installation using a different video and switched to yours when I found it. The other video had me install docker with terminal right after installing Ubunutu server (so right before you install Casa OS in this video). Will the fact that I installed Docker before Casa OS in anyway interfere with my setup? My second question relates to using Portainer with Casa OS and how they work together. Is it better to install apps using portainer, or directly from the Casa OS app store?
I have casaos hosting my twingate reverse proxy on a Raspberry pi 4B
RPi is a great for a home server. RPi 5 8Gb costs $80, so it's a little cheaper than you offer.
Can you set up a RAID array on these mini pcs though? It doesn't look like they have any space in them to allow that...
I plan on getting an intel n305 machine to run my router, pi hole, proxmox, vpn, and maybe a tf2 server if I have enough overhead left, all in casa os
quick question: how do you select the services to be restarted in the kinda purple kernel screen that pops up? i couldnt figure that out :/
Can you also easily add external storage with Casa OS?
A SFF pc will give you better performance than those SBC will. I have an RPI 4B 8GB and never use it for anything anymore after i picked up a 9010, put in a sff radeon card and upgraded it to 32gb of ram. have a second one i use for my media server. might get a third one from all the spare parts i have laying around.
yes a raspi 5'll work too
Does this setup can be exclusively on external drives?
I have multiples external drives, 2x3tb and a massive 12tb. Can I use the 2x3tb in raid (redundency) and the 12tb stand alone (like a giant usb key) like 2 different sources?
Is there a way to make them wake up if they go in sleep mode?
I have the NUC and I want to build this setup with the gear I have
I have a secondary drive with all my plex media files on it. How would I go about making the plex docker communicate with that mounted drive?
Nice video..ive followed your steps and managed to setup my first home server using a mini pc. Thanks.
My issue now is that when i leave my server for a while it goes to sleep/hibernation mode and cant access it from my desktop until i restart my server.
Do you know how to prevent this?
You might be able to change this under the bios settings. I would google your mini pc + bios and see if there is a setting in there to prevent sleep.
ubuntu server done, casaos done and real nice. but pihole and adguard will not install due to port 53... did it manaul with curl, still problems...
So, this is basically like a Synology server that you can install in your own hardware.
You can also install Synology's actual OS on your own hardware, with the Xpenology project
Can you use mismatched drives without losing space? Can the pool be expanded?
followed this video as my first goto ...few notes for others, for example I have an old smart TV, so logging in through the browsers doesn't...basically I'll be trying to install full version of ubuntu with gui +CasaOS or windows + jellyfin...
CasaOs says my cpu is at -11000 degrees celsius😂😂😂
Peak performance
It's a superconductor! lol
It's so weird to see Powershell in a video these days.
Can’t seem to find this mini pc anywhere
Home Lab....
That's a great idea 💡...
Thanks..
Linux developers and users have no equals when it comes to creativity, enginuoty and managing minimal resources.
So, if I got this right: Ubuntu Server is the actual server OS, CasaOS is kind of a dashboard combined with several services like Samba, sitting on top of Ubuntu?
Exactly
how do i make the server auto start when a power cut, so i dont need to click the power button on the server
Why would we want to transcode video from 4k to 1080p? Why not play it directly as 4k? Assuming this is in an internal environment? And if externally, how about a web server (nginx)?
@TechHut, what kind of applications? R? I need something more to google off of.... You peaked my curiosity.
Cooooool
What if you want to access outside of the network? And, how to update the containers when there's a new release for the app (say PhotoPrism) ?
You need to set up a reverse proxy. I'm no network expert, my current reverse proxy is built into Synology.
@@TechHut thanks. That gives me a place to start looking
Cloudflare has reverse proxy services called "Cloudflare Zero Trust"
GREAT VIDEO! Can this be done on a vm?
Of course! Definitely makes it easy to run that way and test out.
Something worth pointing out, CasaOS is based out of China. Could be a concern for some, and not for others.
Yeah, If you're a government employee don't use it.
So I have basically follow the video to a T, idk why I can't get ssh to work and idk why no matter how many times I have tried, CasaOS just doesn't show an IP address and when I connect to the servers ip it doesn't show anything. Their discord wasn't super helpful and I am not sure what is going wrong.
The Photo Backup isn't free ?
Portainer! 🙂
I have NOT been able to get casaos or open media vault to work
i have success just using server os & samba ONLY
Portainer in CasaOS or Portainer Standalone?
How do I get casaOS to use my full nvme???
Did I miss why you are using Ubuntu Server instead of Debian Server?
I am confused. Is HomeLab the same thing as CasaOS?
Say I buy one of those mini PCs... Is it ok to keep them on all the time?
that's the whole point. 24/7 service.
Is there a way to do it on an old rooted phone(s9+)?
sadly, it looks to me like casaos doesn't support 32bit. which, that isnt surprising considering how old 32bit is and how many others are dropping it.
i recently fished out an old desktop from a dumpster, and its a pentium 4 system, aka a 32bit CPU. its able to be a samba server, and is able to install qbittorrent. but beyond that, it seems it won't be able to be used much. which is a shame, the system runs fine. i wanted to use it till it actually died, ie the drive itself burns out, the power supply burns up, motherboard croaks, etc. but it being a samba server with torrent client will at least do something for me. just not as much as i would have liked because of its 32bit CPU :(
There are linux distros like antix that still support 32 bit, you could i stall one of those and revive it that way
@@ricardo5622
whats funny is that antix is EXACTLY the system i was referring to when i said that qbit and samba were still able to be installed.
however, that is still a limit, as most other programs are dropping 32bit support. which means that even my antix pentium 4 system will eventually not get updates for the various programs i want to run, and that would mean it would be a security vulnerability. which then would mean id HAVE to retire the system
wish i knew about this casaOs in January when I started with ubuntu server. at this point it would probably be a huge pain to transfer my container from docker-compose while keeping the volumes and all that
I've had very mixed experience with CasaOS this spring.
The idea is great, but back then the execution was bad.
can someone tell me what you would do with this?
Can anyone be kind enough to tell me what the use cases for this server is?
Typo in App Store timestamp.
how do i get the ip for the ssh
Hello! How to upload a server to access it on the Internet?
I don't want any SBC or PC with intel management engine in it. That is why I picked a rpi.
Anyone just tried connecting an external harddisk to the usb port of the home router and turning it on as a SMB shared drive? If you are not doing NAS-like RAID stuff, this is easier isn't it?
it's also just a shared folder and not a server with self-hosted applications
price seems to have gone up. nearly £200 now
I appreciate your knowledge however the title says "easy". As a beginner like myself, this serves as a very fast and difficult video to follow. I found this video by searching beginners build of a linux box.
You didn't mention mini air 11 can only take up to 1tb drive. That's a huge limitation that you didnt mention at all.
He literally mentioned it TWICE.
@@AlmightyEye when
How about privacy?
Damn, mini air 11 is gone and the 12 is $250 now.
everytime I put in my password it says its wrong. made sure to spell it right and everything
Kensington lock, not Kingston lock ☺️
ken sin ton . lock. yes.