How to Install Sharry on Manjaro
In this tutorial, we will guide you through the process of installing the Sharry web application on Manjaro. Sharry is a file sharing application that allows users to securely share files through a web interface.
Prerequisites
Before we get started, you will need the following:
- A Manjaro installation with root access
- Java 11 or higher installed
- Git installed
Step 1: Clone the Sharry Repository
The first step in installing Sharry is to clone the repository from GitHub. To do this, open the terminal and enter:
git clone https://github.com/eikek/sharry.git
This will create a new directory called "sharry" in your current working directory.
Step 2: Build the Sharry Package
Navigate to the directory where you cloned the Sharry repository:
cd sharry
Next, build the Sharry package using the Gradle build tool:
./gradlew build
This will build the Sharry package and create a ZIP file named "sharry-X.X.X.zip" (where X.X.X is the version number).
Step 3: Extract the Sharry Package
Extract the contents of the ZIP file using the following command:
unzip sharry-X.X.X.zip
This will create a new directory called "sharry-X.X.X", which contains the Sharry application files.
Step 4: Start the Sharry Application
To start the Sharry application, navigate to the "sharry-X.X.X" directory:
cd sharry-X.X.X
And then run the following command:
./bin/sharry
This will start the Sharry application and display output in the terminal. You can now access the web interface by opening a web browser and navigating to:
http://localhost:8080
Note: If you want to start the Sharry application in the background, use the following command instead:
./bin/sharry start
Conclusion
Congratulations! You have successfully installed and started the Sharry web application on Manjaro. You can now share files securely using the web interface. If you want to learn more about configuring Sharry, please refer to the official documentation at https://sharry.app/docs.