Contact Info

Kolkata, West Bengal, India

+91 6289461156

[email protected]

Get Started
Recommended Services
Supported Scripts
How To Install Filebrowser On Ubuntu - Self Hosted or Cloud

How To Install Filebrowser On Ubuntu Linux – Self Hosted/ Cloud – A Step-By-Step Guide: In any linux server environment sometimes some of us find it bit challenging to browse, download, upload, edit files because we only get a terminal. Some people enjoy the process of typning command via command line  also. But, today I am going to discuss how to resolve the issue for them who want a graphical interface to achieve any file related work or browse their file in ubuntu server like OS.

FileBrowser resolve the issue very nicely with an elegant, clean and intuitive web based file browser  GUI. After successful installation of which you can access your UBUNTU server files via any browser. It offers various features like file previews, uploads, downloads, edit and more. If you have a question like how to install Filebrowser on Ubuntu Linux? Then this is the right article for you. I will take you through the installation process of FileBrowser on an Ubuntu Linux server STEP-BY-STEP.


Before you start, ensure you have the following:

  • An Ubuntu server (preferably version 20.04, 22.04, 24.04 or later).
  • A user with sudo privileges.
  • Basic knowledge of the command line.

Step 1: Update Your System

First update your package list and also upgrade the installed packages to ensure your system is up-to-date.

sudo apt update && sudo apt upgrade -y

Step 2: Install Required Dependencies

FileBrowser requires certain dependencies like curl and wget. Install them using the following command:

sudo apt install curl wget -y

Step 3: Download FileBrowser Binary

Visit the official FileBrowser GitHub releases page to find the latest version. Alternatively, you can use the following command to download the latest release directly:

curl -fsSL | bash

Step 4: Move the Binary to a Proper Location

After downloading, move the FileBrowser binary to a directory in your system’s PATH and make it executable:

sudo mv filebrowser /usr/local/bin/
sudo chmod +x /usr/local/bin/filebrowser

Step 5: Create a Systemd Service

To run FileBrowser as a service, create a systemd service file:

sudo nano /etc/systemd/system/filebrowser.service

Add the following content to the file:





ExecStart=/usr/local/bin/filebrowser -r / -a


Step 6: Start and Enable the Service

Reload the systemd daemon to apply the changes, then start and enable the FileBrowser service:

sudo systemctl daemon-reload

sudo systemctl start filebrowser

sudo systemctl enable filebrowser

Step 7: Configure Firewall

If you have UFW (Uncomplicated Firewall) enabled, allow traffic on the default FileBrowser port (8080):

sudo ufw allow 8080
sudo ufw reload

Step 8: Check Service Status:

Ensure that the FileBrowser service is running:

sudo systemctl status filebrowser

Step 9: Access FileBrowser

Open your web browser and navigate to


You should see the FileBrowser login page. The default credentials are:

  • Username: admin
  • Password: admin

Step 10: Configure FileBrowser:

After logging in, you can configure FileBrowser according to your needs through the web interface.

Step 11: Change Default Port (Optional)

If you want to change the default port (8080), you can do so by editing the service file /etc/systemd/system/filebrowser.service and modifying the ExecStart line like this:

ExecStart=/usr/local/bin/filebrowser -r /srv -p <your desired_port>

Then restart the service:

sudo systemctl restart filebrowser

That’s it! You now have FileBrowser installed and running on your Ubuntu server.

Step 12: Secure FileBrowser (Optional)

To enhance security, consider the following steps:

  1. Change Default Credentials: Log in with the default credentials and change the admin password immediately.
  2. Enable SSL: Use Nginx as a reverse proxy to enable HTTPS. Install Nginx:
sudo apt install nginx -y

Configure Nginx for SSL:

sudo nano /etc/nginx/sites-available/filebrowser

Add the following configuration:

server {

listen 80;

server_name your_domain;

location / {

proxy_pass http://localhost:8080;

proxy_set_header Host $host;

proxy_set_header X-Real-IP $remote_addr;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header X-Forwarded-Proto $scheme;


Enable the site and restart Nginx:
sudo systemctl daemon-reload
sudo systemctl start filebrowser
sudo systemctl enable filebrowser

Obtain SSL Certificates:

Use Let’s Encrypt to obtain SSL certificates:

sudo apt install certbot python3-certbot-nginx -y
sudo certbot --nginx -d your_domain

Little Troubleshooting Of FileBrowser Installation:

After installation maximum people will start using filebrowser flawlessly, but anytime if you face any problem, you can try these following troubleshooting practices for filebrowser:

Review Configuration File:

Double-check the configuration file for any errors. Ensure the ExecStart line in /etc/systemd/system/filebrowser.service is correct:

ExecStart=/usr/local/bin/filebrowser -r /srv

Restart the Service:

After making any changes, restart the FileBrowser service:

sudo systemctl restart filebrowser

Check if FileBrowser is Listening on Port 8080:

Use the ss or netstat command to verify that FileBrowser is listening on port 8080.

sudo ss -tuln | grep 8080


sudo netstat -tuln | grep 8080

Check Binding in Service File:

Ensure that the FileBrowser service file /etc/systemd/system/filebrowser.service has the correct ExecStart command. It should look something like this:





ExecStart=/usr/local/bin/filebrowser -r /srv -a


The -a option binds the service to all network interfaces.

Restart the FileBrowser Service:

After making any changes to the service file, reload the systemd daemon and restart the FileBrowser service:

sudo systemctl daemon-reload

sudo systemctl restart filebrowser

If you follow these steps and still cannot access FileBrowser, please provide the output of the following commands for further diagnosis:

sudo ss -tuln | grep 8080
sudo ufw status
curl http://localhost:8080
ip a (to verify IP address)

Any relevant logs from

sudo journalctl -u filebrowser

Edit the Service File:

Open the service file for editing:

sudo nano /etc/systemd/system/filebrowser.service

Update the ExecStart Line:

Change the root directory to the desired path, e.g., /home/your_username:





ExecStart=/usr/local/bin/filebrowser -r /home/your_username -a


Reload Systemd and Restart the Service:

After making the changes, reload the systemd daemon and restart the FileBrowser service:

sudo systemctl daemon-reload

sudo systemctl restart filebrowser

Conclusion to How To Install Filebrowser On Ubuntu

Now you can enjoy a complete GUI based file browser through a web based interface. It will make your daily server related wore easy and convenient. Do not for get to regularly upda.te your system as well as the FileBrowser to ensure security and stability. HAPPY CODING.

Share this Post

Leave a Reply

Your email address will not be published. Required fields are marked *