How to Install Sharry on Linux Mint

Sharry is an open-source web-based file sharing platform that allows users to securely upload and share files. In this tutorial, we'll provide step-by-step instructions on how to install Sharry on Linux Mint.

Prerequisites

Before proceeding with the installation, you’ll need:

Install Sharry

  1. Install Git by running the following commands in the terminal:
sudo apt update
sudo apt install git
  1. Clone the Sharry repository from GitHub:
cd /opt
sudo git clone https://github.com/eikek/sharry.git
  1. Enter the Sharry directory and run the following command to build the application:
cd sharry
sudo ./sbt.sh universal:packageZipTarball
  1. Extract the Sharry package to the /opt directory:
sudo tar -zxvf target/universal/*.tgz -C /opt/
sudo mv /opt/sharry-* /opt/sharry
  1. Create a new user to run Sharry:
sudo adduser --system sharry
  1. Set permissions for the Sharry directory:
sudo chown -R sharry:sharry /opt/sharry
sudo chmod -R 755 /opt/sharry
  1. Create a new systemd service file for Sharry by running the following command:
sudo nano /lib/systemd/system/sharry.service
  1. Add the following lines to the file:
[Unit]
Description=Sharry file sharing
[Service]
User=sharry
WorkingDirectory=/opt/sharry
ExecStart=/opt/sharry/bin/sharry
Restart=on-failure
[Install]
WantedBy=multi-user.target
  1. Save and close the file.

  2. Enable and start the Sharry service:

sudo systemctl daemon-reload
sudo systemctl enable sharry.service
sudo systemctl start sharry.service
  1. Open up your web browser and type in your server's IP address followed by :8080 (i.e., http://your_server_ip:8080). You should now be able to access the Sharry web interface.

Congratulations! You have successfully installed Sharry on your Linux Mint server. Now you can securely upload and share files with ease.

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!