Getting Started
Prerequisites
To start using Easy Monitor, you need the following:
Prerequisites: Compatible Linux operating system:
- Debian, Ubuntu, RedHat, CentOS, Fedora, Suse, Amazon Linux, Oracle Linux
- Superuser access or sudo permissions.
- Basic knowledge of Linux command line
- Git installed on your system.
- Docker and Docker Compose installed on your system.
Steps to get started:
Installing Git (using apt)
If you are using a Debian or Ubuntu-based system, or derivatives, you can install Git using the command:
$ sudo apt update
$ sudo apt install git
Installing Git (using yum)
If you are using a RedHat-based system, CentOS, Amazon Linux, or derivatives, you can install Git using the command:
$ sudo yum update
$ sudo yum install git
Clone the project:
First, you need to clone the easy monitor repository to your system. You can do this by running the following command in your terminal:
$ git clone https://github.com/db1group/easy-monitor
After cloning the repository, navigate to the directory:
$ cd easy-monitor
Running Easy Monitor Health Check
Navigate to the easy-monitor directory and run the easy-monitor hc command to check and install Docker and Docker Compose. This command will detect your Linux distribution and automatically install the necessary tools.
$ chmod +x easy-monitor
$ ./easy-monitor hc
Verifying Docker and Docker Compose installation
Run the following command below:
$ ./easy-monitor hc
Checking Docker and Docker Compose version
Run the following commands below:
$ docker -v
$ docker-compose -v
Running the easy-monitor command
If you run the script without any parameters, it will display a help message and list the available commands.
$ ./easy-monitor
Now the tool is ready to use!