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. You need to have start-stop-daemon installed on your server. If you don't, then you can install it by using below gist.


  5. Add StegoSOC's GnuPG Public Key:
    rpm --import https://api.bintray.com/orgs/stegosoc/keys/gpg/public.key
    
  6. 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
    

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



  11. Update Stegosoc Agent on yum

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