/hsg/ - Home Server General

Previous Thread:

>What is /hsg/
In /Home Server General/ we discuss about home-hosted computer systems and networks.

>Pastebin
FAQ, Guide and some tips (start here if you haven't posted in /hsg/ before): pastebin.com/XYYp9TAC
Some better tips: pastebin.com/SXuHp12J
NAS FAQ: pastebin.com/d8igv2aa

>Discord
discord.gg/9vZzCYz

Other urls found in this thread:

winscp.net/eng/docs/message_connection_refused
vmware.com/resources/compatibility/detail.php?deviceCategory=server&productid=3746
certcollection.org/forum/topic/290172-firepower-ngfwv-collection/page__st__28
ubuntu.com/server/livepatch
github.com/liske/needrestart
linux-audit.com/livepatch-linux-kernel-updates-without-rebooting/
github.com/ryanmjacobs/darkhttpd
twitter.com/SFWRedditImages

is this what you call a DLNA?

Did you guys had problems setting up ZNC?

Hey chaps, complete beginner here. Recently bought an HP Series 9 server and set up Ubuntu on it to act as a media server, it's been running great for a month now.

I do have a few quick question if you chaps wouldn't mind answering them or directing me to where I can get the answer please.

1) Is there a way to transfer files from my PC to the server without having to use a USB stick or connecting up a screen to the server? Currently have a 8TB drive in it and was thinking of updating it every month with new media but is there a way to do it without bringing my TV over and connecting it up?

2) How often do I have to restart the server, or can I leave it running indefinitely? It's connected up to a UPS so even if there's a power cut it should still be up and running.

Thanks!

Thoughts on the HPE Microserver Gen10? Thinking of buying it to replace my VPS and use it as animu storage.

no one cares about your faggy lists

>how2itransferfiles
go in to a stupid questions thread

1. Install Samba, NFS or something else which allows network file sharing. If you're already using SSH, the server may have SFTP enabled already and you just need a client (for instance WinSCP for Windows). It's honestly hilarious to think you're lugging around a TV in order to access your server.

2. Never basically, but you should install kernel updates when they become available and those require a restart, so just restart it after a kernel update.

I have an old N40L. Nice boxes. Some people prefer the Gen8 despite it being really difficult to find one with a decent CPU. Gen10 looks decent enough, beats a prebuilt 4-bay nas for price at least (with cashback).

Got a Dell PowerEdge r710, with 2x hexacore X5650s, 32GB of RAM, and 6TB of HDD space coming in the mail soon. How good should I expect this to be? It's my first server, no bully : (

I have one myself. People likes Gen8 more because it has official linux support, while G10 is only red hat and ubuntu. Yeh, it sounds derp but that's how they work. As other user said: Good cpu, good amount of ram, 4 bays and one internal for a 5th 2.5"

Thanks for the advice, sorry for another stupid question.

I'm installed WinSCP on my Windows but am getting connection refused, is there anything I need to install on my Linux server first?

Can you SSH in?

winscp.net/eng/docs/message_connection_refused

Sorry I'll have to Google that, no idea how to SSH in.

I'm in pre-planning stages right now for my server.

Currently I have a Windows system (it was originally an HTPC) running Plex server and just 1 hard drive (3tb) for my data.

I'm going to upgrade it soon with more storage and switching OSes to something more server friendly. Is FreeNAS the best option for this?

What distro?

If on a debian based distro, run sudo apt-get install openssh-server. That'll let you SSH in via Putty/your client of choice and should allow you to SFTP in as well

Used Putty and it said connection refused, so I guess not.

Latest Ubuntu, I'll connect the TV up and try it out. Thanks!

Installing openssh should be the first think you do on any server you would want remote access to. I'm surprised it didnt come installed.

>Dell PowerEdge r710
Pros:
Good server,
Good support for vmware shit
Decent xeon cores.

Bad stuff:
Loud
Behemoth on power
2RU
generates a fuck ton of heat. (If you are an americunt this isn't a problem for you most of the year i guess...)

SSH server if you don't have it installed/enabled and you need to enable SFTP in the server's config if it's disabled by default, I don't know how Ubuntu ships that. That being said, if you have Windows clients you should read up on Samba and set it up, it will allow you to share files from the server and make the share appear as a remote HDD on Windows. Then you can copy files over as if it's any other drive. Having something like that is incredibly useful.

Set up SSH anyway, you'll need it to manage the server. SSH lets you get a secured terminal session to the server over your network, so you don't need to do ridiculous shit like moving a TV over whenever you need access. There's a learning curve but it's nothing too bad at all. You'll need a SSH client on your Windows PC, you can use KiTTY or PuTTY for that. Get SSH working first, after that's done you can do the rest of the work from your PC rather than with a TV physically next to the server.

What services you guys run.
I just host a samba server and watch videos and movies around the house and store backups and leech from my remote seed box from it. Some Linux programming here and there.
Trying to find more uses for it.

Im running mine as a sophos firewall.
networking playgroung

To add to this, if you really are a GUI babby you can install a vnc server (I like tightvnc) and control the system as if it's right there with you. Mouse, keyboard and all

>i'm using linux as a "server"
>i have no idea how to even ssh in

This just further proves that all the retards on Sup Forums shilling for linux have no fucking clue why they're even using it other than its a meme.

>Good support for vmware shit
No it doesn't. It isnt on the HCL for 6.5

vmware.com/resources/compatibility/detail.php?deviceCategory=server&productid=3746

>sophos
>not cisco

True, but pretty much all servers (as in the server applications) are configured via text config files, so a GUI can't do much to help. You're going to be editing text anyway, which works just fine over SSH. I'm even tempted to say that if you've gone so far as to configure a VNC server you can probably already handle pretty much any other basic service you'd want to use.

>No it doesn't. It isnt on the HCL for 6.5

>vmware.com/resources/compatibility/detail.php?deviceCategory=server&productid=3746

not supported for 6.5, like a lot of old gear yes.
no one in enterprise is running 6.5 yet.

> >not cisco
gtfo, no AV/IPS scanning in ASAv.
Not to mention how much is a license for a cisco virtual FW? Sophos virtual FW is free for home use.

aw fuck how much power are we taking?
I'm thinking about just running straight debian on it, should i expect it to really run up the power bill?

>no one in enterprise is running 6.5 yet.
lol wut. it has been out for more than a year

>ASAv
Thats a legacy product, FTD is current and has AV and IPS. Cisco bought out Snort a long time ago.

>Not to mention how much is a license for a cisco virtual FW?
Its free if you use the crack I developed.

>aw fuck how much power are we taking?
250 watts with both processors are my estimates. there is a calculator online to get better figures. And that is assuming no SAS drives, those bad bois use like 8-12 watts a drive.

>system with 4tb media drive
>find some old hard drives at 3am
>disconnect the ssd and media drive so I can connect all of them
>2 of them are set up as an LVM
>they have a few terabytes of movies
>decide to transfer those files to the media drive
>decide to sftp them to my windows computer (1tb) and transfer them back in stages
>the first batch ran for around 5 hours while i slept
>i'm now transferring them back, which will be another 5 hours at 25MB/s
>could have just rebooted, mounted the media drive and rsynced them between drives at 100MB/s
Never felt like more of a brainlet than I do now

Thats not bad user, I frequently transfer >20TB of data at 60MB/sec to a virtual tape iSCSI target. It takes like a week to complete.

>lol wut. it has been out for more than a year
No one I talked to at Vmware conference was running it a few months ago. Everyone is still on 5.5 or 6 and they are only testing 6.5 now.

>Its free if you use the crack I developed.
Great so I can have a free chance at loosing my job.

stop being a faggot, see my post under muhfugen

certcollection.org/forum/topic/290172-firepower-ngfwv-collection/page__st__28

Not too clever, but doesn't sound so bad either. Just let it run?

At idle? 250 watts? That seems pretty high. I'm not doing any expensive computations. Probably just doing some basic file storage and some occasional experiments, nothing crazy.

...

OpenMediaVault will give you less problems.

This is with my VMs mostly idle on 2 hosts, a switch and two APs. The spikes are when I play minecraft

It's just annoying since it's currently saturating the write speeds of both my server (which I'm also rsyncing at the same time) and my main computer (it's transferring from an encrypted hard disk)

Torrent daemon (transmission)
IPFS
ZNC
SFTP

I watch movies directly using MPlayer. Extra comfy.

SSH
mdadm for storage
OpenVPN
Samba
TS3 server
Emby server
rtorrent + rutorrent (on nginx)
apcupsd + web UI (also on nginx)
Subsonic (on Tomcat)

That's pretty much it I think.

Thanks for the advice chaps, finally got it setup and seems to be working well. Had a few problems with my services list having nothing on it so updated linux and seemed to work. Then I didn't have permissions to edit the samba file and then I couldn't login.

Seems to be working now and I went with guest access.

Thanks again!

The way you usually set up Samba is you make a Samba user which you then use on the Windows side. If the Samba user/password is the same as the one on the Windows install, it should authenticate automatically IIRC. There are plenty of tutorials to read up on floating around.

surely theres significant overhead of running VMs? if all I intend on doing is running literally straight debian, surely the wattage would be atleast a little lower? or am I just in denial about the power drain i have coming in the mail ;~;

Ohhhhh, yeh I kept using my user/password for my PC and server, got frustrated and just enabled guest access.

Just wondering, but is there a way to screenshare in a sense with Ubuntu? For instance if I want to install an update and restart? When I've had tech support form my ISP they can screenshare even after I restart.

it will be a bit lower, and i'm running 90 VMs so there is like 20ghz of idle background capacity usage. but no, its going to draw at least 150W probably 200W idle.

I got a Poweredge R610 for $100 that has
>2x Xeon E5540
>32gb Registered ECC DDR3-L ram
>hardware RAID card

Did I do gud?

I don't shill Linux, just started using Sup Forums as I learn to use it whilst building my home server. I personally went with it because I don't like 8/10 and don't want to shell out £100 for a new OS. Yes I know I could torrent or get it for free, but I'd rather not.

>screenshare
VNC is that dude. On your server get xrdp, then get a client on your other machine.

Like remote desktop? Yes, it's possible, the way it's usually done is through VNC, using some VNC server. I think Ubuntu may even come with one built-in, but I'm not sure since I don't use it. It's not worth bothering with for updates though. Just use ssh to update.
sudo apt update
sudo apt upgrade
# if required
sudo reboot
It's all very easy and much simpler than bothering with VNC configuration.

Great, I'll set it up now before I lug the TV back. Thanks!

oh ok that's alright. I appreciate the heads up.

How so?

>that douchebag hasn't stormed into the thread yet and shit it up
Feels comfy guys.

I've been here for a while you retard see as proof

Better hardware support, more utilities (Linux).
Yes he has.

kek

can i get the basic gestalt on virtualization?

whats the difference between kvm/hypervisor and something like virtualbox

google type 1 vs type 2 hypervisor

>>Plays Minecraft
>>Larps about being a sysadmin
>>Probably on spectrum

>>>Plays Minecraft
I play it with my gf, we made a nazi home. gimi a min and ill take a screenshot

...

from the top

Anybody here paranoid about opening up a VPN so you can sysadmin on the go?

I'm going to go with a multi-factor authentication solution in addition to using keys instead of passwords. It seems like I have to setup an OTP server on my infrastructure, which seems easy enough. Fuck trusting Google Authenticator for access to my own infrastructure.

Anyone know if Yubico fixed their hardware keys? I remember that the Infineon RSA private keygen algo broke and Yubico used that for their keys, but I don't think I saw anything about whether newly shipped keys have resolved this issue.

>Anybody here paranoid about opening up a VPN so you can sysadmin on the go?
No. And even then if you practice defense in depth you should be limiting access to VPN clients to a small subset of your infrastructure like a jumpbox. Even if there is a remotely exploitable vulnerability in your VPN software, the damage will be limited.

I gotta figure out something else besides my current solution. I've run a FreeNAS box for years now, currently running 8x10TB drives with a modern i5 with 16gigs of ram. I store movies and music on it and just use whatever windows based PCs I can get for cheap to use with each TV I want to accesses my video files on it. I use explorer and a wireless KB with a touch pad to interface with it. Worked great for me and never even lost a single file, even when I lost 2 hard drives on my last build (Thanks ZFS2) I was able to recover my files. The issue is now my girlfriend moved in and she's tech retarded so I gotta set up a plex or something so she can use it. Have no clue what to try.

real 240m16.695s
user 123m14.828s
sys 65m38.664s

reeeeeee

is there any reason not to run freeNAS in a vm with the host os being *nix? And then separate VMs for plex, etc

what do you do with 90TB

>potato picture
>gigabit switch
>supermicro chassis so old I cant even recognize it. probably still scsi
>more modern chassis with electrical tape and the factory plastic still on the handles

Lossless anime

bump

Keep this active boys

> is there any reason not to run freeNAS in a vm with the host os being *nix?
I'd not immediately think so, as long as you have the typical virtualization extensions it probably works fine.

> And then separate VMs for plex, etc
this approach
That is an odd approach, these days you'd usually run application containers (rkt, docker, ...) rather than full VMs for these.

> Yubico hardware keys
Fuck that nonsense. Use a passworded key file on USB and it's probably fine.

and now I wait some more

O have old dell 2950 collecting dust. Is there way to use >4Tb drives in it?
maybe some non raid card?

>no, I'm not using it all the time, it's archive

>Xeons
why wouldnt it take 4tb? if it doesn't, change the motherboard

Old SAS1 expanders dont like anything over 2TB

Which HTTP server Sup Forums?
GlassFish
OpenLiteSpeed
Haiwatha

Inb4 nginx or apache.
I value security and then effeciency.
I wanted to use GPL derived software.

State which and any reasoning behind your choice please!

lighttpd

>Subsonic
do you hate freedom? Why aren’t you using something like Air/libre sonic?

> I wanted to use GPL derived software.
Cherokee perhaps?

But unless you're going to submit patches, it basically won't matter at all if you use another open sauce license.

So why not use lighttpd or nginx, eh.

I think cherokee is abandonded but I'll consider lighttpd.
Thanks!

Gen10 use slow ass outdated CPUs, those Opteron are not Ryzen based.
They also lack HP iLO.

>2)
Basically never if you use ubuntu.com/server/livepatch and github.com/liske/needrestart

> ubuntu.com/server/livepatch
Not same user, but requiring a subscription to get patches kinda bothers me.

Is this necessary with other distros? Personally I probably mind a quick reboot less than being hooked to some subscription.

linux-audit.com/livepatch-linux-kernel-updates-without-rebooting/

Set OpenMediaVault for her, is easy.

Keep this thread alive boys

Bump

Going to be setting up a server for my workplace soon (small scale, only shared files and backups)
Going with a dl120 g7 with an e-3 1220 and 16GB of ram with 4x2TB drives. I was thinking of going with RAID 5 because of the space efficiency and speed advantage. All of the stuff being backed up will have a live copy on at our office offsite so I'm not too concerned about disk failure while rebuilding as if we lose stuff we can just wipe and re-back-up from the live copies. Was going to go with Windows server 2016 because that's what I'm most familiar with. Does anyone know any working cracks for server 2016?

just added 3 more drives, goofed and thought i had extra sata power cables, i didn't. waiting for them now.
>5x3tb WD Red, raid 6, media.
>Planning on 2x3tb WD Red, raid 1, rainloop/cloud.
>1x2tb WD Green, random stuff.

>OpenVPN
Want's OpenVPN BTFO'd a month or two ago? I've been hearing about wireguard but I'm not really sure about it.

>OpenVPN
Wasn't OpenVPN BTFO'd a month or two ago? I've been hearing about wireguard but I'm not really sure about it.

fuck me lad how much juice does that consume?

Windows server RAID sucks even with the storage spaces. Use Linux.

Going for a cracked version of Windows doesn't sound like a smart thing to do for a workplace server. Get something based on GNU/Linux, FreeBSD, or Illumos instead. Keep offline backups (in case of cryptolockers), and RAID5 have slow rebuild times. A plain RAID10 or mirrored + striped array would get you more of a speed improvement, slightly better redundancy, and much faster rebuild times.

about 119w while doing regular stuff, according to the corsair software.

So I'm moving into some guy's basement and losing control over any sort of port forwarding. I want to keep my cloud server accessible from outside the network. Is my best bet just buying some cheap VPS with a static IP like a cockbox, sticking a VPN on it and then running a VPN on my server at home?

RAID5/6 does not have slow rebuild time on Linux, no. You should be able to run the rebuild at close to the speed the drive you re-added has.

Maybe you need to consider mirroring on BSD's ZFS, partly because of performance and scaling issues on RAIDZ, partly because it -unlike mdadm- can't grow arrays in most configurations but it works mirrored if you add 2 drives.

yup, you can create pretty reliable VPN links with just ssh tunneling since a DC network isn't going to introduce much latency if it's in the same continent.
BTRFS is also pretty good, offers most of the features of ZFS while actually working on linux.

just make sure you disable any power saving features to avoid corruption.

Try darkhttpd github.com/ryanmjacobs/darkhttpd