Agreed.
I spent so much time wrapping my brain around traefik and reverse proxy until some helped me and I setup traefik in a whole week (8-12h each day).
But most of it was research and trying out. And failing hard for the first few times.
Comment on Where to find guide on self hosting for a complete beginner?
Wxfisch@lemmy.world 1 year ago
Asking broadly like this is akin to asking for a guide on how to cook, it’s generally too broad for there to be a single guide. You first need to figure out what your goals are (you state one already, you’d like it to be externally accessible), determine what services you want to host, and then start looking at how to do so.
The advice I’d give is to start with a solid base, you’ll need something to self host on and it really shouldn’t be the PC you use for other things. Get it setup to run a virtualization OS such as proxmox and use that as your starting point. Then do a lot of reading. I spend probably three to four times as much time reading about the service I’m planning to deploy compared to actually doing the work to deploy it. Lastly, plan. You should have a solid plan in the beginning of how you want your service to work (what will be external vice internal only, how will you setup the networking stack to do that, are you going to have a domain, and will you use subdomains or folders to divide services, what does your IP space look like, will you host your own firewall to make the networking more controlled or fight with your ISPs router, do you want to use docker, kubernetes, or maybe full VMs for each service, do you want/need a UI to manage things from or are you comfortable with CLI, etc). These answers will lead you to guides for various services as well as service specific forums where help is more focused.
Appoxo@lemmy.dbzer0.com 1 year ago
jonathanvmv8f@lemm.ee 1 year ago
That is a great analogy of explaining the broadness of the concept of self hosting that I wasnt able to understand from the other comments.
As a beginner, I would like to start out with a storage provider like Google Drive (& Google Photos). I currently don’t have any hardware for a home server but I can get one as per my requirements.
The biggest issue for me would be the OS running in the home server. I would preferably want something compatible with Windows since I have worked with Windows for my whole life. I am also fine with working with Linux, however I don’t want to spend weeks banging my head on setting up and using Linux before I even start configuring it for my home server. I will be able to handle learning about networkings of the server on the go and troubleshoot problems as long as the OS does not bother me. As with self hosting, I am a beginner in the field of Linux so I don’t know what ‘distro’ would be best for me for this purpose, but nonetheless I will research more about it thanks to your headstart.
Appoxo@lemmy.dbzer0.com 1 year ago
I see you want to store photos/files and you mentioned bitwarden.
Remember: Backup, backup and backup.
And if possible: Test it.
rambos@lemm.ee 1 year ago
I still feel like a noob, but I spent a lot of time to get to this point where I am now. I can install fresh OS and run Nextcloud in less than 1 hour probably. When I started it took few months, I was burning all my free time but I loved it. It takes only few steps, but its probably a pain if everything is new. My steps would be:
Googling steps above for your OS or hardware should point you in the right direction, but there are many other ways of course. You can use any OS, but Linux is the way to go, especially if you are looking for help on lemmy.
Im accessing server using wireguard, it behaves like Im home and it needs to be set on each client (scanning QR code or loading config). Wireguard requires opening port 51820 on your router, but that should be safe enough. Alternative is tailscale that doesnt require opening port at all. Other options are probably too complex (read unsafe) for begginers afaik.
If you are going to selfhost cloud service then also look into backup solutions. Losing data is not fun at all.
My post might not answer your questions, just wanted to share my thoughts. If you decide to dive into selfhosting, Id say arm yourself with time and patience and get some cheap or free hardware to start with (old laptop with dead screen and battery should be more than enough) and enjoy your linux advantures.
Good luck
jonathanvmv8f@lemm.ee 1 year ago
Wait, is an old laptop also good enough for setting up a home server? I thought you would require a completely separated and dedicated PC box like the ones you can see in studios or offices. That’s new to me!
Tippon@lemmy.dbzer0.com 1 year ago
You can use any computer as a server, you just have to realise that low powered computers will be able to do less than something more powerful.
As you get into it more, you might find that you need better hardware, or more network ports etc., but most of us would probably be ok with a decent PC.
macallik@kbin.social 1 year ago
Definitely look into laptop servers. They have the benefit of having a built-in screen, keyboard and battery in case power goes down. IMO, as a fellow newbie, it's an easy way to dip your toes into hosting using existing/cheap resources
rambos@lemm.ee 1 year ago
Even small SBC like raspberry pi can be a home server. SBC, laptop, SFF PC, office/gaming PC, server rack, …they are all options with different pros and cons. What hardare you need depends on your use case. Free or cheap hardware is best to start with IMO. You might find you dont even need an upgrade, and if you do, you will probably know what you need
chiisana@lemmy.chiisana.net 1 year ago
At the same time, despite what others have said, ho slow. Don’t fall for the all too easy trap of wanting to get the latest and biggest. I ended up with a 2U quad sock server with 256GB RAM… why? Uncalled for and totally not necessary! Start slow and when you find the services you’re hosting no longer performing the speed you’d like, then gradually scale up.
Appoxo@lemmy.dbzer0.com 1 year ago
Anything with a CPU, RAM, a SSD/HDD and a network port can host something.
Even an old smartphone could do it.
Could it do it well? No. Can you do it? Certainly
It’s like with tools: You can use a drill to make holes or use it as a hammer. Is it a good hammer?