How to Install HumHub on Windows 10
HumHub is an open-source social network platform that allows you to create your own secure, customizable, and feature-rich social network. In this tutorial, we will guide you on how to install HumHub on a Windows 10 operating system.
Prerequisites
Before you can begin, please ensure that the following prerequisites have been met:
A Windows 10 machine.
A web server with Apache or Nginx installed.
PHP 7.2 or higher version installed on your system.
MySQL 5.5 or higher version is installed.
Step 1: Download HumHub
Firstly, you need to download the HumHub source code from the official website at https://www.humhub.org/en/download. Click on the "Download HumHub" button and wait for the download to complete.
Step 2: Install PHP Extensions
To run HumHub, you need to install several PHP extensions. Open command prompt or terminal and run the following command:
C:\> php --ini
This will give you the location of your PHP configuration file (php.ini). Open the php.ini file and uncomment the following PHP extensions by removing the semicolon (;) from the beginning of the line or installing them if they are not already in the list:
extension=openssl
extension=pdo_mysql
extension=mysqli
extension=mbstring
extension=gd2
Step 3: Create a MySQL Database
Next, you need to create a database for HumHub to use. Open the MySQL command prompt or terminal and create a new database using the following command:
$ mysql -u root -p
mysql> CREATE DATABASE humhub_db;
mysql> GRANT ALL PRIVILEGES ON humhub_db.* TO 'your_username'@'localhost' IDENTIFIED BY 'your_password';
mysql> FLUSH PRIVILEGES;
mysql> exit
Replace 'your_username' and 'your_password' with your preferred username and password.
Step 4: Install HumHub
Extract the downloaded HumHub zip file to your web server's root directory (e.g., C:\xampp\htdocs).
Open your web browser and navigate to http://localhost/humhub or any other URL that you have installed HumHub upon. Follow the on-screen instructions to complete the installation process.
Step 5: Finish the Installation
After the installation is complete, you will be redirected to the HumHub login page. Log in using the default admin credentials (username: admin, password: admin) and customize your HumHub installation to suit your preferences.
Conclusion
Congratulations! You have successfully installed HumHub on your Windows 10 machine. From here, you can start creating your own social network and invite users to join. If you encounter any issues or errors during the installation process, refer to the HumHub documentation at https://docs.humhub.org/docs/index.md.