How to Install HumHub on Fedora Server Latest

In this tutorial, we will guide you through the installation process of HumHub on the latest version of Fedora Server. HumHub is an open-source social networking platform that allows you to create your social network for your company, organization, or community. It comes with features like user profiles, groups, file sharing, and much more.

Prerequisites

Before installing HumHub, make sure that you have the following prerequisites in place:

Step 1 - Update the System

Before installing HumHub, update the system packages using the following command:

sudo dnf update

Step 2 - Install LAMP Stack

HumHub requires a LAMP (Linux, Apache, MySQL, and PHP) stack to run on the system. You can install the LAMP stack on Fedora using the following command:

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

After installing the LAMP stack, start and enable the Apache and MariaDB service using the following commands:

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

Step 3 - Configure MariaDB

Next, you need to configure the MariaDB root password and create a new database and user for HumHub. Use the following commands for this purpose:

sudo mysql_secure_installation

This command will prompt you to set the MariaDB root password and answer some additional questions to secure your MariaDB installation.

After securing the MariaDB installation, log in to MariaDB using the following command:

sudo mysql -u root -p

Create a new database and user for HumHub using the following commands:

CREATE DATABASE humhub;
GRANT ALL PRIVILEGES ON humhub.* TO 'humhubuser'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;

Replace "password" with your desired password.

Step 4 - Install HumHub

Next, download and install the HumHub files from the official website using the following commands:

cd /var/www/html
sudo wget -O humhub.tar.gz https://www.humhub.org/en/download/start?version=1.9.0
sudo tar -zxvf humhub.tar.gz
sudo rm humhub.tar.gz

After extracting the HumHub files, give the Apache user ownership of the installation directory using the following command:

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

Step 5 - Configure Apache

Next, create a new Apache Virtual Host file for HumHub using the following command:

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

Add the following content to the file and save it:

<VirtualHost *:80>
    ServerName example.com
    DocumentRoot /var/www/html/humhub

    <Directory /var/www/html/humhub>
        Options FollowSymlinks
        AllowOverride All
        Require all granted
    </Directory>

    ErrorLog /var/log/httpd/humhub_error_log
    CustomLog /var/log/httpd/humhub_access_log common
</VirtualHost>

Replace "example.com" with your domain name or IP address.

After creating the Apache Virtual Host file, restart the Apache service using the following command:

sudo systemctl restart httpd

Step 6 - Complete the Installation

Finally, complete the HumHub installation by accessing the following URL using your web browser:

http://example.com/index.php?r=installer%2Findex

Replace "example.com" with your domain name or IP address.

Follow the on-screen instructions to complete the installation. When prompted for the database details, enter the following:

After completing the installation, log in to your HumHub dashboard using the following URL:

http://example.com/

Replace "example.com" with your domain name or IP address.

And that's it! You have now successfully installed HumHub on your Fedora Server Latest. You can now start creating your social network and invite your users to join.

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!