J
J
Jumangee2019-09-09 11:27:01
linux
Jumangee, 2019-09-09 11:27:01

How to set up a home server on Linux?

Good afternoon! I was trying to set up a home server on Linux for several tasks, hoping that everything really became easier and more accessible for a beginner. Unfortunately - it was not there ((
Required:
- Torrent server (qBittorrent came up)
- NAS (Samba)
- Syncthing (Syncthing-GTK)
- DLNA (Plex / Kodi / ... ?)
- Remote access
First, the choice settled on MX Linux (there is an x4fce interface), installed, configured, everything even more or less works, but ... x11vnc selected for remote access works with a terrible bug: when you right-click in the client, not only x11vnc itself crashes on the server, but it seems that the interface of the server system also hangs up, so that application windows become inaccessible there. At first I thought that making a service for x11vnc would solve the problem (although I could not), but with "killing" windows, even this option does not work.
Then I decided to try openSUSE Leap 15.1 installed with KDE. And again, problems: Syncthing-GTK (from the official repository) does not start AT ALL (even without messages!), and the out-of-the-box remote control solution is configured, but does not work (the client reports that it was not possible to connect). I thought that the problem was due to the choice of KDE, pre-installed GNOME, logged in ... and the result is the same - syncthing does not start, there is no remote access.
In general, 3 days were killed, but it was not possible to achieve results. On Windows, all this would take several hours, but I would not want to ... Which distribution kit to choose for the task? What configuration? Don't want to waste any more time, please help!

Answer the question

In order to leave comments, you need to log in

8 answer(s)
B
Boris Syomov, 2019-09-09
@kotomyava

Why do you need a graphical interface on the server at all? For the tasks described, it is absolutely not needed.
Ssh is great for remote access.
For torrents, there is a transmission that has a cli and a web interface.
As a basis, it is better to use something more common, for example, debian / ubuntu or centos in the server version. It will be much easier to find information.

R
Ronald McDonald, 2019-09-09
@Zoominger

when you right click in the client, not only x11vnc itself crashes on the server, but it seems that the server system interface also hangs

But it's free! And in general, this is not true and Linux never fails! (this is a joke, don't take it into account, it's not for you)
On the topic: try the FreeNAS distribution , it should be able to do all of the above, I tried it, the flight is normal. It's based on FreeBSD, so the bugs aren't about it.

A
Andrey Barbolin, 2019-09-09
@dronmaxman

I like openmedia vault better.
https://www.openmediavault.org
Install Xpenology for yourself, they have a cool app store and sync with mobile devices. Now I can safely download the movie on the NAS and upload it to my iPad via wifi.
So far it works fine, but I do not recommend this implementation to anyone else, because. data safety, stable operation and regular updates cannot be guaranteed.

M
metajiji, 2019-09-09
@metajiji

1. Learn how to work via ssh, it's not difficult really, really.
2. Torrent - transmission
3. The folder where the torrent downloads is shared via samba.
4. The folder where the torrent downloads is a source of videos for Plex (dlna)
5. In samba you set up a basket, it's very convenient, especially when you accidentally deleted the wrong thing :)
6. Authorization in transmission via basic-auth in nginx.
7. Netdata monitoring
8. Fedora server distribution kit with cockpit, I assure you that you will like it :)
9. Bonus tftpboot for computer resuscitators if you wish :)
10. ... The
profit from everything is huge, you as a specialist grow and get the necessary functionality.

C
CityCat4, 2019-09-09
@CityCat4

Зачем на сервере гуй? Виндовые привычки? Так даже винда начала отказываться от этой идеологии - только PS, только хардкор...
Да и выбор дистрибов какой-то немного странный. MX Linux, основанный на дебиане и зюзя - энтерпрайзный дистриб. Ни тот, ни другой (особенно второй) вообще не про новичков. Про новичков - всеми любимая бубунта :)

R
Radjah, 2019-09-09
@Radjah

> Торрент-сервер
Трансмиссия есть наверное даже для чайников и микроволновок
> DLNA
miniDLNA или тот же plex-server.
Вешать GUI на сервер - это самому себе выдумывать геморрой. DLNA-клиент есть в SmartTV. А для Kodi лучше третью малину купить с быстрой флешкой. Сервер должен качать и отдавать, но никак не показывать.
> Удалённый доступ
SSH
Я бы еще webmin добавил или что-то похожее, чтобы через браузер настройки забивать, а не руками конфиги лопатить. Но тут тоже есть нюансы.
Всё это делается на Debian за вечер с перерывами на чай/пиво и туалет.
Говорю по личному опыту настройки с нуля поддиванного сервера на самосборном компе с атомом вместо процессора.

Максим Корнеев, 2019-09-10
@MaxLK

Jumangee, Ваше желание решать созданные себе проблемы там где их не было не имеет никакого отношения к выбору ОС. Webmin over cli + стандартные решения для поставленных задач, вместо той неработающей дичи которую Вы умудрились нарыть.

J
Jumangee, 2019-09-16
@Jumangee Автор вопроса

Я всё-таки ставлю перед собой цель "задачу решить", а не "стать гуру линукс", потому руководствуюсь другими принципами. Попробовал NAS4Free - совершенно не понравилось. В итоге вернулся на MX Linux, всё настроил, всё через gui, полёт нормальный. В качестве удаленного доступа пришлось перейти на teamviewer, раз ничего лучше нет.
Всем спасибо!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question