More articles:
2017   2018   2019   2020   2021
2022   2023   2024   

2021-08-11 00:00:00

Technologycloud|file|self-hosted|storage|web server

How to set up a self-hosted file storage with Filerun

More and more privacy and cybersecurity-aware people are looking for alternative solutions to popular cloud file storage services like Dropbox, Google Drive, and Microsoft Onedrive. These services have plenty of functionality, but they don't respect your privacy, and they are also lucrative targets for hackers. Setting up and hosting your own file storage service is a straightforward task for anyone who has some experience with web servers. Here is our guide for installing and configuring Filerun as your self-hosted system.

This is what you need to create a self-hosted Filerun file storage

You need a computer that is running on Linux or Windows. It can be a VPS (Virtual Private Server), a home server, or even a laptop. Disk space is the critical factor here, not performance.

Filerun service is accessed in a web browser or app on any computer or mobile device, but the computer where Filerun service runs requires the following software:

  • Web server, like Apache or Nginx.
  • Mysql/Mariadb 5.6 database or later.
  • PHP 7.1 or later version.
  • PHP extensions exif, gd, mbstring, openssl, POD, xml, zlib. Linux systems often come with these extensions activated. You can check yours with this command line command: php -m . If a required extension is missing, you may have to install it for your operating system, or just activate it in command line. The method depends on your operating system. For instance, for Debian and its derivatives, command phpenmod activates extensions.
  • IonCube loader.
ioncube php loader setup wizard

How to install Filerun

Our production system runs on Debian 10 Linux, so this guide is based on that, but the process is the same for all servers.

I assume that you already have a web server, Mysql/Mariadb and PHP running, so I will skip them. IonCube is a piece of software that enrypts and decrypts PHP code, and Filerun uses it.

Download Ioncube from the developer's page:
https://www.ioncube.com/loaders.php
The easiest way to setup Ioncube is to download and unpack the Loader Wizard on the server, and run it in a web browser. If it runs and the test says Ioncube is ready, skip to the database setup.

If Ioncube Loader Wizard fails (as it did for us when we wanted to run it on a Linux VPS), you have to install Ioncube manually. The best path is to follow instructions given at the screen where the wizard stopped. In our case (Debian 10 on a VPS), we had to download the Linux (64 bits) package, unpack it, and follow instructions in the package.

Next, create a database for Filerun. You may do it, for instance, with phpmyadmin or in command line. The command line process goes like this (replace databasename and username with your own):

mysql -u root -p mysqlrootpasswordhere
create database databasename;
grant all on databasename.* TO username@localhost identified by "passwordforthismysqluser";
exit;

Now, we are ready to download the latest version of Filerun:

wget -O FileRun.zip https://filerun.com/download-latest

Move the downloaded file to a directory that the web server can access. For instance /var/www/html or give Filerun its own directory /var/www/html/filerun. Unzip the file into the directory.

On Linux systems, you have to check permissions of the system/data directory that is located under the Filerun directory. The web server user must be the owner of the data directory and its files. Command line (assuming you are in the Filerun directory):

chown -R www-data system/data
chgrp -R www-data system/data

Now, everything is ready, and you can login to the brand new file storage. Point your browser to (assuming you installed Filerun in a directory named filerun):
https://mydomain.com/filerun
or if you have installed the software on a local computer:
localhost/filerun

A simple setup form asks you to fill in the database name and a few other items. The system automatically generates superuser admin and a complex password. SAVE THE PASSWORD.

Once you are inside Filerun, go straight to the Control Panel (top right corner), open the user account, and select Permissions. Set a directory path for the file storage that is outside web server's public space. For instance, if you create a directory /var/www/filerunfiles and set that path as the file storage, files are not visible to the internet (except through Filerun). Set permissions on Linux:

chown www-data /var/www/filerunfiles

While you are logged in as superuser, create a user account for your own daily use as well.

An installation document with additional security tips can be viewed here.

filerun superuser settings

How to use Filerun

Our small team accesses, downloads, uploads and shares documents stored in Filerun in web browser only, but dedicated applications for phones, tablets, and PCs are available as well.

Two choices are available for mobile devices: apps that can transfer files using Webdav protocol and the Nextcloud sync app.

A sync app for Windows, Mac, and Linux PCs is available. It is the same PC app as Nextcloud uses.

Backup

Two sets of data - files uploaded to the Filerun system, and Filerun database - should be backed up.

Mysql database that stores Filerun's metadata can be backed up with phpmyadmin, but an automated tool is better in the long run. For instance, Mysqldump command comes with Mysql. It exports a given database that can be imported to the system when required.

Files uploaded to Filerun are the same as they were before the upload because Filerun doesn't modify them. Depending on your usage, you may consider if and how to back them up.

News

2026-02-08 15:26:00

As a whole, it was a delightful trip to the visitor-friendly city. Here are the highlights of the Montpellier city center. #travel #Europe #Francehttps://klaava.com/city-break-in-the-pretty-and-friendly-montpellier-in-southern-france/


News

2026-01-27 15:27:00

Judged anonymously by an international panel, the 2025 TPOTY shortlist was selected from more than 20,000 entries across 160 countries, making this one of the most competitive #travel #photography competitions in the world.https://www.digitalcameraworld.com/photography/awards-and-competitions/the-worlds-best-travel-photographs-are-crowned-and-the-winning-images-are-simply-stunning


News

2026-01-22 17:33:00

A survey revealed the level of trust people have in their fellow citizens in 90 countries across the world. Here is the top 50 countries where people trust in other people the most. #travel #safety .https://klaava.com/when-traveling-do-you-trust-people-overseas-here-is-how-much-locals-across-the-world-trust-their-fellow-citizens/


Evening in the historic center of Montpellier.

2026-01-21 16:00:50

arihak

Evening in the historic center of Montpellier.


News

2026-01-08 15:26:00

While residents’ concern about masstourism in some countries in #Europe is real, where do Europeans themselves #travel when they want to enjoy a week-long break? .https://klaava.com/where-europeans-like-to-travel-for-one-week-holiday-in-the-eu-region/


Statues guarding a castle in Copenhagen.

2026-01-07 17:08:46

Statues guarding a castle in Copenhagen.


Wide open Atlantic Ocean

2026-01-04 12:50:32

arihak

Wide open Atlantic Ocean


News

2025-12-26 14:41:00

If we look at the millions of tourists who will travel somewhere they haven’t visited before, we can discover trends that are gradually changing how and where we travel. Here is our take on #travel #trends for #2026 .https://klaava.com/travel-trends-2026-road-trips-calm-and-quiet-ai-assistants-and-popular-culture/


Just in case you forgot to bring your own #book to the port

2025-12-24 17:12:21

arihak

Just in case you forgot to bring your own#book to the port


News

2025-12-24 08:24:00

I downloaded a #phone app with a “zero-processing” feature that claimed to take photos without any software alterations. When comparing the photos my phone #camera takes automatically to the photos taken with this app, the results were shocking. #photography .https://www.theguardian.com/commentisfree/2025/dec/23/smartphones-photos-filters-pictures-software


News

2025-12-16 08:59:00

9 professional #cyclists produced enough power on pedals for an ultralight airplane to take off in Mallorca.https://elpais.com/deportes/ciclismo/2025-12-15/las-alas-de-red-bull-como-nueve-ciclistas-despegan-un-ultraligero-con-sus-pedales.html


News

2025-12-11 16:33:00

Person of the Year focuses world’s attention on the people that shape our lives, TIME editor-in-chief Sam Jacobs wrote. “this year, no one had a greater impact than the individuals who imagined, designed, and built #AI.”--- ok, but is the Editor a person or AI?https://www.euronews.com/culture/2025/12/11/time-person-of-the-year-2025-announced-the-architects-of-ai


News

2025-12-10 08:31:00

Here is the index for the top 30 cities in the world for moving around on a #bicycle. #travel .https://klaava.com/if-you-like-to-explore-cities-you-visit-by-bicycle-here-are-the-best-destinations/


Nice quiet morning, but do scooter manufacturers know about electric vehicles?

2025-12-04 17:49:27

arihak

Nice quiet morning, but do scooter manufacturers know about electric vehicles?


News

2025-12-04 16:40:00

Data from the world's leading hotel groups, travel firms and trend forecasters suggests that 2026 will be the year of quiet escapes, algorithm-shaped itineraries, ultra-personalised retreats and a return to slower, more intentional #travel.https://www.bbc.com/travel/article/20251201-seven-travel-trends-that-will-define-2026


News

2025-12-01 11:01:00

It’s not the tool that matters, but the mind behind it. Perhaps the real question for any #photographer today is not what technology can do next, but what remains worth doing by hand—what still carries the trace of human attention.https://fstoppers.com/opinion/how-photographers-made-themselves-replaceable-714901


News

2025-11-24 11:23:00

It is possible to do a day trip from Madrid, for instance, to Segovia or Avila, or plan a tour that covers all four cities. #Europe #travel .https://klaava.com/four-cities-near-madrid-that-give-visitors-a-taste-of-the-real-spain/


Going down fast.

2025-11-22 16:00:12

arihak

Going down fast.


News

2025-11-16 17:19:00

Confirmed, the peak #travel season in #Europe is longer:“Normally we expect some traffic until the first week of October and then a slow fading until early November, but it has been nonstop.” It was, he says, the busiest October he has ever known.https://edition.cnn.com/2025/11/15/travel/europe-tourism-fall-peak-season


News

2025-11-10 11:33:00

Everything was fine until the Halloween weekend when our journey turned into a nightmare. Suddenly, I couldn’t charge the van from public chargers anymore. #EV #chargerhttps://klaava.com/nitpickers-travel-journal-bank-meddled-with-ev-charging-payments-causing-us-a-halloween-nightmare/


More articles:
2017   2018   2019   2020   2021
2022   2023   2024