C
C
chief2020-05-04 17:27:41
linux
chief, 2020-05-04 17:27:41

What is the best way to set up a home server?

I have an old PC (s775, Intel Pentium 2Core, 2GB RAM DDR2, 10x500GB HDD).
I want to make a home server (Keep a personal blog. maybe a few more test sites for development, a torrent downloader, a media server via DLNA, or somehow watch downloaded torrents on the TV).
Advise on what is better to do what was planned?
Now it is spinning on bare Freebsd 12 with jails (CBSD) for each service (for websites, for torrents, while I watch movies from a shared folder on a laptop). The disk subsystem consists of a 40GB IDE hard drive for the system and 6 + 4 (PCI-extend) SATA disks of 500GB each put into one RAIDZ2 pool (there are disks with bads).
Problemtherein. that I’ve already tired of googling on every little thing, and still it doesn’t work. For example, I wanted to download torrents - I searched for / installed transmission for a day. As a result, it shakes, but on the PC, the seeds are much more visible. Or share a folder from the zfs pool so that the laptop can see it .. So far I have mastered only sharenfs. The last nail was an attempt to raise a web file manager in order to download software / films from the server at a party. Everything seems to work, but I can't download large files (my previous question on QNA).

I googled and found OpenMediaVault and FreeNAS. They seem to fit the description. But OMV is on Debian and I don't see containers there, and FreeNAS has a minimum requirement of 8GB of RAM. Although it seems to be based on FreeBSD... which has been running quietly on my server for some time now.
Generally Help ME!

Answer the question

In order to leave comments, you need to log in

15 answer(s)
K
ky0, 2020-05-04
@ky0

The problem is. that already tired of googling on every little thing

This is a normal process of increasing the amount of knowledge. There is no silver bullet in the form of a magic OS that will solve all your current and future problems.

D
Dmitry Aleksandrov, 2020-05-04
@jamakasi666

Support ky0 .
Stay on bsd. The only thing is why are you wrapping everything in jails? First of all, this is your home server, and if you don’t stick out leaky services, then everything will be ok.

The last nail was an attempt to raise a web file manager in order to download software / films from the server at a party. Everything seems to work, but I can't download large files (my previous question on QNA).

Start from the task. Why do you need something in the role of a file manager on the web with which you will also stick out?
It is better to raise the l2tp server to your home network. l2tp is everywhere out of the box (android\win\mac\linux) and it will be safe to access any services from guests.
Another option is ftp (again, it is everywhere).
There is also webdav which can be raised directly to nginx.
Wind on your mustache that any "box wrap" will be many times heavier and drag a ton of extra.
For yourself, you can do this, and in general it is useful:
1) make a textbook, or in your blog.
2) enter all actions for installing and configuring specific features and utilities directly with configs
3) update these entries over time when you encounter new tricks.
4) further it will be very useful in case of reinstallation / surprises
5) over time, all this will be deposited in my head.

R
Ronald McDonald, 2020-05-04
@Zoominger

Install Debian and don't worry.

O
ououya, 2020-05-04
@ououya

https://www.ixsystems.com/documentation/freenas/11... Suddenly.
It consumes memory due to the additionally hung, but 8 gigs is under load and with deduplication on zfs, which can be successfully disabled, and why I don’t understand it at all. There are more than enough plugins for your purposes https://www.freenas.org/plugins/ And no one bothers to configure FreeBSD under the hood to your heart's content. And the fact that force from a swoop failed ... c'est la vie.

D
Drno, 2020-05-04
@Drno

I use openmediavault, everything is fine

F
fdroid, 2020-05-04
@fdroid

Your problem does not have an unambiguous solution. The most popular distributions are XigmaNAS , Openmediavault. If you want a relaxed mouse, then you can try DSM from Synology NAS, which can be installed on a regular PC - the project is called Xpenology (yes, that's right).
However, personally, on such hardware as yours, I would install pure Debian and deploy Nextcloud and all the necessary services on it.

S
SunRiser, 2020-05-04
@SunRiser

I strongly advise you to pay attention to Xpenology. Great stable system. The same magic bullet that was mentioned above. For example, I have: torrent rocking chair, cloud (Synology Drive), VPN Server, WebDAV, Docker, Multimedia server. This is all a pleasure to set up in an hour at most slowly pressing the buttons. There is also a very useful function of synchronization with cloud accounts. For example, I have OneDrive, the NAS is configured for one-way synchronization and saving file versions. Those. even if something is deleted on the main cloud or a ransomware attacks, I will still have 32 previous versions of the files. There are mobile applications for almost all software, in general, a fairy tale. True, the initial installation and configuration may require some time. Bet on this guide, everything took off with a bang. The main thing is to immediately disable auto-updates and not update. there is a possibility that something might die. Without updates in the local area behind FW and NAT, it can live for years. By the way, in order not to open access to everyone, you can do port knocking.

A
Andrew, 2020-05-05
@Brujerizmo

NUC houses with Debian. Outside VPS with white IP and ovpn. houses nextcloud, subsonic, wallabag, etc. Everything is in docker containers, forwarded through vps to the outside. All this has grown a little over 3 years. Everything will not work at once, you need to persistently read the manuals and configure. Over time, experience will come, the setting will no longer be scary. A lot of instructions on the Internet do not work, it did not work - google the next one. Then you will discard such instructions at the stage of cursory viewing.

I
IamBlackNess, 2020-05-05
@IamBlackNess

For 5 years I asked this question. Our everything is XPnology. All in one, web server, torrent, media movies, music, photos, encryption, mobile support, video surveillance, DLNA movie output, and much more, and most importantly - for free and a minimum of resources from hardware, the main thing is a reliable bootable USB flash drive, I use Corsair...

I
Igor Ustyugov, 2020-05-05
@karp

I am using Debian. As a torrent downloader, an torrent with a flood web muzzle. As an emby media server. There is a client for smart TVs and mobile phones. dlna can do the same.

U
Urian, 2020-05-04
@Urian

Less RAM is possible for FreeNAS when the disk volumes are not large, but at the moment 8GB is a trifle. I'm using FreeNAS with 16GB of RAM. Recently I ran into a "rake", I wanted to use DLNA (plugin EMBY) for watching movies, the result is sad. If everything was fine at 1080p, then at 4k every 30 seconds there is a brake. I checked the CPU load, at 1080p - 20%, at 4k - to the very roof. It looks like you can’t drive up to 4k on a dead goat, or you need to change the NAS to a media barrel organ.

O
Oleg Leonov, 2020-05-05
@sagus

Transmission + Plex berate these issues. I implemented a home server on the NUC, but used Ubuntu as the OS. It has almost everything and you don’t have to look for solutions to problems for a long time or collect something from the source.

R
rostislav-zp, 2020-05-05
@rostislav-zp

if you only need a torrent downloader and a network share, then there are a bunch of "seedbox" projects on the github already ready. if only sites, then brainyCP was perfect for me. , then it’s better to work with him. He can do all this perfectly, but there is no normal documentation on this case, except for the YouTube channel "Techno Dad Life" https://www.youtube.com/channel/UCX2Vhc0LIzSS9aMzh...
the man is very popular there I described all the options when setting it up. I highly recommend it. After that, I think your question will close by itself.

I
iBotMan, 2020-05-05
@iBotMan

Freenas and all questions are removed!

I
Insane11, 2020-05-05
@Insane11

I had Win Server 2003 R2 on the same hardware. I went to him from the fryahi, because despaired of squeezing gigabit out of samba.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question