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

Installation Steps

  1. Open the terminal on your Linux Mint system by pressing the CTRL+ALT+T keys.

  2. Update the package list and upgrade the system packages by running the following command:

    sudo apt-get update && sudo apt-get upgrade -y
    
  3. Install the Apache webserver and PHP by running the following command:

    sudo apt-get install apache2 php libapache2-mod-php -y
    
  4. Install Git by running the following command:

    sudo apt-get install git -y
    
  5. Move to the web directory on your system by running the following command:

    cd /var/www/html
    
  6. Clone the File Sharing repository from GitHub by running the following command:

    sudo git clone https://github.com/axeloz/filesharing.git
    
  7. Change the ownership of the File Sharing directory to the Apache user by running the following command:

    sudo chown -R www-data:www-data filesharing/
    
  8. Modify the filesharing.conf file by running the following command:

    sudo nano /etc/apache2/sites-available/filesharing.conf
    
  9. Enter 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>
    
  10. Save and exit the filesharing.conf file by pressing CTRL+X, then Y, and then ENTER.

  11. Enable the filesharing.conf file by running the following command:

    sudo a2ensite filesharing.conf
    
  12. Restart Apache by running the following command:

    sudo systemctl restart apache2
    
  13. Open a web browser, enter the following URL and hit enter:

    http://localhost/filesharing
    
  14. The File Sharing login screen should be displayed. Enter your desired username and password and click on the Register button to create an account.

  15. 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.

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!