Perfect Home Lab Cloud Backup Server setup for India - Detailed Guide
Vložit
- čas přidán 8. 02. 2023
- Almost free / Reusing old hardware and works via any Internet.
You don't need very expensive rack servers for creating your self hosted home lab setup. Any Computer can be converted into a self hosting server at home.
In this video, I am creating a home lab server by using and repurposing a very old Desktop PC. This server will be connected to the internet, always on and will work just like and as an alternative to Google Drive / One Drive along with a personal NetFlix or Prime Video type streaming server.
Anything (Photo/Video) that me and my server users (like Family Members or Friends) will click using their mobile can now be automatically uploaded and backed up in this server (Using NextCloud Server software) and they can view them using PhotoPrism front end. Further, any movies or such uploaded here can be streamed using JellyFin Server.
In this guide we are using CloudFlare Free Account. Server is exposed to Internet via CloudFlare Tunnel and access via your own domain name. Local home connection doesn't need any Static / Public IP, setup will be accessible from internet even behind a CG-NAT
You can convert any Computer, Desktop or Laptop using this guide into your own Cloud Backup and Movie Streaming Server.
Step by Step Guide (Our WebSite Tutorial) :- lazytourer.com/in/self-hosted...
Our Previous Guide (Creating NextCloud Server and Exposing to Internet via AWS VPS OpenVPN) :- • Creating your personal...
Cheap Domain Name (Updated List) :- lazytourer.com/in/free-hostin...
Dont have any extra computer at home or in office to do this? Dont worry, you can purchase really cheap but good used / 2nd hand PCs for this kind of project. Here is a guide, where we show you step by step process to buy an used desktop PC and convert that into a personal cloud backup server :- • Guide to Buy used PC f...
----------Contact us------------
Twitter :- @LazyTourer
Instagram :- @LazyTourer
CZcams :- @LazyTourer
Website :- LazyTourer.com
Media Contact :- contact [at] lazytourer.com
------------------------------------------
---------------Music---------------
Vexento :- • Vexento - Masked Heroes
------------------------------------------
#homelab #selfhosted #cloudserver #india #hindi #tutorial #guide #stepbystep - Věda a technologie
main pakistan say hon aur apki pehli video dekhi
aur yehi soch raha tha details video ho.
thanks
Amazing. Loved ur work n simplicity
Glad you liked it :)
Main nay subscribe kar liya hay.
aur main intezar karon ga essi mein raid setup ka.
Bhai aap aur videos kyu nai banwa rhe... Pls dont think about views and all. Aage chalke sab home lab hi banwaenge.
Amazing content and videos 🤟🫡💪🏼
Hello Brother,
Thanks for the encouraging words.. Little busy with things in life.. So didn't get additional time off from life and it's struggles to produce more videos 🤕
But when I do free up some time, I will produce similar content.
Thanks.
Nice review 👍🏼
nice
video k shuro mein he sawal tha k raid kesay set karain gay ?
kya es mein raid set ho sakta hay ?
cloud k back up ko save karnay k liye ?
Sir can u please explain if how we can setup a raid with atleast 3 HDDs with redundancy and use that storage to store the data for this kind of server
The video is very clear confined to the point of building a server with all necessary details. Thanks for making one possible.
I have few quick questions.
1) I wanted to build this as home file server (with each individual can set their own creds) would that be possible by any way?
2) Can I use RAID5 with 4 HDDS of different sizes like one 500gb SSD, 2x 8TB (7200, 256 cache SATA III), One 6TB (7200, 128 cache sata iii)? If so, howmuch it would cost more?
Hey,
Thanks for the appropriation.
Servers are purposed built and depending on use case, one would modify software and hardware.
If you may notice, in this example, I have used a bare minimum, almost 20 year old configuration for demonstration.
If your configuration allows much modern high core count and more RAM (mainly RAM matters), then consider deploying VMs.
Nextcloud supports federated shares so two separate nextcloud instances can share between each other.
Seperate VM will allow you to put vdisk on seperate physical HDDs.
RAID can be handled by the hypervisor in this case.
Now, regarding mismatch of HDD, remember, mirror raids needs similar size, else the lowest size will only be usable. For striping, any size can do, but it's super risky as one disk failing will kill the entire raid.
Thanks
Thanks for explaining
Please setup the raid system on this server... I am waiting for the video.
Same hardware setup mein extra hard drives add karke truenas software ke saath setup video jo morroring ya backup of backup of backup support kare wo banaiye
Ankur Ji, there are plenty of really good tutorials from established CZcamsrs on TrueNAS or FreeNAS.
You can follow any of them, all of them are of excellent quality
I won't be adding any value by creating the same video again
Thank you for your comment 🙏🏻
Cloudflare tunnel ke sath website hosting ka video bnaiye
Sir, Please make another video of the same project but using Raspberry Pi.🙏
Sir Ji, second hand full PC is cheaper than a Pi India.. Availability of Pi is soo poor in our country
But actual process is same, since commands are same for ARM too
Hi @lazy Tourer,
I have set my cloud as mentioned in this video and the reference blog provided.
Currently I can access next cloud via domain on browser (both on mobile and desktop / Laptop).
However, cant access via domain in windows or any of the mobile apps.
In addition, im not able to access data stored in NC, from jellyfin or photo prism.
can you please guide me to troubleshoot the issue
do u got solution?
I have a lab with 400 computers and pfsense firewall dual internet connection and with one connection having static ip right now i want to setup like nextcloud application which is running in intranet as well as internet your suggestions are valuable please share your ideas to help me setup to it
Hello,
Nextcloud is a highly modular software and has multiple ways / methods of deployment.
In our videos, since we planned for home lab setup, we went with Snap Package. It is the easiest since it packs all the dependencies and related setup or configuration of theirs. Snap Packages are self containing and auto updating so it brings zero maintenance headache.
However snap is very limited it terms of deep customization or integration with other applications and such.
For advance mods or customization, there are docker containers for NextCloud and last, the most complex but which gives you absolute control is via package by package native installation.
Depending on your need you will chose what suits your workload and ambition the best.
Networking stuff is same with any. Nextcloud needs port 80 or 443 to be forwarded from your firewall or in case you have reverse proxy, so route it from there. It is not that difficult, same as any web server.
One thing I would definitely worry about is the number of active users. If 400 LAB PCs with 400 users are simultaneously accessing the Nextcloud server, then plan to built it with that much of processing and networking power. Resource utilization shoots up with number of active users !!
Nextcloud only setup -> czcams.com/video/aDsMWGgftpw/video.html
Thanks.
Hello sir i loved your videos. Sir meri requirement h cloud sql server ki , is it possible. I don't want to buy Google cloud or Amazon aws subscriptions. Pls guide me.
Hello,
Public Internet accessible server needs Public IP. Google / Oracle / AWS or any VPS is used in our guide for accessing their IP. CloudFlare can be used in this concept but via domain names.
Yes, your SQL server too will work, process is similar, there, in reference to this guide you need to set subdomain linking to your SQL VM and the respective ports.
Thanks.
I have one more question Under DNS records there are many entries in CPlanel of go daddy what to do in this scenario
Hello,
GoDaddy / cPanel are two different things.
GoDaddy provides both domain name & hosting.
cPanel is for hosting. You don't need hosting for this setup, you only need domain name.
Now GoDaddy will offer you a control panel (note, domain control panel & cPanel are two different things) for domain name DNS records.
If you are referring about that control panel then you don't need any other entry. You only need to change or add NS (Name Server) entries.
CloudFlare will generate the NS values, so take them from there & add them in your GoDaddy domain DNS control panel.
Thanks.
Sir if I want acces my server through ssh outside the network then what i do?
Hi,
SSH works with port 22 under SSH protocol. So you need a direct connection between your host and server. Here, in this guide, we are using CloudFlare (VPN Tunnel) since we dont have a Public IP and we are (most Indian ISP) behind CG-NAT.
One work around is "Apache Guacamole" project. It runs in docker. In this guide we already have docker installed so just matter of creating another container for Apache Guacamole.
That will allow Remote or SSH via Browser. I am using it, performance is excellent.
Check that out..
Thanks.
everything goes well but the jellyfin data not showing content from nextcloud data folder
what can be the reason sir?
i have found the solution
Sir I am using Alliance broadband connection and my ISP provide ip and subnets through a masage and my router IP configuration is static So does this mean I have been given a static IP?
Hello,
That Static IP given to you is a CG-NAT (WAN IP). It is not Public Internet IP.
You can verify by search "what is my ip address" in Google, there are websites showing you the actual Public IP. If that shown IP is same as given in message by Alliance, then you have a Public IP. Otherwise, that shown IP is shared (like your LAN but in ISP area) by many users.
Thanks.
just use ipv6
Full Video Tutorial Banao Jamaj Me Nahi Aa Raha He
Sir can you help us finding cheap and working hardware
Cuz second hand retailers are either scammers or dumb braindead
Who want to sell thier 10 yrs old components at the price they purchased without depreciation that's the first issue.
Scrap yards it's hard to get working machines
I met a sellers on Facebook marketplace who wants to sell a i3 4th gen 500 GB HDD WITH less than 2800 rpm a zebronics motherboard at 18k not one most people doesn't think about pricing
Funny but have you tried Amazon?
Here is the same PC you are talking about, in fact little better,
Core i5 4th Gen / 8GB DDR4 / 256GB SSD / Windows 10 Pro License (OEM)
Rs. 7k -> amzn.to/3SJjFVx
Home Cloud Ubuntu Server kaise create kar sakte h public ip k saath jisko hum outside Local Area se access kar sake.
Either you need to subscribe to Public Static IP from your ISP
Or you need to route the connection via a VPS with OpenVPN tunnel
We have a guide on that, as how to create using AWS free VPS. Check that out
czcams.com/video/aDsMWGgftpw/video.html
I have a question
You said that we can run this cloud server on any network even on hotspot but you use router and you assign DHCP in router settings. How can assign DHCP when I'm using phone's hotspot? , ALSO you skipped explaining the network setup 15:34 and how can i connect my pc to internet when I'm using hotspot it doesn't even make sence.
Maybe I'm not getting what you are trying to explain.
Give some time to explain my query, PLEASE
Hello,
Brother, when you are using a hotspot, suppose from your mobile phone, that phone itself acts as "router" with its own NAT DHCP Server inside.
When a WiFi client is connecting to that phone's hotpot, it will treat that as just another router.
In simple words, turning on hotpot in your phone turns that phone into a WiFi router.
Now I am unable to understand the second part of your question, please elaborate as what do you mean by connecting your PC to internet?
Thanks
@@LazyTourer sir,
I'm just confused how do i configure network settings with phone hotspot please guide me on the network connection page 15:34
As per now 5G is unlimited and free in india so i thought i use 5G mobile network instead of using fiber connection/router (also i use my friend's wifi so i can't assign DHCP to his router, uk what i mean 💀)
ALSO please start making such content we would love to watch stuff like this, I've a request that you make video on TrueNAS Core cloud server setup. Appreciate your reply sir 🙏🏻
Hello,
Most of the mobile hotspots doesnt have this advance router feature in their hotspot software (OS ROM). Many custom android roms do allow you such MAC ID based DHCP IP assignment in their hotspot software but in case of standard Android ROMs, you wont have this feature.
Work around is to visit the mobile hotspot page in your mobile and check what IP it has assigned the to the PC. This LAN IP wont be static and may keep changing with every time you connect and disconnect from hotspot.
Internet access to the server wont be affected since that will be using your domain name via cloudflare tunnel, so it doesn't care about your local setup but local access will have to use that changed IP.
Thanks.
Sir do we need to attach a monitor in the server CPU after the work is done?
Hello,
No need for Monitor / Keyboard or mouse in server after OS installation.
You only need display / keyboard /mouse in server for Operating System installation. After the installation, you can control (further Software installation) the server via Remote access from any PC / Laptop connected to the same network.
Thanks.
@@LazyTourerThanks Sir for Answering I have one more question what if there is power loss will the server automatically turned on or I have to turn it on remotely from another device with same wifi?
Hi,
This is a motherboard related feature. It can't be controlled via software.
Check in your motherboard BIOS, usually under power option, if there is any such features present.
Usually, unless the board is a cheap Chinese replacement, all major motherboard manufacturers do include this option of Auto Power on in case of AC power failure.
Thanks.
Sir isme Static public ip and port forwarding required hai kaya ?
Waiting for your reply 🙏
Hi,
It seems you haven't watch the video entirely.
CloudFlare Tunnel is a vpn tunnel platform. That is used to bypass the requirement of a Public IP or local network Port forwarding.
Effectively allowing this setup work under IPv4 CG-NAT based ISPs
Thanks.
@@LazyTourer sir I have watched full vedio
Just confirming
agar mujhe extra storage baadme se add karna hai toh uska kya process hai ??
Process of Adding HDD would be the same as mentioned in this tutorial.
1. Shutdown the Server
2. Plug your storage
3. Start the Server
4. Follow the commands to add / format & mount the new drive
Now you need to follow the mv command to move existing Nextcloud user data from the default local to the new drive location & then edit that Nextcloud config file to reflect that new location
Reboot the server. Nextcloud is now moved to that extra disk that you have added !!
How to do the same thing using snat ip?
Pardon me, but sir kindly watch the video or read the tutorial.
This setup uses Cloudflare Tunnel so it doesn't care about your IP type.
Public or NAT IP, this setup will work with any and all type of Internet Connections
Thanks
in installation photoprism configuration code we have to change only password or username and password both ?
secondly is this password and username same as login user name password of ubantu server ???????? because i dont have any account on photoprosm
Hello,
Yes, you may change both user name / password in PhotoPrism docker compose template.
And no, this is for PhotoPrism application only.. So it can be anything or if you want, it can also be same as Ubuntu
It is not dependent on Ubuntu account credentials
Thanks
@@LazyTourer okey i understand thanks a lot for your replay & support bro
Sir can we use dedicated nas.
Hello,
If you have a dedicated NAS, chances are, these applications, like Nextcloud or Jellyfins are built in features.
So you don't need this tutorial
Thanks.
need helpp to build this
What's the problem? Where are you stuck?
How can I get cheap hardware in india, I'm lost finding cheap and working herd ware, like the hardware that is not too old and is able to handle some services, like jellyfin and nextcloud etc.
Hello,
If you notice, I am running this server with
Intel Core 2 Quad Q6600
8GB DDR3 RAM
256GB SSD (Boot)
Mechanical HDD (for data storage)
1 Gig TP-Link PCI-E LAN Card..
And it is running fine for home use with around 10/12 (total) users accessing it and backing up to it..
If you dont mind, try FaceBook Market place / OLX or local computer market to see how cheap this hardware is..
Dell / HP / Lenovo type business PCs with 4th gen Core i5 usually available within 10/12k range, even lower if you are from large cities like NCR / Mumbai / Hyd / B'Lore / etc !!
Thanks..
Thank you very much for your detailed reply.
I have often seen like people in developed countries the get many hardware from e-waste bins of their companies, Don't Indian companies do that? Like have you ever found some hardware for free or been donated by organizations?@@LazyTourer
Hello,
There is a reason why we went to the moon at a lower cost than some mid budget Hollywood movie.. Indian's, that including our companies, don't waste anything.. Specially in Server end, life cycle of products are like 8 to 10 years so you will get server hardware but they are like 10/12 years old
Regarding e-waste, Q6600 processor is like Rs. 400/500 in local market.. If you dont mind, check your local market.. Anything below that would be valued more than the metal present in that CPU
Thanks.
I was thinking of building a 10k home server just for some small services, then I had this thought that I would better buy used hardware, cz even used hardware might give better results and would do that job of learning purposes. I don't have a spare PC at home, and nor do any of my friends and family have one, I would like a PC running or 24/7 mainly that would be for streaming puposes, like If I have a movie on that serve and then I would like to stream that over to any device connected to my local network. And the recyle part that you told came into my mind when I was typing my previous comment, that the Companies must be recycling the e-waste of doing some make shift thing and still using them.@@LazyTourer
Hello,
I dont know which city you are from, but I have checked (& purchased myself), in major metro cities, you can get Dell / HP / Lenovo type business Desktop PCs (CPU only) with Intel 3rd or 4th Generation Core i5 with around 8GB RAM and 256GB SSD at that 10/12k price range.
They pack more than enough punch for being your home server.
Thanks.
Please tell, how to secure the cloud.
Which cloud?
Windows pc me nextcloud ko setup kese kare sir
Hi,
Nextcloud Server has no Windows executable so directly toh ho ni payega..
Hyper-V / VMWare / VirtualBox -> These are software which will allow you creating VM (Virtual Machine). Toh linux VM banake uske andar app ko install karni hain.
Thanks.
@@LazyTourerSir is there any tutorial to make it
yeh bohot e dificust and long process , is there any easy process that actually work without commends ????????
Hello,
Pardon me, but linux commands will always be there in server setup guides..
But yes, things can be little easier with TrueNAS and it's built in applications & static public ip in your router..
Thanks.
How to setup raid?
Hello,
That's a whole new topic itself.
There are hardware RAID & Software based RAID
Most of the desktop motherboard will support hardware RAID & all modern OS supports software based RAID
We haven't made any tutorials on this topic so you need to search & read or view other videos on this topic
Thanks.
sir android mobile kaa cloude server banaye
Ye server ohi kam ke liye hain.
thanks.
Sir ise raspberry Pi pr setup kro
Sorry, I don't have a Pi :(
Too costly in India.. 2nd hand PC is cheaper :(
@@LazyTourer thank you. Actually I considering pi due power consumption but now I will try to do this on mini PC.
Video is very informative keep it up.
Hi,
If you can afford it, definitely go with Pi. It will save you good money if you end up running it for a few years non stop.
Step up process is the same. Few things may require ARM specific commands but mostly, all are same, system will install arm specific stuff for ARM
Good luck
Thanks
*promosm*
zero trust ka under tunnels option nahi hey , zero trust ka under wo trem creat karney keliye bol raha hey , kaya aap hamesa wrong information dete hey
Zero ke andr access ke andr check kro
Hello,
Pardon me sir, but video upload date ek baar dekh lo app.. 2 saal hone ko hye... Ab iss bich main cloudflare walo ne apni website design change karli.. Par hum apni video ko edit toh nahi kar payenge..
Right now, this option is found under Zero Trust -> Network -> Tunnels.. Here is a screenshot from my account..
Check here -> i.ibb.co/vBpwY95/001.jpg
app khud soch lo.. ye "wrong" information hain ya "out dated" information..
Thanks.
@@LazyTourer no its ok
@@LazyTourer bro can you says where i found sub domain
Hello,
As I have shown in the video. One needs to buy a domain name.. It's about USD 1.5/2 per year.. You will need an international payments enabled credit card..
Domain extension, like .com or .whatever doesn't matter, but you need to buy something
Many domain sellers run super cheap offer for many unknown extensions.. Usually I target those, like .pw .online , they are like USD 1.5 or USD 2 for the entire year..
Thanks
Mera media ye hai /media/jellyfin to is hisab se mera file kya rhega access wle step pe
Hello,
./media:/media
This line you need to edit in that docker compose file.. the first part, change from ./media to your actual location, like for your case,
/media/jellyfin:/media
thanks.
Sir jellyfin subdomain ke setup kha btaya wha atki hai baat
Hello,
You can refer to our website article here -> lazytourer.com/in/self-hosted-home-lab-server-in-india-with-cloudflare-tunnel-for-external-internet-access/
time bachane ke liye arr ek subdonain nahi dikhaya, final edit ke cut kar diya woh scene..
Same process as Nextcloud subdomain - jellyfin.youdomain.something aur localhost:port .. Yeha pe port number is 8096 for Jellyfin !!
Koi extra additional settings not required for JellyFin subdomain..
Thanks.
@@LazyTourerkya ap mera system anydesk lekr setup kr skte hain mai apko anydesk remote de skta hun
Hello,
Sir ji, khud karne ka maza hi kuch aur hain.. Try karo naa app, hum hain na rescue karne ke liye agar kahi par atak jao toh !! Comment par batana..
By the way, khas karke, server par kavi v kisiko remote mat dena.. Kya pata kaunsi malware / backdoor dal de koi..
Thanks.
@@LazyTourer abi b resolve nhi hua nextcloud ko chod ke bki ke sub domain nhi open ho rhe or na hee jelly or photo vle sync ho rhe hain local ip pe chl to jaate hai pr data kuch nhi hai wha