FileShelter is an open-source file-sharing application that allows you to share files securely and privately with anyone. In this tutorial, we will show you how to install FileShelter on the latest version of MXLinux.
Before we begin, you need to ensure the following prerequisites:
The first step is to install required dependencies that are required by FileShelter. Open the terminal and update the package repository by running the following command:
sudo apt update
Once the package repository is updated, run the following command to install the required dependencies:
sudo apt install build-essential libssl-dev libsqlite3-dev
FileShelter is written in Go language, so you need to download and install Go on your system. Run the following command to download Go:
wget https://golang.org/dl/go1.17.1.linux-amd64.tar.gz
Next, extract the downloaded archive and move it to the /usr/local
directory by running the following commands:
sudo tar -C /usr/local -xzf go1.17.1.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
To verify if Go is properly installed, run the following command:
go version
The output should display the installed Go version.
Next, you need to clone the FileShelter repository from GitHub. Run the following command to clone the repository:
git clone https://github.com/epoupon/fileshelter.git
Navigate to the cloned fileshelter
directory:
cd fileshelter
Before you start building FileShelter, you need to update the configuration file. Run the following command to copy the example configuration file:
cp fileshelter.example.cfg fileshelter.cfg
Next, open the configuration file in your favorite editor and update the following fields:
TLS = true
Password = SomePassword
SessionExpiry = 30m
Storage = /usr/share/fileshelter/data
Save and close the configuration file.
Now, build the FileShelter binary using the following command:
make
Once the FileShelter is built successfully, you can start it using the following command:
./fileshelter -c fileshelter.cfg
If everything is fine, you can access the FileShelter web interface on http://localhost:8080.
That’s it! You have successfully installed and configured FileShelter on MXLinux latest version. You can now share your files securely and privately with anyone using FileShelter.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!