How to Install File Sharing from https://github.com/axeloz/filesharing on Linux Mint Latest
File Sharing is an open-source, web-based application that allows users to share files and folders with others. In this tutorial, we will guide you through the steps to install File Sharing on Linux Mint.
Prerequisites
- A computer running Linux Mint
- Access to the terminal/command line
- Basic knowledge of Linux commands
Installation Steps
Open the terminal on your Linux Mint system by pressing the
CTRL+ALT+Tkeys.Update the package list and upgrade the system packages by running the following command:
sudo apt-get update && sudo apt-get upgrade -yInstall the Apache webserver and PHP by running the following command:
sudo apt-get install apache2 php libapache2-mod-php -yInstall Git by running the following command:
sudo apt-get install git -yMove to the web directory on your system by running the following command:
cd /var/www/htmlClone the File Sharing repository from GitHub by running the following command:
sudo git clone https://github.com/axeloz/filesharing.gitChange the ownership of the File Sharing directory to the Apache user by running the following command:
sudo chown -R www-data:www-data filesharing/Modify the
filesharing.conffile by running the following command:sudo nano /etc/apache2/sites-available/filesharing.confEnter the following configuration in the file:
<VirtualHost *:80> ServerName localhost DocumentRoot /var/www/html/filesharing <Directory /var/www/html/filesharing> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> </VirtualHost>Save and exit the
filesharing.conffile by pressingCTRL+X, thenY, and thenENTER.Enable the filesharing.conf file by running the following command:
sudo a2ensite filesharing.confRestart Apache by running the following command:
sudo systemctl restart apache2Open a web browser, enter the following URL and hit enter:
http://localhost/filesharingThe File Sharing login screen should be displayed. Enter your desired username and password and click on the
Registerbutton to create an account.You should now be successfully logged in to the File Sharing application.
Congratulations! You have successfully installed File Sharing on your Linux Mint system. You can now start sharing files and folders with others.