HumHub

HumHub is a free social network software and framework built to give you the tools to make teamwork easy and successful.

The software is based on top of the Yii framework and therefore written in PHP.


Note

For this guide you should be familiar with the basic concepts of

License

HumHub is released under a dual license, on one hand the AGPL V3 license and on the other hand a commercial license. The license and terms can be found on the Humhub website.

Prerequisites

We’re using PHP in the stable version 7.1:

[isabell@stardust ~]$ uberspace tools version show php
Using 'PHP' version: '7.1'
[isabell@stardust ~]$

You’ll need your MySQL credentials. Get them with my_print_defaults:

[isabell@stardust ~]$ my_print_defaults client
--default-character-set=utf8mb4
--user=isabell
--password=MySuperSecretPassword
[isabell@stardust ~]$

Your domain needs to be set up:

[isabell@stardust ~]$ uberspace web domain list
isabell.uber.space
[isabell@stardust ~]$

Installation

cd to your DocumentRoot and download the latest release, then unzip it into the html directory:

[isabell@stardust ~]$ cd /var/www/virtual/$USER/
[isabell@stardust isabell]$ wget --output-document=humhub.zip "https://humhub.org/en/download/start?version=1.3.15&type=zip&ee=0"
[…]
[isabell@stardust isabell]$ unzip humhub.zip
[isabell@stardust isabell]$ cd humhub-1.3.15
[isabell@stardust humhub-1.3.15]$ mv * /var/www/virtual/$USER/html/
[isabell@stardust humhub-1.3.15]$

Database Setup

Humhub saves your data in a MySQL database. Please use an additional database. You need to create this database before you enter the database credentials in the web-installer.

[isabell@stardust ~]$ mysql -e "CREATE  DATABASE ${USER}_humhub"
[isabell@stardust ~]$

Configuration

Point your browser to your domain (e.g. isabell.uber.space) to set up and configure your HumHub installation. Check the documentation for further questions.

Updates

Check the news regularly to stay informed about the newest version. You will be additionally notified about available updates in the built in humhub update module. You can update the installation via the update module which can be found in the humhub administration menue.


Tested with HumHub 1.3.15, Uberspace 7.1.13

Written by: Christoph Reißig <https://reissig-stopp.de>