How to Install ProjectSend on Fedora Server Latest

ProjectSend is an open-source, web-based file-sharing system that allows users to securely upload, share, and manage files from a central location. In this tutorial, we will show you how to install ProjectSend on Fedora Server Latest.

Prerequisites

Before we begin, make sure that you have the following:

Step 1: Install Required Packages

The first step is to install the necessary packages that ProjectSend requires. These are Apache web server, MySQL database server, PHP, and related libraries. Run the following command to install these packages:

sudo dnf install httpd mariadb mariadb-server php php-mysqlnd php-gd php-mbstring php-xml

During the installation, you will be prompted to set a password for the root user of the MariaDB server. Make sure to remember this password as it will be needed later.

After the installation is complete, start and enable Apache and MariaDB services:

sudo systemctl start httpd
sudo systemctl enable httpd
sudo systemctl start mariadb
sudo systemctl enable mariadb

Step 2: Create a Database and User for ProjectSend

Now that the required packages are installed and the services are started, the next step is to create a new MySQL database for ProjectSend and a user with the necessary privileges to manage it.

Log in to the MariaDB server as the root user:

sudo mysql -u root -p

Enter the password when prompted.

Create a new database named "projectsend":

CREATE DATABASE projectsend;

Create a new MySQL user with the name "psuser" and password "password" for example:

CREATE USER 'psuser'@'localhost' IDENTIFIED BY 'password';

Grant all privileges on the "projectsend" database to the "psuser":

GRANT ALL ON projectsend.* TO 'psuser'@'localhost';

Flush the privileges to apply the changes:

FLUSH PRIVILEGES;

Exit the MySQL prompt:

EXIT;

Step 3: Download and Install ProjectSend

The next step is to download the latest version of ProjectSend. Run the following command to download the latest version:

wget https://projectsend.org/latest.zip

Unzip the downloaded file:

unzip latest.zip

Rename the extracted folder to "projectsend":

mv projectsend_* projectsend

Copy the "projectsend" folder to the Apache web root:

sudo cp -r projectsend /var/www/html/

Change the ownership of the "projectsend" folder to Apache:

sudo chown -R apache:apache /var/www/html/projectsend/

Step 4: Configure ProjectSend

The next step is to configure ProjectSend. Copy the sample configuration file and rename it:

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

Edit the configuration file using a text editor:

sudo nano includes/config.php

Update the following lines with your MySQL database details:

define("PS_DB_HOST", "localhost");
define("PS_DB_USER", "psuser");
define("PS_DB_PASS", "password");
define("PS_DB_NAME", "projectsend");

Save and close the file.

Step 5: Enable Apache Rewrite Module

By default, Apache rewrite module is not enabled on Fedora. This module is required by ProjectSend. Run the following command to enable it:

sudo dnf install mod_rewrite
sudo systemctl restart httpd

Step 6: Set Permissions

The last step is to set the file and directory permissions for ProjectSend. Run the following commands:

sudo chmod -R 755 /var/www/html/projectsend/
sudo chmod 775 /var/www/html/projectsend/uploads/
sudo chmod 775 /var/www/html/projectsend/logs/

Step 7: Access ProjectSend

Open a web browser and navigate to the following URL:

http://localhost/projectsend/

You should see the ProjectSend login page. Use the default login credentials:

Username: admin
Password: admin

Conclusion

In this tutorial, you learned how to install and configure ProjectSend on Fedora Server Latest. You should now be able to use ProjectSend to securely share files with your colleagues or clients.

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!