D
D
Dmitry Timeline2020-02-08 05:25:35
local server
Dmitry Timeline, 2020-02-08 05:25:35

Where does local hosting start?

After it seemed to me a hundred times that there was no more strength to manually sort files into folders, I wanted to find a more efficient way to organize my storage (mainly consisting of media files: constantly growing personal and work photos + videos, now about 2tb ).

I'm confused: dozens of hours of searching and feeling like I'm going in circles.
I do not think that in the description of the question there is much sense to list everything that I managed to see. Rather, it's better to start by describing how I imagine the workflow:

1. I want my files to be stored locally, but with the ability to generate a URL for sharing with other users through direct links.
2. Assigning tags and searching NOT through folders/subfolders, but using queries. Those. creating a database and working with an array through the database.
3. For reliability, optional, but desirable f. ZFS structure (specially bought ECC memory))

I just want to know where to start so that I can calmly understand further. Thanks in advance for any advice.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Korotenko, 2020-02-08
@firedragon

Try myOwnCloud
https://ru.wikipedia.org/wiki/OwnCloud

L
lubezniy, 2020-02-08
@lubezniy

Any hosting starts with organizing storage, backups, backups and communication. If the disks or the power supply are good, no zfs and ecc will save you from data loss.
Farther. It is theoretically possible to organize all this on one machine if you put it on the Internet with its bare booty and not bother with the reliability of storage, but you definitely shouldn’t do that. If we are talking about two terabytes, then it is better to rent or place your own hardware server with the appropriate disk space in the data center, ensuring that it synchronizes files with a computer via the Internet. You will get two instances of files in physically different places (plus storage reliability) and the ability to generate Internet links for one of them without the need to refer to the other. If a server or computer breaks down - transfer data from a working place, rebuild the database and continue working (although, of course, this will not be very fast).
Farther. Do not completely abandon the folders-subfolders. If you store files in one folder - at one fine moment you simply won’t be able to backup or replicate: folders will be scanned for a very long time. But it is worth transferring storage, for example, to chronological order and replicating not everything, but, for example, what has arrived on the current day (i.e., reference to time is required). So it will be convenient to back up. And paths with tags can be stored in the database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question