Stash is a privacy focused cloud storage service that empowers users to store and share files securely. In this tutorial, we will explain step by step how to install Stash on Debian Latest.
Before proceeding with the installation of Stash, ensure that you have the following prerequisites:
The first step in installing Stash is to update the system. You can do this by running the following command:
sudo apt update && sudo apt upgrade -y
Stash requires a few dependencies to function properly. To install these dependencies, run the following command:
sudo apt install -y curl wget unzip supervisor
Now that we have installed the required dependencies, it's time to download and install Stash. Run the following commands to download and extract the latest version of Stash:
mkdir /opt/stash
cd /opt/stash
wget https://stashapp.cc/downloads/latest/stash-linux-x64.zip
unzip stash-linux-x64.zip
Next, we will create a configuration file for Stash and start the service using Supervisor. Run the following commands to create the configuration file and start the service:
echo "[program:stash]
command=/opt/stash/stash
directory=/opt/stash/
autostart=true
autorestart=true
startretries=3
stderr_logfile=/var/log/supervisor/stash.err.log
stdout_logfile=/var/log/supervisor/stash.out.log" | sudo tee /etc/supervisor/conf.d/stash.conf
sudo supervisorctl reread
sudo supervisorctl update
sudo systemctl enable supervisor.service
sudo systemctl start supervisor.service
sudo supervisorctl start stash
By default, Debian has firewall enabled. We need to allow Stash app to work on debian, we can open the firewall using the following command:
sudo ufw allow 8123
Finally, open your web browser and navigate to http://YOUR_SERVER_IP_ADDRESS:8123. You should be prompted to create a new admin account.
Congratulations, you have successfully installed and configured Stash on Debian Latest! You can now start using Stash to store and share files securely.
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!