EASY Make your own home server in 15 mins (CasaOS, Jelly Fin, Pi-Hole, Wire Guard, File sharing)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
if you saw my last video you know that I refurbished my 10-year-old laptop but I don't need an old laptop what I do need however is a way to share files between computers I have a media server that I can stream from anywhere in the world and block ads malware and popups if you're interested keep watching what I'm going to do is set up a home server that is cheap efficient and easy to do I can guarantee if you follow the steps of my video you will be able to add all the features I described earlier to your home network in less than 10 minutes maybe 20 first you need an old laptop or computer even an old laptop with a broken screen would work if you don't have one you can get an old op plx on kiji for this video I'm going to use my 10-year-old laptop it has 8 gigabytes of RAM a 1 tbte HDD a 120 gab SSD and an i7 4500u download a boon2 server and burn it to a USB then plug it into your laptop just go through the normal setup of a boont server and when you get to the part where you have to connect to a network just plug in your ethernet cable and then move on to the next step it's easier this way so now I'm at the part where I'm installing the OS since I have a SSD I want to use as a boot drive I'm going to boot from the SSD now it should show you're booting from SSD and your HDD should show up also I'm just going to leave it as default and click next go ahead and finish the setup process when this is done you're done with the server you can just go to your home computer now so now I'm going to sign to my router I'm just going to change my server IP to static which you can do in router settings it'll vary depending on your router I have a hitron router so the process is pretty straightforward I just have a list of all IPS connected to my router and I find my server IP and click add as you can see here at the bottom I already added it now you can open up your terminal and connect to your server just type in SSH the username you signed up with at and then the IP address of your server and then you'll get a prompt for your password go ahead and type that in okay so now we're going to install kasos so go ahead to the kasos website copy the curl command paste it in and hit enter and then it should install so we can see if everything's working now if we go into our browser and type in our server IP and there we go we get the web UI for kaso OS what kaso OS is essentially is a management tool for your containers and gives you a nice web UI which makes it very easy for beginners to learn now I'm going to go ahead and mount my HDD you can skip this step if you only have one drive now I'm going to set up file sharing so go ahead to network and internet and make sure you clicked private Network so now we're back in Caso OS I'm going to go into files now I'm going to click on my storage and now I'm going to create a new shared folder now go to the bottom left and Click Share find your folder and click get network path here I'm going to copy the Windows Explorer path now go into your file explorer and click map network drive go ahead and paste the file path here you can click browse to make sure it works select the right one hit okay there we go looks good so do this next step if you're getting an error that says something like you can't access the shared folder because now open up registry editor go to hkey uncore loore machine go into system now click current control set now Services now landman Workstation now click parameters now right click on a blank space on the right select new now click dword 32bit value name this allow insecure guest off capitalize the first letter of each word one word I already have it so it's not letting me now cck now click on the file and change the value to one I already have it okay now we can go back into kaso and we're going to change the port that the web UI uses from Port 80 to port 8080 go ahead and change that so now we're going to install Pyle so go to the official py hole website copy this curl command and paste it into the command line go ahead and let that run you can go ahead and follow what I do on the screen the setup is pretty straightforward you can choose whichever provider you want I'm going to choose quad 9 filtered I should note that there is another way to install P hole directly through kasos I chose this way since it's simpler but if you want want to do it the other way you do not need to change C's web UI Port from Port 80 to port 8080 however you do need to disable Ubuntu from using Port 53 there we go it's installed you can put that link and password into your browser to sign into py hole okay so we are logged in and pile is set up and running now we need to connect a pile from our machine so go into network and internet go into DNS server assignment change that from automatic to manual turn on ipv4 and put in your server address all right let's test it out there you go as you can see it's working total queries and block queries are both being updated here is it side by side so you can see all right so now we're back in kasos we're going to go into files storage and here's a movies folder and I downloaded and copied over these copyright free movies so now I'm going to show you how install Jelly fin go into the App Store click get let that install click jelly fin now go through the setup when you get to this window you can go ahead and add your media if it'sit all on one drive but I'm going to show you if you have another drive for your meter like I do it's not going to appear here which is fine just go ahead and finish the setup for now we'll get back to that so go back to cassos and then in the top right corner of jelly fin you'll have these three buttons go ahead and click that and go to settings now scroll down and go to volumes and click add now click the button on the right side of the text box and find the PATH where your storage is mine is Mount and then on the text box on the right type in slash storage let that save now click on Jelly finin now click on this button click add media library choose content type type in the display name and now click folders and as you can see my drive appears now and I can choose the movies folder so now I'm going to go back to the homepage and the two movies I had loaded perfectly I'll play one for you to see as you can see the beautiful city of Toronto stunning so now we're going to set up a remote connection to the server go over to duck dns.com create a domain and name it whatever you want I have mine here it's bit biter now go over to install click Linux KRON and choose your domain now follow these steps to get duck DNS working on your server I will very briefly go over what is going on here so your router's public IP address is dynamic and always changing so this script here gets your IP address and Maps it to your duck DNS domain and this next script here just runs that first script every five minutes that way through the domain you can always access your server now go back to your router and we're going to enable port forwarding so here I am in my port forwarding settings as you can see I already have it set up but I'll show you the settings I have so right here the application is named wire guard the protocol is UDP and the port is 51820 and the IP address is your server IP address okay now go back into cassos go to the App Store and search up wire guard here we go wire guard easy install that now click on the three dots to the right of the icon and click settings scroll to the bottom and now you have these settings under environment variables you can go ahead and change your password to whatever you want now change wire guard host here duckdns domain name change what guard port to 51820 so this next part is optional change default DNS to your server IP this is so that whatever device you're mowed in with will also have pile filtering your websites now go ahead and open up wire guard so I already added a client just click new in the corner and add your own client and then click this QR code button and the QR code will appear on your screen all right now we're going to download the wire guard client on our phone to see if everything works correctly if this works we'll be able to access our server through any device on any network here I am on my iPhone on the wire guard app now go ahead and click the Plus on the top right corner click create from QR code and scan the QR code that was on your desktop now enable the connection and let's go over to the browser to test this out as you you can see I am on data and I'm going to put in the server IP fingers and there we go as you can see it is working correctly and now we can access the server when we are not connected to our home network so the last thing we're going to install is portainer this is a container management tool and it will give you that extra bit of control over the containers that you install go ahead and do the setup it is pretty straightforward and here as you can see we have three containers and four Images so that is the end of the video thank you all so much for watching and thank you so much for all the views on my last video I spent a lot of time on this video and it would mean a lot if you would like and subs subscribe and go ahead and comment what container you think I should install on the server
Info
Channel: BinaryByter
Views: 11,538
Rating: undefined out of 5
Keywords:
Id: qn192xxjmUA
Channel Id: undefined
Length: 15min 7sec (907 seconds)
Published: Sat Mar 23 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.