Linux Agent Setup

Ashwani

Last Update 4 months ago

Setting up a Linux agent is straightforward. Follow the below steps to install and validate the agent on Linux Systems.

Linux Agent Setup Pre-requisites

System Specifications:

MemoryCPUStorage
4GB2 Cores30GB
  1. Ensure the user has administrative (sudo) privileges.

  2. Script execution must be enabled in the /opt directory.

  3. Network requirements

    • Enable outbound HTTPS on port 443 for https://api.app.secopsolution.com and outbound HTTPS WebSocket (WSS) traffic (port 443) to wss://socket.app.secopsolution.com.

    • Whitelist distribution-specific yum or apt repositories based on your system's configuration for Patch Management. Alternatively, customers can use SecOps' patch server repository to avoid whitelisting multiple domains.

Export the Linux Agent 
1. Navigate to the Asset Module
  • In the top navigation panel of the SecOps platform, click on the Asset module to access the asset management functionality.

2. Initiate the Onboarding Process

  • Click on Add Asset to open the asset onboarding form.

  • Select the Agent-based option to proceed.

3. Provide Agent Information

  • Agent Mode: Select Endpoint to set up the agent directly on the target machines.

  • Agent Name: Enter a name for the agent that aligns with your naming conventions for easy identification.

  • Operating System: Choose the asset's operating system and its architecture from the drop-down

  • Asset Groups: Optionally, assign the asset to one or more asset groups to help categorize and manage it effectively.

  • Criticality Level: Set the asset’s criticality level to determine its importance and impact in your operations.

4. Download Agent Details

  • After completing the form, click on Download Agent to generate the agent details.
  • Navigate to the Notifications section to retrieve the following:

    1. Agent Download URL: The link to download the agent installation package.

    2. License Key: A unique key to activate the agent during installation.

Download and Install the Agent
  1. Download the installer file on the Linux host:

    wget https://demo_download_link

    When downloading and installing the SecOps agent, the installer file and extracted folder name will vary by the operating system and architecture you selected in the dashboard. For Linux (64-bit), a typical example would be: secops_linux_agent_x86_64.tar.gz


  2. Extract the installer file

    After downloading, extract the file. The extracted folder usually matches the name of the tar file (minus the .tar.gz extension)

    tar -xvf secops_linux_agent_x86_64.tar.gz
    cd secops_linux_agent_x86_64

  3. Run the Installer

    sudo bash install.sh

    - Accept the license terms.
    - Enter yes when prompted for SaaS based Setup.
    - Insert your license key when prompted.
Validate Installation
  1. Check the agent status in the assets section on the product.

Was this article helpful?

2 out of 2 liked this article

Still need help? Message Us