How to Install ProjectSend on MXLinux Latest?

ProjectSend is a self-hosted file sharing and collaboration platform, which allows users to upload and share files up to 2GB in size with other users or clients. In this guide, we will go through the steps to install ProjectSend on MXLinux Latest.

Prerequisites

Before we proceed with the installation, make sure that your system has the following prerequisites:

Step 1: Update the System

The first step is to update the system to the latest packages. For that, open a terminal and run the following command:

sudo apt update && sudo apt upgrade -y

Step 2: Install Apache, PHP and MariaDB

Install Apache webserver, PHP, and MariaDB server using the following command:

sudo apt install apache2 php mariadb-server -y

To check whether Apache and PHP are installed correctly, create a phpinfo.php file in the webroot directory using the following command:

sudo nano /var/www/html/phpinfo.php

Add the following contents in the file:

<?php
phpinfo();
?>

Save and close the file. Now navigate to http://localhost/phpinfo.php in your web browser. If everything is installed correctly, you should see the PHP info page.

Step 3: Install Zip and Curl extensions for PHP

ProjectSend requires the Zip and Curl extensions for PHP. Install them using the following command:

sudo apt install php-zip php-curl -y

Step 4: Create a Database

Now, log in to the MariaDB server as the root user using the following command:

sudo mysql -u root -p

Enter the root password when prompted. Then, create a new database and user for ProjectSend using the following commands:

CREATE DATABASE projectsenddb;
CREATE USER 'projectsenduser'@'localhost' IDENTIFIED BY 'password_here';
GRANT ALL PRIVILEGES ON projectsenddb.* TO 'projectsenduser'@'localhost';
FLUSH PRIVILEGES;
EXIT;

Make sure to replace password_here with a strong and secure password.

Step 5: Download and Extract ProjectSend

To download and extract the latest version of ProjectSend, use the following commands:

cd /tmp
wget https://www.projectsend.org/download/latest.zip
sudo unzip latest.zip -d /var/www/html/

This will extract the ProjectSend files inside the /var/www/html/ directory.

Step 6: Set Permissions

After extracting the ProjectSend files, set permissions on the directories and files using the following commands:

sudo chown -R www-data:www-data /var/www/html/projectsend
sudo chmod -R 755 /var/www/html/projectsend

Step 7: Configure ProjectSend

Rename the configuration file and change the database settings using the following commands:

cd /var/www/html/projectsend
sudo cp includes/config.sample.php includes/config.php
sudo nano includes/config.php

Update the following information in the configuration file:

Save and close the file.

Step 8: Complete the Installation

Finally, navigate to http://localhost/projectsend/ in your web browser to complete the installation process. Follow the instructions and provide the required information to install and configure ProjectSend.

Conclusion

You have successfully installed ProjectSend on MXLinux Latest. You can now use it to share files and collaborate 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!

Alternatively, for the best virtual desktop, try Shells!