ProjectSend is an open-source file-sharing and collaboration tool that enables users to share, manage, and collaborate on files with other team members. It is an ideal solution for organizations that deal with large files and need a secure and efficient way to share them. In this tutorial, we will learn how to install ProjectSend on Debian latest.
Before we begin, make sure you have the following:
The first thing you need to do is update your Debian system and install all the necessary packages for ProjectSend to run smoothly. To do that, run the following commands:
sudo apt update
sudo apt upgrade
sudo apt install apache2 php7.2 php7.2-mysql mariadb-server mariadb-client
The next step is to download the latest version of ProjectSend from its official website. You can download it by running the following command:
wget https://www.projectsend.org/releases/ProjectSend_v.X.Y.Z.zip
Replace X.Y.Z
with the actual version number. Once the download is complete, extract the zip file using the command below:
unzip ProjectSend_v.X.Y.Z.zip
Copy the extracted files to /var/www/html
using the command:
sudo cp -r ProjectSend/ /var/www/html/
Allow Apache to access the files by running:
sudo chown -R www-data:www-data /var/www/html/ProjectSend/
Now, we need to create a database for ProjectSend. To do that, follow the steps below:
Open the MySQL shell by running:
sudo mysql -u root -p
Enter your MySQL root user password when prompted.
Create a new database using the following command. You can replace projectsenddb
with any name you want for your database:
CREATE DATABASE projectsenddb;
Create a new user and grant it full privileges to the projectsenddb
. You can replace projectsenduser
and password
with any username and password you want:
CREATE USER 'projectsenduser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON projectsenddb.* TO 'projectsenduser'@'localhost';
Flush the database privileges using the command:
FLUSH PRIVILEGES;
Exit the MySQL shell using the command:
exit;
Before we can use ProjectSend, we need to set up its configuration file. Copy the example configuration file using the command:
sudo cp /var/www/html/ProjectSend/includes/settings_example.php /var/www/html/ProjectSend/includes/settings.php
Then, use your favorite text editor to update the configuration file with the correct database information.
sudo nano /var/www/html/ProjectSend/includes/settings.php
Update the following lines with your database information:
// Database Information
define('PROJECTSEND_DB_SERVER', 'localhost');
define('PROJECTSEND_DB_NAME', 'projectsenddb');
define('PROJECTSEND_DB_USERNAME', 'projectsenduser');
define('PROJECTSEND_DB_PASSWORD', 'password');
Save and close the file.
Enable Apache rewrite module to enable friendly URLs:
sudo a2enmod rewrite
Then, edit the Apache configuration file:
sudo nano /etc/apache2/sites-available/000-default.conf
And add the following lines between the VirtualHost
tags:
<Directory /var/www/html>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow, deny
allow from all
</Directory>
Save and close the file.
Restart Apache to apply the changes:
sudo systemctl restart apache2
Finally, open your web browser and navigate to http://your_server_ip/ProjectSend/ to access the ProjectSend login page.
Use the default username and password to log into your ProjectSend dashboard:
In this tutorial, we have learned how to install ProjectSend on Debian latest. Now you can start using ProjectSend to securely share and collaborate on files with your team.
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!