How to install Sharry on Ubuntu Server latest

Sharry is an open-source file-sharing server that allows users to securely and easily share files with others. In this tutorial, we'll walk you through the process of installing Sharry on Ubuntu Server latest.

Prerequisites

Before you start, you must have:

Installation Steps

Here are the steps to follow to install Sharry on your Ubuntu Server:

Step 1: Install Java Runtime Environment (JRE)

Sharry requires JRE to run on your Ubuntu Server. To install it, use the following command:

sudo apt install openjdk-11-jdk-headless

Verify that you have installed the JRE by running this command:

java -version

At this point, you should be able to see the Java version that you just installed.

Step 2: Download and extract Sharry

Now we need to download the latest version of Sharry from the GitHub repository. Here's how to do it:

  1. Navigate to the Sharry GitHub page (https://github.com/eikek/sharry).
  2. Click on the "Code" button and select "Download ZIP" to download the source code.
  3. Extract the downloaded file.
unzip sharry-master.zip

Step 3: Set up a Sharry service

You can run Sharry in standalone mode or as a service. In this tutorial, we'll set up Sharry as a service.

  1. Create a new user, named sharry.
sudo adduser sharry
  1. Copy the extracted sharry-master folder to the /opt directory and change the ownership to the sharry user.
sudo mv sharry-master /opt
sudo chown -R sharry:sharry /opt/sharry-master
  1. Install systemd service.
sudo systemctl enable /opt/sharry-master/init/sharry.service
sudo systemctl start sharry.service

Step 4: Check that the installation worked

To check whether the installation was successful, open http://localhost:8080 in your web browser. If it worked, you should see the Sharry login page.

Congratulations, you have successfully installed Sharry on your Ubuntu Server! You can now share files with others securely and easily.

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!