IT

Using VPS as a File Server with 'filebrowser' #VPS

VPS (Virtual Private Server) is a virtual server running on the cloud and is often used as a file server for file sharing and backups. In such situations, 'filebrowser' becomes a very convenient tool. This article introduces how to implement 'filebrowser' on a VPS and use it as a file server.

Shou Arisaka
3 min read
Oct 16, 2025

VPS (Virtual Private Server) is a virtual server running on the cloud and is often used as a file server for file sharing and backups. In such situations, ‘filebrowser’ becomes a very convenient tool. This article introduces how to implement ‘filebrowser’ on a VPS and use it as a file server.

※ Register for ConoHa through this referral link to receive a 1000 yen coupon. Please take advantage of this offer.

What is ‘filebrowser’

‘filebrowser’ is a web-based file manager that is a single binary, standalone executable. It can be used in combination with a web server that can enable HTTPS by default, but it can also be used independently. This allows you to easily manage files remotely while enhancing security[Reference][Reference].

Difference from Storage Servers

‘filebrowser’ is different from storage servers. Storage servers are dedicated servers for storing files, specializing in file storage and retrieval. On the other hand, ‘filebrowser’ is a tool for managing files, and in addition to file storage and retrieval, it can perform operations such as organizing, editing, and deleting files. Also, ‘filebrowser’ provides a web-based interface, allowing you to manage files remotely.

Installation Method

To install ‘filebrowser’, follow these steps.

Quick Setup

The easiest way to start using ‘filebrowser’ immediately is to open a terminal and execute the following commands.

Brew (Unix)

brew tap filebrowser/tap
brew install filebrowser
filebrowser -r /path/to/your/files

Curl (Windows)

curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
filebrowser -r /path/to/your/files

PowerShell (Windows)

iwr -useb https://raw.githubusercontent.com/filebrowser/get/master/get.ps1 | iex
filebrowser -r /path/to/your/files

This initializes a database that stores configuration and user information. Access the URL displayed on the command line and log in with the following credentials.

  • Username: admin
  • Password: admin

To improve security, we recommend changing the password and, if possible, the username[Reference].

Using Docker

‘filebrowser’ is also available as a Docker image. You can run ‘filebrowser’ through Docker using the following command.

docker run -v /path/to/root:/srv -v /path/filebrowser.db:/database.db -v /path/.filebrowser.json:/.filebrowser.json -u $(id -u):$(id -g) -p  8080:80 filebrowser/filebrowser

This command mounts the root directory and database. You can also override the configuration by mounting the configuration file to a new directory[Reference].

Summary

By utilizing ‘filebrowser’ on a VPS, you can easily build a secure and customizable file server. By using the quick setup or introducing ‘filebrowser’ through Docker, it becomes easier to manage files remotely. Don’t forget to change the password and username after initial setup to enhance security[Reference][Reference].

Share this article

Shou Arisaka Oct 16, 2025

🔗 Copy Links