Installing MongooseIM on Windows 11

MongooseIM is an open-source messaging platform that is based on Erlang and XMPP. It provides various features like messaging, file sharing, video/audio calls, and so on. In this tutorial, we will learn how to install MongooseIM on Windows 11.

Prerequisites

Step 1: Installing Erlang OTP

  1. Download and install Erlang OTP from the official Erlang website: https://www.erlang.org/downloads.
  2. Select the appropriate installer for your operating system and make sure that your system meets the requirements.
  3. Follow the installation instructions.

Step 2: Installing Git and OpenSSL

  1. Download and install the Git from the official Git website: https://git-scm.com/downloads.
  2. Follow the installation instructions.
  3. Download and install OpenSSL from the official OpenSSL website: https://slproweb.com/products/Win32OpenSSL.html.
  4. Select the appropriate version of OpenSSL and make sure that your system meets the requirements.
  5. Follow the installation instructions.

Step 3: Installing MongooseIM

  1. Open the Command prompt or PowerShell in Windows 11.
  2. Use the cd command to navigate to the directory where you want to install MongooseIM.
  3. Clone the MongooseIM repository using Git by running the following command:
$ git clone https://github.com/esl/MongooseIM.git mongooseim
  1. After the clone is completed, navigate to the MongooseIM directory:
$ cd mongooseim
  1. Build MongooseIM by running the following command:
$ make rel
  1. Once the build process is completed, you will find the MongooseIM release file in the _build directory.

Step 4: Running MongooseIM

  1. Navigate to the MongooseIM directory:
$ cd mongooseim
  1. Start the MongooseIM server by running the following command:
$ _build/default/rel/mongooseim/bin/mongooseim start
  1. Verify that the MongooseIM server is running by visiting the following URL in your web browser: http://localhost:5280.

That's it! You now have MongooseIM installed and running on your Windows 11 machine. You can now start using it to build messaging applications.

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!