How to Install Sharry on Debian Latest

Sharry is a web application that allows users to share files in a secure way. It's coded in Scala and can be installed on Debian Linux operating system. In this tutorial, we will guide you on how to install Sharry on Debian Latest.

Prerequisites

Before proceeding, make sure you have the following requirements:

Note: It is recommended to install Sharry on a server that's dedicated to it because Sharry consumes a lot of resources.

Step 1 - Install Dependencies

First, update your system and install the required dependencies:

sudo apt update && sudo apt upgrade
sudo apt install wget gnupg2 curl unzip
wget https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public
gpg --no-default-keyring --keyring ./adoptopenjdk-keyring.gpg --import ./public
gpg --no-default-keyring --keyring ./adoptopenjdk-keyring.gpg --export --output adoptopenjdk-archive-keyring.gpg
sudo mv adoptopenjdk-archive-keyring.gpg /usr/share/keyrings/
echo "deb [signed-by=/usr/share/keyrings/adoptopenjdk-archive-keyring.gpg] https://adoptopenjdk.jfrog.io/adoptopenjdk/deb bullseye main" | sudo tee /etc/apt/sources.list.d/adoptopenjdk.list
sudo apt update
sudo apt install adoptopenjdk-11-hotspot sbt git

Step 2 - Clone Sharry Repository

Next, we need to clone Sharry repository from the official GitHub repository:

git clone https://github.com/eikek/sharry.git
cd sharry

Step 3 - Build and Run Sharry

Now that we have cloned the repository, we need to build and run the Sharry application:

sbt stage
sh target/universal/stage/bin/sharry

The above command will build and run Sharry. After successful build, you will see the below output. It will show the IP address and the port used by the Sharry server.

[info] play.api.Play - Application started (Prod)
[info] p.c.s.AkkaHttpServer - Listening for HTTP on /0.0.0.0:8080

Step 4 - Accessing Sharry application

By default, Sharry will be accessible through the URL http://localhost:8080. Open a web browser and navigate to the URL. You should see the Sharry login page.

Conclusion

In this tutorial, we have shown you how to install Sharry on Debian Latest. You can now easily share files with your friends and colleagues in a secure way using Sharry.

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!