How to install Filestash on Arch Linux

Filestash is a web client for managing files on different platforms like Dropbox, Google Drive, OneDrive and more, locally or remotely. In this tutorial, we will guide you on how to install Filestash on Arch Linux.

Prerequisites

Before beginning, ensure that you have a user account with sudo privileges and an updated Arch Linux system.

Step 1 - Install Dependencies

We need to install some dependencies for the Filestash installation on the Arch Linux system. Run the following command:

sudo pacman -S git python python-pip python-virtualenv python-yaml python2 python2-pip python2-virtualenv gcc make libffi-devel openssl-devel

Step 2 - Clone the Repository

Now we need to clone the Filestash repository from Github to our local machine. Run the following command:

git clone https://github.com/mickael-kerjean/filestash.git

Step 3 - Create a Virtual Environment

Switch to the cloned directory and create a virtual environment.

cd filestash
virtualenv -p /usr/bin/python2 .venv

Activate the virtual environment:

source .venv/bin/activate

Step 4 - Install Dependencies for Python 2

Now, we need to install the dependencies for Python2.

pip2 install -r requirements.python2.txt

Step 5 - Install Dependencies for Python3

After Python2 dependencies installation, we need to install the dependencies for Python3.

pip3 install -r requirements.txt

Step 6 - Prepare the Configuration File

Next, we need to prepare a configuration file for the Filestash installation.

cp conf/config.dist.yaml conf/config.yaml

Edit the configuration file as per your preferences:

nano conf/config.yaml

Step 7 - Build the Backend

After configuring the installation, we need to build the backend using the following command.

make build

Step 8 - Start the Server

Finally, we can start the Filestash server using the following command.

make start

You can now access your Filestash instance by visiting http://<serverip>:8024 in your web browser.

Conclusion

In this tutorial, we have installed Filestash on Arch Linux by cloning the repository, creating a virtual environment, installing dependencies, configuring the file and finally, starting the server. You can use Filestash to manage files on different platforms through a web interface.

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!