How to Install ProjectSend on Fedora CoreOS Latest

ProjectSend is an open-source, self-hosted file sharing tool that allows you to share files with your clients, staff or friends easily. In this tutorial, we will show you how to install ProjectSend on Fedora CoreOS latest.

Prerequisites

Step 1 - Download ProjectSend

The first step is to download the latest version of ProjectSend from their official website, https://www.projectsend.org/download. In this tutorial, we will be using ProjectSend version 7.4. Make sure you are in the root directory before running the command:

cd ~

Download ProjectSend using wget:

wget https://github.com/ProjectSend/projectsend/archive/v7.4.zip

Unzip the downloaded file using the following command:

unzip v7.4.zip

Step 2 - Install Apache and PHP

To run ProjectSend, we need to install Apache web server and PHP on our machine. You can easily install them using the following command:

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

Start the Apache web server and MariaDB service and enable them at boot time using the following commands:

sudo systemctl start httpd
sudo systemctl enable httpd

sudo systemctl start mariadb
sudo systemctl enable mariadb

Step 3 - Install Database for ProjectSend

Next, we need to create a database for ProjectSend. Login to MariaDB shell using the following command:

sudo mysql -u root

Once you are logged in, create a new database for ProjectSend:

CREATE DATABASE projectsend;

Next, create a new user and grant all privileges to the user on the projectsend database:

CREATE USER 'projectsenduser'@'localhost' IDENTIFIED BY 'projectsendpassword';
GRANT ALL PRIVILEGES ON projectsend.* TO 'projectsenduser'@'localhost';

Finally, flush the privilege tables and exit MariaDB shell:

FLUSH PRIVILEGES;
EXIT;

Step 4 - Configure Apache for ProjectSend

The next step is to configure Apache for ProjectSend. Open the Apache virtual hosts configuration file using a text editor:

sudo nano /etc/httpd/conf.d/projectsend.conf

Add the following Apache directives to the file to enable ProjectSend on Apache:

<VirtualHost *:80>
    ServerName localhost
    DocumentRoot /home/core/projectsend-7.4

    <Directory /home/core/projectsend-7.4>
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

Save the file and exit the text editor.

Step 5 - Configure ProjectSend

The next step is to configure ProjectSend. Copy the config.php.sample file to the config.php file using the following command:

cp /home/core/projectsend-7.4/config.php.sample /home/core/projectsend-7.4/config.php

Edit the config.php file using a text editor and update the following values:

define('VERSION', '7.4'); // Specify the version of ProjectSend you are using.

define('DB_HOST', 'localhost'); // Specify the database host name.

define('DB_USER', 'projectsenduser'); // Specify the database user name.

define('DB_PASS', 'projectsendpassword'); // Specify the database user password.

define('DB_NAME', 'projectsend'); // Specify the database name.

Save the file and exit the text editor.

Step 6 - Start ProjectSend

The last step is to start ProjectSend. Restart the Apache web server using the following command:

sudo systemctl restart httpd

Now, you can access ProjectSend by navigating to http://your-server-ip using a web browser. You should see the ProjectSend login page. Use the following credentials to login:

Username: admin
Password: admin

Once you are logged in, you can change your password and start using ProjectSend.

Conclusion

In this tutorial, we have shown you how to install ProjectSend on Fedora CoreOS latest. You can now use ProjectSend to share files with your clients or team members.

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!