filebrowser is a light cloud drive service, suitable for a low end VPS.
The following are steps for installing filebrowser in a debian VPS.
1. Download filebrowser and install it.
wget -O filebrowser.tar.gz https://github.com/filebrowser/filebrowser/releases/latest/download/linux-amd64-filebrowser.tar.gz
tar zxvf filebrowser.tar.gz
sudo mv filebrowser /usr/local/bin/
2. Create data dir.
sudo mkdir -p /data
sudo chown -R $USER:$USER /data
3. Init the database.
sudo mkdir -p /etc/filebrowser
sudo chown -R $USER:$USER /etc/filebrowser
filebrowser -d /etc/filebrowser/filebrowser.db config init
filebrowser -d /etc/filebrowser/filebrowser.db users add admin 123456 --perm.admin
4. Start it at front end for testing.
filebrowser -d /etc/filebrowser/filebrowser.db -r /data -a 0.0.0.0 -p 8080
5. Setup it as a system service.
sudo vi /etc/systemd/system/filebrowser.service
Add the following configuration.
[Unit]
Description=Filebrowser file manager
After=network.target
[Service]
User=your_username
ExecStart=/usr/local/bin/filebrowser -d /etc/filebrowser/filebrowser.db -r /data -a 0.0.0.0 -p 8080
Restart=always
[Install]
WantedBy=multi-user.target
6. Start it from systemctl.
sudo systemctl daemon-reload
sudo systemctl enable --now filebrowser
sudo systemctl start filebrowser
Now you can access filebrowser from the url http://xx.xx.xx.xx:8080/.
Certainly you can also setup a rever proxy for it, like the configuration in this article.