HomeRaspberry PIMake a WEB Based File Server on Raspberry Pi With FileBrowser

Make a WEB Based File Server on Raspberry Pi With FileBrowser

It is simpler than you imagine to convert your Raspberry Pi into a speedy, web-enabled file server. With Filebrowser, you’re able to manage, access, and share files via a neat web interface using any device. If you wish to create an individual cloud storage solution, centrally manage files from afar, or simply implement an easy file-sharing solution, Filebrowser offers an easy-to-use and lightweight approach to do it.

In this tutorial, we’ll guide you through the step-by-step installation and configuration of Filebrowser on your Raspberry Pi. You’ll have a working web-based file manager that you can access from anywhere on your network by the end of it. Let’s begin!

Step 1. Update Your Raspberry Pi:

sudo apt update && sudo apt upgrade -y

Step 2. Download FileBrowser:

wget https://github.com/filebrowser/filebrowser/releases/latest/download/linux-armv7-filebrowser.tar.gz

Step 3. Unzip FileBrowser

tar -xvzf linux-armv7-filebrowser.tar.gz

Step 4. Make A Directory for FileBrowser:

chmod +x /home/tapan/Desktop/filebrowser

Step 5. Now Start The FileBrowser Server Using Below Command

/home/tapan/Desktop/filebrowser -r /home/tapan/ -p 8080 -a 192.168.0.122

Step 6. Now Access it Via WebBrowser Using Below Url

http://Your-Raspberry-Pi-IP-Address:8080

To run Filebrowser automatically on startup, create a systemd service file

Step 7. Create a Systemd Service File:

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

Step 8. Add the Below Configuration(Change Settings):

[Unit]
Description=Filebrowser Service
After=network.target

[Service]
User=tapan
ExecStart=/home/tapan/Desktop/filebrowser -r /home/tapan/ -p 8080 -a 192.168.0.122
Restart=always
WorkingDirectory=/home/tapan/
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=multi-user.target

Step 9. Reload Systemd and Enable the Service:

sudo systemctl daemon-reload
sudo systemctl enable filebrowser
sudo systemctl start filebrowser

RELATED ARTICLES

Leave A Reply

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments