Sharry is a file sharing web application developed in Scala. It allows users to securely share files with others over the web. In this tutorial, we will show you how to install Sharry on NetBSD.
Before you start installing Sharry, make sure that you have:
The first step is to install Java on your NetBSD server. You can check if Java is already installed by running the following command:
java -version
If Java is not installed, you can install it by running the following command:
pkg_add openjdk11
Next, you need to install Apache Maven on your NetBSD server. You can download Maven from the official website, but the easiest way to install it on NetBSD is through pkgin:
pkgin install maven
Now that you have installed the required dependencies, you can download the latest version of Sharry from the official Github page:
git clone https://github.com/eikek/sharry.git
Once you have downloaded Sharry, navigate to the sharry directory and build it using Maven:
cd sharry
mvn clean package
This will build the Sharry application and create a jar file in the target directory.
Before running Sharry, you need to configure it by editing the configuration file:
nano src/main/resources/application.conf
In this file, you can configure various settings such as the database, email sending, and storage settings.
Finally, you can start the Sharry application by running the following command:
java -jar target/sharry-$version.jar
Replace $version
with the version number of the Sharry application that you have downloaded.
Congratulations, you have successfully installed Sharry on your NetBSD server. You can now start sharing files securely with your friends and colleagues using the Sharry web application.
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!