How to Install Countly Community Edition on Ubuntu Server Latest

In this tutorial, we will be showing you how to install Countly Community Edition on your Ubuntu Server Latest. Countly is a powerful and open-source analytics platform that can be used to track user activity across multiple devices and platforms.

Prerequisites

Installation Steps

1. Install Node.js

Countly requires Node.js version 10 or greater to run. If you don't have Node.js installed, you can install it using the following commands:

$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
$ sudo apt-get install -y nodejs

2. Install MongoDB

Countly uses MongoDB to store its data. You can install it using the following commands:

$ sudo apt-get install -y mongodb

After the installation, start MongoDB server using:

$ sudo systemctl start mongodb

3. Install Countly

Now, we can install Countly. Follow the below steps for installation:

Step 1:

Download and import the Countly GPG key:

$ wget -qO - https://repo.count.ly/CountlyPublicKey.asc | sudo apt-key add -

Step 2:

Create a Countly sources list:

$ echo "deb https://repo.count.ly/community/ all main" | sudo tee /etc/apt/sources.list.d/countly.list

Step 3:

Update the package list:

$ sudo apt-get update

Step 4:

Install the Countly server:

$ sudo apt-get install -y countly-server

This will take some time and at the end of the installation, Countly setup wizard prompts.

To continue with installation, enter 'y' and press enter.

Follow the setup wizard to set up Countly for the first time.

4. Launch Countly

With that, you've completed the installation of Countly on your server. You can now access Countly admin panel by going to http://<your-server-ip>:9000 in your web browser.

Congratulations, you have successfully installed Countly Community Edition on your Ubuntu Server Latest. You can now start tracking user activity across your platforms effortlessly.

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!