These instructions will guide you through the process of installing Filestash on Alpine Linux Latest.
Update the package list and upgrade the installed packages to their latest versions:
sudo apk update && sudo apk upgrade
Install the required dependencies:
sudo apk add bash curl git libc6-compat libgcc libintl nginx nodejs openssl python3 python3-dev tar unzip
Create a new user for running Filestash:
sudo adduser -D filestash
Switch to the new user:
su - filestash
Clone the Filestash repository:
git clone https://github.com/mickael-kerjean/filestash.git
Navigate to the Filestash directory:
cd filestash
Install the required Node modules:
npm install --only=prod
Generate a self-signed SSL certificate:
openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 365 -out cert.pem
Start the server:
npm start
Open your web browser and navigate to https://localhost:8334
. You will be prompted with a warning that the connection is not secure; this is expected because we generated a self-signed SSL certificate in step 8. Proceed to the website (unsafe).
Create an admin user and set up Filestash as desired.
That's it! You have now installed Filestash on Alpine Linux Latest.
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!