Preface
Unable to tolerate the excessive speed limits imposed by a certain Baidu Cloud Drive, and with some spare space left on the server's hard drive, I decided to build a private cloud drive using File Browser during a boring online class.
Installation
First, download the latest version of File Browser from its official GitHub page. After downloading, upload the file to the server.
If you are using a Linux system, you can install it with the following command:
After installation, you can proceed to the next step.
Configuration
On a Windows server, you can configure it with the following steps:
Open CMD and use the cd command to navigate to the directory containing filebrowser.exe.
Create the configuration database:
Set the listening address:
Set the listening port:
Set the root directory:
Set the username and password:
Set the configuration database path:
Login
After configuration, you can open a browser on your local computer, enter {Server IP}:8080, and then input the username and password set in the previous step to log in to File Browser and start using the private cloud drive service.
It is worth noting that in the above configuration, you need to set --root to the root directory of the private cloud drive service. You can set it to a folder on the server to store files. Additionally, you can use --address and --port to set the listening address and port for File Browser. Moreover, using --perm.admin to set the account as an admin account grants more permissions.
In summary, setting up a private cloud drive using File Browser is very simple. Just follow the steps above to configure it.