/hsg/ - Home Server General

What kind of home server do I need?

Are you hosting a website?
howtoforge.com/tutorial/install-apache-with-php-and-mysql-on-ubuntu-18-04-lamp/

Are you storing data as a backup?
lifehacker.com/turn-an-old-computer-into-a-do-anything-home-server-wit-510023147

Are you looking for a domain controller?
getfedora.org/en/server/

Last thread: Are you looking to virtualize?
my.vmware.com/en/web/vmware/evalcenter?p=free-esxi6

Mistakes to avoid:
linkedin.com/pulse/top-seven-mistakes-when-building-home-server-bernd-blume

Attached: I stole this image.jpg (3264x1840, 771K)

Other urls found in this thread:

flurdy.com/docs/postfix/
youtube.com/watch?v=5OfwhGQONbg
en.wikipedia.org/wiki/Deployment_environment#Environments
en.wikipedia.org/wiki/Sender_Policy_Framework
twitter.com/NSFWRedditVideo

I copied shit from the last thread but if your hosting your own site just get a VPS

remember to use your server to host porn for other anons to download

Any of y'all tried to use a librebooted Opteron 6100/6200 server for anything? Or coreboot for that matter? The whole project interests me

Anyone run an email server?

Bump because I want to run my own too

In the process of setting up a Slackware server with imapd. Not heaps happy with admin processes for imapd though.

Alright I've got to get a raspberry PI for a class due to its GIPO pins, now the standard is to use a pi zero W, but is it worth getting a model 3B or model 3B+ so I can use it as a NAS after or should I just get the zero, sell it at the end of the course and buy an odroid

Zero and sell it.

I'm using a 3B+ as a leech box & obviously I have to pull the downloads off via samba/scp.

If you're concerned about power consumption & are patient, it's really not a bad choice for a home NAS given the price.

If you want true gig ethernet, high performance, etc, look elsewhere. It bottlenecks pretty hard. I haven't tried using a USB NIC with it or USB HDD...can't imagine the performance would improve much.

Im working on this now. Going to run qubes os on it. Pretty excited about it. Been buying the parts over the past year.

I want to know if I should be concerned about it? all I want to use the nas for is a seedbox, samba share and occasional plex server so I can watch my porn off my phone

Yes I do.
Running Postfix/Courier

Make sure you have 3-6 hours of time before you start.
flurdy.com/docs/postfix/

Yup. Been doing for the last four years. Ubuntu 14.04 base os, postfix smtp + dovecot imap.

Can't really point to any particular guide. I used to follow guides but stopped because I realized that I was pasting commands without fully understanding them.

My advice: invest an afternoon reading the docs at postfix.org, and another afternoon reading docs at dovecot's website.

Super worth it.

I have simple home server for torrenting. It runs debian8 and rtorrent+flexget. Flexget executed with cron. It worked for couple of years just fine, but as of few days ago cron has stopped flexget execution. If i run the very same command from crontab it runs flexget just fine. I haven't changed anything in crontab config for like a half of a year.

Buy the zero recommended for the class, and keep it for random projects. It's dirt cheap. Sucks for NAS use, because of the shared USB2 bus for all externals... but if you're in a pinch it will work, just slower than you'd expect. Is you really want a dedicated NAS, a generation or three old atom board is cheap and power efficient, had built in SATA, usually built in ethernet and WiFi, and will outperform the pi1/2/3 in all NAS operations.

Spent last weekend setting up postfix and dovecot, everything works except Gmail's putting all my mails in spam folder. Is there any particular configuration/setup required to fix this ?

>What kind of home server do I need?
If you have to ask, you don't need one.

The home server meme is overhyped
People going out and spending a bunch of money on high power systems that are essentially idle.
People spending a bunch of money on ECC RAM for FreeNAS when it would be cheaper to just mirror a couple 8TB drives on an old core2duo with 1GB RAM.
People running anything except ESXi for virtualization
People who after spending the money on 'server grade hardware' who won't virtualize
Etc.

If you need more storage, just stuff another drive in your computer.
Windows and Linux both have software mirroring capability.
ZFS, BtrFS are both shit
XFS will kill your data

Most people who think they need a home server just want an excuse to make a project for themselves, while signaling that they are somehow superior to fa/g/s who don't have servers.

shut up you ignorant faggot. Talking about signalling while you're ranting with a holier than thou attitude about people who choose to build servers. Gormless hypocrite.

tell us about your server plz

3u 16 bay e5 xeon with 128gb of ram. I use it to store pics of your mom.

Attached: why.jpg (288x499, 23K)

I'm getting an HP ML350 Gen8 soon from a friend. Plan to put in a couple E5-2690v2's and have it be my VM beast. Right now I'm running VMs from an i7 NUC for processor intensive stuff (gaymen servers) and a few on my storage server (ram intensive stuff). Currently have a 24 bay Supermicro with dual E5-2650s and 96GB of ECC. Only using 5 bays, as the 8TB shuckables from Bestbuy are just too good of a deal. I hope to be adding another pool (6x raidz2 maybe) in the next few months. Also just racked all my stuff - feels comfy having everything all neat and tidy in a proper rack, instead of just strewn about my workshop like it was. What are you guys running?

What HBA are you using? Or are you using the boards SATA ports?

just bought this huge pc today off some old dude at a bootsale paid a fiver for it, was it worth?

Intel core 2 quad 2.4ghz
8gb ddr2
1tb wd purple drive
700w cooler master modular psu
7 hdd bays and 7 cd drive bays
has room for 7 12inch fans and a second power supply
is the largest desktop computer i have ever seen (it weighs 32kg)

currently installing ubuntu (gonna use it as a nas and maybe a web server)

pic related (condom for scale)

Attached: IMG_20180926_171844675.jpg (4160x2340, 1.89M)

i run receive-only with forwarding to cock.li
does that count

use it to get free unlimited usenet with a script

>core2duo + 8tb raid1 vs freenas
lol
8tb is enough for backups and thats it
c2d is not kind to the power bill, really dumb when newer i3 sff systems with double the power are $30 more

fuck you

(nice cheapo condoms retard)

Get a vasectomy. You'll never need to buy condoms again.

why lol

where i live you can get free condoms if your under 24 also id rather pay a few quid for some condoms than have surgery on my nuts

>(it weighs 32kg)
It's filled with concrete or what

christ please tell me you arent from leeds
ill be gutted if you picked that for a fiver in my backyard

The benefit of a vasectomy is that there'll never be an accident. So when some thot claims the kid is hers, you act like it's the best news in the world, tell everyone about it and how happy you are and then when the moment is right, like after she's given birth, you go home to prepare the house for her return. But you don't. You put all her shit out on the lawn and burn it, go back inside and proceed to fill her Facebook wall and all her friends with how much of a whore she is and how she'll now need a place to stay and clothes to wear because she's not allowed back under your roof.

Always be prepared to play the long game to destroy your enemies.

no i think its just because if its size and extra support beams inside

nah norfolk pal

if your willing to emasculate yourself to "destroy your enemies" your either retarded or so many miles above me in intellect that im incapable of comprehending your brilliance

Nothing is removed with a vasectomy. And it's reversible you fucking gimp.

>if your willing to emasculate yourself to "destroy your enemies" your either retarded or so many miles above me in intellect that im incapable of comprehending your brilliance
>Jow Forumstard thinks a vasectomy is like neutering a dog by removing it's nuts.
And you're old enough to breed? Jesus Christ. Keep using those condoms. The last thing we need is you reproducing and your retarded children in the gene pool.

As a complete noob, do I need to know the fundamentals of networking before I set up my own home server?
I'd just like to host my own stuff and site on a raspberry 3.14.

Yes with postfix, dovecot and rspamd including dkim but not on a home connection but on a hetzner server. is a problem specially on all cheap mass hosters but i rarely send mail anyway. On a home connection you are completely blacklisted everywhere.

>scp

Have you heard of our Lord and Savior rsync?

Decebt reliable hdd for NAS storage? Also I heard you should buy different models if nit brands if you're buying them at the same time to avoid factory deffects. I know of backblaze and looking at it 4TB WD red is a nice option

>paid a fiver for it,
please tell me that means 5 and not 500

Quid = £1
Fiver = £5
Tenner = £10
Score = £20
Pony = £25
Bullseye = £50
Ton = £100
Monkey = £500
Bag of sand (a grand) = £1000

Also changes by region. In the part of Northern Ireland I grew up in a noop was a quid. Or bob in other parts of the UK. Ten bob = £10. Ready money = readies.

It's weird. Every region has different names for it, but when dealing with money, everyone knows what you're talking about.

Also, when getting a bit of change back from the cashier I tell her to stick the "shrapnel" in the charity tin.

In Yorkshire, 10 Bob used to be 50p

i know exactly what a vasectomy is, which is why i would never get one. like i know nothing is removed but thats still asking someone to cut open your nutsack and start snipping away. thats fucked up and if you basedboys are being made to do this by your wives i feel bad for you.

You're the kind of faggot that would refuse to have a nut removed if you had testicular cancer and your wife wanted you to remove it because "that's emasculating."

>having a testicle removed because it has cancer is the same as having a vasectomy because you cant be arsed to buy condoms

Attached: 1523448585961.jpg (240x240, 6K)

Not really. Nothing that Google won't tell you

>be me just started some time ago with a small x3200m3
>started being interested in networking/server side applications
>setup plex, xoa and some testing vm + backup storage
>decide to have a try with nextcloud
>spend two days reading docs and setting up a vm
>get it to work but made the mistake (not reported as a bug on docs) to name accounts with spaces in them
>can't get inside folders from web-ui because of bug
>new beta version solve your problem user!
>decide to try the update, I can only learn from this
>update fucks up everything after reboot
>config backup gone because after update everything was good script-side
>spending the evening setting it up again
Is IT job just to read docs, make backup of everything, hope for nothing to break when the update comes and restore when things go shit?

who else R710 master race? the e5645 is the homelab king.

Just picked up my 2nd r710 this weekend, going to add 2 more and then redeploy freenas on a box that doesn't use ddr2 ram.

still looking for a cute 1u dell server to host pfsense on instead of the optiplex 755 i'm currently using.

Attached: r710.jpg (880x911, 254K)

I'm pretty fucking jelly.

>ESXI
Only if you're a boss or NEET.
The performance is complete garbage and you will run into arbitrary limitations sooner rather than later.

Just finished installing phpbb on a toaster
Wish me luck trying to get port forwarding to work

>I have no idea how to plan a deployment and it didnt perform as well as I expected

>ESXI
>Only if you're a boss or NEET.
I'm a boss
>The performance is complete garbage
>you will run into arbitrary limitations sooner rather than later.

youtube.com/watch?v=5OfwhGQONbg

>read docs
Yes
>backup of everything
Yes
>hope for nothing to break when the update comes
Yes but you have different environments and don't just update production and hope nothing breaks. en.wikipedia.org/wiki/Deployment_environment#Environments
>restore when things go shit
DEV is on a VM where i can create snapshots and restore to them in seconds. And if your company is not shit you have everything setup and configured with something like puppet or ansible so a new installation can be done in an extended coffee break. This also prevents that your pre-prod and prod differ.

I'm with you
I just started my homelab and I am trying my best without using guides
I don't have production level applications or anything like that, so I think it is still acceptable if there is something to learn from it

>reliable hdd
stop thinking that way. Don't focus on choosing a particular make or model of drive, just assume that whatever you get can fail. Trust redundancy and backups, not the drive makers.

Yeh I'll be running a raid 1 for sure

I'm replacing my mobo, cpu and ram soon, leaving me the old mobo, an amd 6 core and 12gb of ddr3. Is there anything interesting I can do with that server wise before I dedicate to just selling it all?

Probably not. If you build a server, you probably build to keep and operate it for a good while, preferably with low power draw / operating costs and all that.

couldn't I just underclock the cpu and buy a low watt psu to offset power costs though?

Probably not. But I guess it depends on what machine it is exactly.

this post made me laugh

Attached: _THE16801.webm (1002x720, 1.4M)

Cute. Though I can't imagine what this is used for.

Very little practical, but it's good for testing out cluster configs and code. A cluster of two to four dumpster dived p4s will outperform it in every test you could throw at it. The only advantage the pi clusters have is physical footprint.

I see.

Last time I tried something like this, I mainly found out ansible is a slight mess encouraging python hackers to make a huge mess with anything slightly complicated (ceph for example) - what's your experience like?

With online tutorials and ansible fairly similar. When I role my own from scratch pretty good though. I've setup single use clusters using bash scripts before and had it work out great. It's was fragile and wouldn't survive major changes though. Setup Hadoop a bunch for work, on really shitty hardware: manual and with bash was easy, ansible was abandoned as too painful.

There are some really good kubernetes packages for Ubuntu and Cent that are really close to being Just Werks.

Whats the proper way to do local-network DNS? As in being able to refer to stuff on the LAN by hostname. I get the sense that manually adding the same information to DHCP and the DNS server isn't the right way to go about this and one should be getting the information from the other.

Use vendor servers like hpe or dell losers. Building your own server is not a good idea.

I ran a dell r710 in my home and i got cancer by noise and power consumption and shitty speed. used r720 and cancer cured

my god two r710s? im surprised ur alive

single 2430lv2(cause you never use all two), 64gig ram and raid 6 with eight intel s4500 ssds.

Attached: 2018-09-26_233022.jpg (1308x422, 113K)

Would it be possible to build custom pc which would serve as os with several virtual machines inside - one machine to work as pfsense router (connection from wan), one for freenas, one for webservice etc ?

whats a good freedum distro for a neet learning sysadmin shit, i dont want any spoonfeeding or handholding

CentOS, since it's basically Red Hat Enterprise, just without corporate support. And Red Hat is pretty much a staple in business.

i tried to do the whole VM pfsense inside my server and it got really tedious and annoying,especially when you wanted to take down the machine and you'd lose net access. i recommend looking for some dirt cheap atom board to run pfsense off of

I run pfsense myself on an APU2C4. I'd also say to check if router supports OpenWRT if he can't fork out for a self built solution.

The Celeron boards with AES-NI would be an even better option than Atom, because it's still under 10w and has more horse power, should you need encryption and shit. And much more affordable than the Atom stuff. Most of the embedded Atom stuff is server grade and expensive. Shit even the embedded Celeron server grade shit is expensive.

Some of those cheap chink Celeron boxes are a good option. But I just wouldn't trust them as the entry point to my network.

Yea, DIY works okay. Still, it surprised me how much of a mess the world of ansible scripts is.

Dnsmasq or something like it.

You can associate the hostnames you want with MAC or you can let hosts register their own desired hostnames.

Anything not matching host names in the LAN will obviously be resolved by your usual internet DNS server. If you got a LOT of requests from your local network, you can even cache responses for a while.

> Building your own server is not a good idea.
What do you think Dell or HPE servers do... add more wank to your mainboard?

It's a rather good idea to build your own server if you have a basic understanding of what you're doing. Not like Dell or HP make perfect servers, and they definitely ask a lot of money for what they do.

redundancy? stability? can't expect these from normal pc hardware which includes supermicro duh

dell or hpe can't make it perfect but they are better at doing things.

Doesn't actually matter much.

Personally I use Fedora, partly because CentOS was still stuck with crappy yum when I last tried. dnf is a much better package manager. But if you used Debian or Arch or even Gentoo [this on a sufficiently fast machine, some 2400G Ryzen or something] it wouldn't really be a big difference either.

Most Linux distros got most server packages and then you have the ability to run docker and appimages and stuff on top of that. And if all else fails, nothing really bad will happen if you run a full CentOS or Alpine VM under some other distro, either.

>redundancy
Instead of that maymay dual PSU machine, I can put up two or three or a dozen low power machines [obviously the more there are, the less processing power and storage each, at least at the same cost].

That's also actually what the big hosters that need this redundancy generally do. Internally non-redundant servers, but many of them.

It reduces overall cost, increases redundancy, and it gives a VERY straght-forward expansion path because you can literally just drop in another off-the-shelf machine that does not need to have the same kind of drives, the same drive count, SAS or SATA, or the same CPU or anything else the same. Atom boxes are cheap today? Add that. Ryzen is cheap now? Add that.

> stability
Who ever had a particular large issue with that on Linux or BSD? Even with shitty consumer hardware in some, IDK, discounter purchased Acer... it doesn't fail easily. Sure, it will fail a bit sooner/more often probably, but not substantially, and you can swap out the respective parts if you care (e.g. HDD).

And you got more machines if you don't pick expensive silly Dell or HPE, the chance that all of them go down simultaneously is even lower than with just the Dell or HPE at the same cost.

Plus they don't give guarantees anyhow. Tell me if HP or Dell starts covering the full business of any downtime included in the costs of a server purchase, heh.

uggh check kernel commits for epyc bug fixes man ryzen with linux or bsd? shit

imagine running centos 7 with kernel 4.18 just to use the ryzen patch lol

Guess what, they also sold Epyc, and CPU that had the meltdown and spectre bugs.

It's not like these companies add any QA to the CPUs. They just sell "easy solutions", mainly to admins that make their life easier with their copany's money [not that the money isn't better spent on servers servers rather than than marketing... but yea, no reason to save the company's money there just to make your own life harder.]

>imagine running centos 7 with kernel 4.18 just to use the ryzen patch lol
For the sake of argument: This isn't difficult.

But feel free to purchase hardware a bit more conservatively.

Attached: dell_modular.jpg (1200x320, 36K)

I have unlimited storage in gdrive for free.
Im using cryptomator for my files, but is there a better alternative to Googles sync client? Preferably something open source and doesnt require me to have files locally?

what the fuck are you talking about dick lips.

the r710s run 200 watts each, and they are quieter than the Quanta LB6M switch above them.

the 720 series doesn't consume any fucking less power than the 710 series. in addition you dick waffle the amount of memory and type of cpu you are using dictates power draw not the model number.

Thinking about running Ubuntu on my home server, is it worth it to install the server specific distro? I think I would still prefer having a GUI, or is that normie-core?

you can still install a desktop environment on the server distro, it just otherwise comes with good server defaults

> or is that normie-core

maybe fuck people trying to act superior and belittling those using GUIs? do whatever works best for you, if that means using a GUI on the server then do it.

Makes no large difference. If you think Ubuntu server is a good choice for you, use that.

[Personally, I really don't like apt and ubuntu's maintainers broke shit too often for my taste, but that's not necessarily predicting what happens now and in the future... even though my personal trust is low.]

I don't see why you'd need a GUI on your server machine[s]. But if you prefer it that way, sure, run a GUI.

That's worth it if you aren't the one paying for the electricity.

Easy way: use dnsmasq or a windows server for both DNS and DHCP.

Harder way: use a separate DNS and DHCP and get them to talk to each other.

Thinking of buying a Dell T610 with dual xeon E5503s, 48GB of ram and 3tb storage. 650cad should I do it thanks

why the FUCK are RACKS so FUCKING EXPENSIVE?

even the most basic fucking thing costs 700 bucks.

Because the people who make the racks are liable to get sued for the cost of the lost hardware if the racks don't meet specifications.

well most of them are sold to companies who are, shall we say, less price sensitive, than your average hobbyist.

You have two options: One, make do with less than 42U of space. I have a 20-something U chink shit rack that I got for like 200 bucks, Norco I think. Two, get something used. If you're somewhere near a major city look on craigslist for people getting rid of the things. If a company goes out of business or closes a location they can be given away surprisingly cheap. The downside of course is that you'll have to have the means to come and haul it away, hope you know someone with a pickup or a van. And you might not find such things at all if you're out in the sticks.

Yah, the problem is I would like to have separate machine for pfsense... but I would like it to be able to vpn route gigabit... which means no less than i3. And these are expensive. There is some aliexpress noname board for 400e but I do not trust it (+intel cpu woth all issues) so I thought about one server to do all... maybe I should build separate pfsense machine and be done with it...

racks are for beta cucks

if you're lucky you can get an R210 II for real cheap senpai

Got SPF record in your DNS? en.wikipedia.org/wiki/Sender_Policy_Framework

Other than that there's little else you can do.
A lot of dynamic ISP ranges are already on the blacklist, because of botnets sending mail. So if you have a dynamic IP you're pretty much stuck.

my setup is as follows:

have 4 nodes in a vmware cluster, running vsan

specs per node:

x9srw-f mobo
e5-2696 v2 12 core cpu
128gb ram
dell hba330+
connectx3-pro nic
x4 hgst 400gb sas 12gbps capacity drives
x1 intel p3500 1.2tb nvme aic cache drive

networking:
g8124e 10gig sfp+ switch for vsan/vms
g8000 gigabit copper switch for management

the primary purpose is to get acclimated to the entire vmware ecosystem

What's the best way to learn networking / how to securely host a server yourself?

I do the web dev meme professionally but all my deployments are doing EC2 serverless brainlet stuff so I never actually set up a bare metal server.

Attached: 1422127393503.png (236x265, 125K)