4

So lately I've been thinking about building a server and running at home. I'm hoping that in the long run it would end up being cheaper than having a bunch of VPSes. Do any of you have experience with running your own machines? Do you think that consumer grade hardware will be sufficient for running at least a year?

Thanks for any input... :)

Comments
  • 3
    @haxk20 (did I spell that right this time?) @Linux

    @Condor and @Linuxxx maybe?
  • 1
  • 2
    Consumer hardware isn't meant to run 24/7 so I would stay away from it. And TBH you can get pretty decent enterprise hardware for cheap.
    There you can be sure that it will run.
    But please when you are setting it up at home. Make it secure. And I mean secure not just firewall. Cause well it runs on your home internet. Since I guess you would love to have control over it outside lan.
    Experience: almost half a year with enterprise grade hardware server at home.
  • 0
    @Haxk20 That was my guess as well. I haven't been able to find any "cheap" server hardware, but I guess that depends on what you mean with cheap. Is there any manufacturer or specific hardware that you'd recommend? Perhaps something you've ran yourself?

    As for security, yeah, that's one of my concerns. That and potential fire hazards. When you say not just firewall, what other security measures are you thinking about? I can't really think of anything on top hardware and software firewall, good control SSH keys, and knowing what I actually install.
  • 1
    @ScriptCoded Firstly do not enable ssh port always. Try to set up a kind of otp of sort. Have one port that when you send specific string to it it will open ssh port just for your IP at the moment. Or we'll have the ash behind VPN as I do it. Small vps that runs VPN and you connect through there. Good router is also one thing you want.
    There is lot of stuff you should do for security.
    And well as for hardware I have dl360e G8. It's good machine but it has few issues. One of which is that not all disks are supported and can cause fans to go full nuclear mode on you. (And trust me when I say it's really like jet engine starting. Not kidding. Had the pleasure of seeing jet engine in action and yeah)
    If you want to have fan control and all disks supported go for something DELL. Sure it's more expensive but it's good.
    I bought my machine for 150$.
    2x E5-2430v1 (6core 12 threads) 16gb RAM and no disks. I had to buy them myself.
  • 0
    @Haxk20 Thanks for all those tips! I did some searching for the equipment you mentioned, and funnily enough someone posted just that exact server you have, but with 48GB ram, for arount $300 on a Swedish trading site.

    But I'll dig in to the whole security thing a bit more. And keep my eyes open for cheap servers ;)

    One final thing. Would you say that E5-2430 has good performance? It's as old as 8 years now.
  • 1
    @ScriptCoded it's about double the performance with my ryzen 5 2500U. It's on par with performance with new ryzens 5 I think. But I'm getting E5 2470v2s soon so yeah. 10 cores and more Hertz to come with it and faster ram clock cause 2430 supports only 1333
  • 1
    @ScriptCoded also 300$ is too much for it. Like way too much.
  • 0
    @Haxk20 Even with 48G of RAM? Anyways, if it makes that much noise I'm not sure if I'd like to have it in my small apartment ;)
  • 1
    @ScriptCoded at normal operation I can sleep with it. Nuclear mode ? Run bitches run.
  • 1
    Been a while since I checked the app (silently left basically) so I only saw this now, sorry.

    I wrote about this on https://ghnou.su/server previously. Other than that I have 3 VPS's that reverse proxy to my home for all the services including that webserver. I'd suggest making the VPS's VPN into a server at home rather than the other way around to reduce the amount of connections needed.

    You can use consumer hardware really, as long as it's somewhat decent. What's often regarded as hardware issues is almost all the time buggy drivers or otherwise software issues. Other times it's workstations often having way too many components in the software stack. A simple server OS can run for months at a time even on otherwise "shitty hardware". I've been running a Thinkstation S10 for 100+ days straight now and while Think devices are by no means bad hardware, that's not fancy server hardware. It's also not new. But it works!
  • 1
    @Condor I'll have a read though that page. Current status right now is just gathering hardware, but that's at a little halt now with the whole Corona thing.

    And welcome back :)
  • 1
    @ScriptCoded thanks! I don't know if I'll rejoin yet (right now I barely monitor my notifications) but I really appreciate it :D

    As far as hardware goes though, particularly the Supermicro and rack servers in general are something I'd recommend against - they're too noisy. Any old machine with an ATX style case should do the trick and be easy to modify. Just run them for a month or so with no load first to see whether they have any hardware instabilities. If not, I'd say they're good to go - rest assured that most issues will probably be software issues (usually they are). But after that, any hardware does the job really. Whichever old hardware you have that runs e.g. Debian will likely be suitable. During the lockdown (though as of recently that seems to be close to the end fortunately), that might be a nice project :)
Add Comment