To install the StegoSOC Agent, follow the instructions below:

  1. Review the agent requirements, stegosoc agent for 64-bit architectures.
  2. Create a configuration file, and add your license key:
    sudo -i
    mkdir /etc/stegosoc
    sudo echo "license_key: YOUR_LICENSE_KEY" | tee -a /etc/stegosoc/config.yml

     You can obtain your license key from https://secure.stegosoc.com/agents/install
  3. Determine the distribution and version number:
    cat /etc/os-release
    
  4. Add StegoSOC's GnuPG Public Key:
    rpm --import https://api.bintray.com/orgs/stegosoc/keys/gpg/public.key
    
  5. Create the agent's apt repo using the below command as sudo:

    Amazon Linux

    Amazon Linux (1)
    sudo curl -o /etc/yum.repos.d/stegosoc-agent.repo http://dl.stegosoc.com/distribution/rhel/stegosoc-agent.repo
    
    Amazon Linux (2)
    sudo curl -o /etc/yum.repos.d/stegosoc-agent.repo http://dl.stegosoc.com/distribution/rhel/stegosoc-agent.repo
    

    CentOS

    CentOS (6)
    sudo curl -o /etc/yum.repos.d/stegosoc-agent.repo http://dl.stegosoc.com/distribution/rhel/stegosoc-agent.repo
    
    CentOS (7)
    sudo curl -o /etc/yum.repos.d/stegosoc-agent.repo http://dl.stegosoc.com/distribution/rhel/stegosoc-agent.repo
    

    RHEL

    RHEL (6)
    sudo curl -o /etc/yum.repos.d/stegosoc-agent.repo http://dl.stegosoc.com/distribution/rhel/stegosoc-agent.repo
    
    RHEL (7)
    sudo curl -o /etc/yum.repos.d/stegosoc-agent.repo http://dl.stegosoc.com/distribution/rhel/stegosoc-agent.repo
    

  6. Update your yum cache:
    sudo yum update
    
  7. Install StegoSOC agent:
    sudo yum install -y stegosoc-agent
  8. You can check the status by command:
    sudo /etc/init.d/stegosoc-agent status
  9. Thats it, you should now be able to see possible threats in your StegoSOC dashboard



  10. Update Stegosoc Agent on yum

    sudo yum update -y stegosoc-agent
  11. Configuring behind a LoadBalancer? Read How to configure stegosoc-agent behind LoadBalancer for more details