Skip to main content

JuggleIM provides a complete Private Cloud installation tool that enables you to deploy an IM cluster quickly, even without extensive server administration experience.

This guide walks through the installation and deployment of standalone and clustered JuggleIM, with a streamlined installation process that takes only minutes.

Create an Application

Sign in to the Admin Console, select Create Application, choose a suitable plan, and create a Private Cloud application. create an app.

Install and Deploy

Download the Installation Tool

wget https://downloads.juggle.im/server/linux/amd64/juggleim.ctl

Generate an Installation License

generate install license.

Install the Standalone Edition

  1. Prepare a server with the following specifications:

Operating system: Linux; CentOS 7/8 or Ubuntu 18.04 is recommended.

Hardware: 4 CPU cores, 8 GB memory, and 200 GB disk space.

  1. Sign in to the server over SSH, then run the following command to download the installation script.
wget https://downloads.juggle.im/server/linux/amd64/juggleim.ctl  && sudo chmod u+x juggleim.ctl

download juggleim.ctl

  1. Run the following command to install the service.
sudo ./juggleim.ctl install  --license  {INSTALL_LICENSE}

Installation in progress: alt text

Installation complete:

  1. Sign in to the Private Cloud Admin Console.

Install the Cluster Edition

  1. Prepare at least three servers. Their specifications are the same as for the standalone edition.

  2. Sign in to one server and configure its SSH access to the other hosts. Assume the following three servers:

Host nameIP
server1172.16.111.152
server2172.16.111.153
server3172.16.111.154

1) Sign in to server1 and run the following command to generate an SSH key pair:

sudo ssh-keygen -t rsa -f ~/.ssh/id_rsa -P ''

For example: generate rsa public/private key

2) Run the following command, then run its output on each of the three servers:

sudo echo "sudo echo \"`cat ~/.ssh/id_rsa.pub`\" >> ~/.ssh/authorized_keys"

Example output: alt text

Run on server1: alt text

Run on server2: alt text

Run on server3: alt text

  1. Sign in to server1 to start installation.

Download the installation tool:

wget https://downloads.juggle.im/server/linux/amd64/juggleim.ctl  && sudo chmod u+x juggleim.ctl

alt text

Start installation:

sudo ./juggleim.ctl install --hosts "172.16.111.152,172.16.111.153,172.16.111.154" -license {INSTALL_LICENSE}

alt text

Installation complete:

  1. Default IM service ports
PortProtocolDescription
9003websocketUsed by client SDKs to establish persistent connections to the IM service. Pass this address when initializing the SDK.
8082httpServer API listener, called by the business server to obtain tokens, create groups, and perform other administrative operations.
8090httpIM Admin Console address. The default username/password is admin/123456.