EVE Agent Installation on Linux Endpoints

The files required for installation on linux Endpoints found in the double compressed Agent GNULinux.zip archive are:

  • README LINUX File.

  • redhatInstall.sh File.

  • removeService.sh File.

  • ubuntuInstall.sh File.

  • Folders publish.

After the download of the installation files as described in section Obtaining the EVE Agent, transfer them to the endpoint and follow the steps below for installation:

After transferring the installation package to the Endpoint, unzip the file Agent GNULinux.zip, the .tar.xz file.

  1. Authentication file. Download the Auth.json file from the EVE platform, copy and paste the file into the publish/AppSettings folder.

  2. Grant execution permissions to the installation script. Choose the installation script according to the Linux distribution: • RedHat, use the installation script: redhatInstall.sh. • Ubuntu 18.04 LTS, use the installation script: ubuntuInstall.sh.

    • Ubuntu 20.04 LTS, use the installation script: ubuntuInstall.sh.

    • Ubuntu 22.04 LTS, use the installation script: ubuntu22_04Install.sh.

  3. Open the command terminal and navigate to the directory where the installation shell files are located (redhatInstall.sh, ubuntuInstall.sh, ubuntu22_04Install.sh).

    Based on the Linux distribution, enter the following command: • RedHat, execute the command: sudo chmod 775 redhatInstall.sh

    • Ubuntu 18.04 LTS, execute the command: sudo chmod 775 ubuntuInstall.sh

    • Ubuntu 20.04 LTS, execute the command: sudo chmod 775 ubuntuInstall.sh

    • Ubuntu 22.04 LTS, execute the command: sudo chmod 775 ubuntu22_04Install.sh

  4. Run the installation shell script according to the Linux distribution: • RedHat, execute: ./redhatInstall.sh

    • Ubuntu 18.04 LTS, execute: ./ubuntuInstall.sh

    • Ubuntu 20.04 LTS, execute: ./ubuntuInstall.sh

    • Ubuntu 22.04 LTS, execute: ./ubuntu22_04Install.sh The installation script adds the EVE application to the PM2 process manager.

  5. To conclude configuring PM2, copy, paste, and run the command that will be automatically generated by PM2.

Command Example:

sudo env PATH=$PATH:/usr/bin /usr/local/lib/node_modules/pm2/bin/pm2 startup systemd -u myuser --hp /home/myuser

6. To make PM2 run and manage the EVE application, run the command:

$ source ~/.bashrc \pm2 save

7. To make PM2 stop managing the EVE application, run the script:

removeService.sh

Commands to manage the application state using PM2

Restart: $ pm2 restart EVE
Stop: $ pm2 stop EVE
Delete: $ pm2 delete EVE

Last updated