Installation Guide

Step-by-step instructions to install and configure EazyTrax on your system.

Installation

This manual provides step-by-step instructions for deploying the EazyTrax application with its database and proxy components using Docker. The setup involves creating a Docker network and running containers for the database (EazyTrax_db), the web application (EazyTrax_web), and multiple proxies.

Following these instructions will help you successfully set up all components of the EazyTrax platform for your IoT data management needs.

0

Deploy Docker

Run the following command to deploy the Docker:

Linux Command

sudo apt update && sudo apt upgrade -y && \
sudo apt install -y ca-certificates curl gnupg lsb-release && \
sudo mkdir -p /etc/apt/keyrings && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \
  sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg && \
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] \
  https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null && \
sudo apt update && \
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin && \
sudo usermod -aG docker $USER && \
newgrp docker && \
sudo docker run hello-world

sudo mkdir -p /etc/docker && \
echo '{
  "bip": "92.168.81.1/24",
  "log-driver": "json-file",
  "log-opts": {
    "max-size": "100m",
    "max-file": "3"
  }
}' | sudo tee /etc/docker/daemon.json > /dev/null && \
sudo systemctl daemon-reexec && \
sudo systemctl restart docker

Deploy with DockerCompose

Optional: Download .env and docker-compose.yml using wget
Wget
            wget https://eazytrax.com/files/.env
wget https://eazytrax.com/files/docker-compose -O docker-compose.yml
            
            
Optional: Create .env and docker-compose.yml file with following content.
.env
            
                    Loading Content
                
            
docker-compose.yml
            
                
            
            
Command
            sudo docker compose pull
sudo docker compose up -d
            
            

Deploy with DockerCompose

Optional: Download .env and docker-compose.yml using wget
Wget
        wget https://eazytrax.com/files/.env
wget https://eazytrax.com/files/docker-compose -O docker-compose.yml
            
        
Optional: Create .env and docker-compose.yml file with following content.
.env
        
                Loading Content
            
        
docker-compose.yml
        
            

        
        
Command
        sudo docker compose pull
sudo docker compose up -d