Installation Guide
Step-by-step instructions to install and configure EazyTrax on your system.
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.
Run the following command to deploy the Docker:
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": "192.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
Prerequisites: Ensure your system is up to date before installing wget.
sudo apt update && sudo apt upgrade
Optional: Download .env and docker-compose.yml using wget
sudo wget https://eazytrax.com/files/.env
sudo wget https://eazytrax.com/files/docker-compose -O docker-compose.yml
Certificate Error
If you encounter the error: ERROR: cannot verify eazytrax.com's certificate, use the --no-check-certificate flag:
Wget (skip certificate verification)
sudo wget https://eazytrax.com/files/.env --no-check-certificate
sudo wget https://eazytrax.com/files/docker-compose -O docker-compose.yml --no-check-certificate
Optional: Create .env and docker-compose.yml file with following content.
sudo docker compose pull
sudo docker compose up -d