Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download latest package from https://clientspace.b2bits.com/product-36 (fixeye-agent-*.el7.x86_64.rpm)
  2. Install rpm package fixeye-agent-*.el7.x86_64.rpm
       

    Code Block
    languagebash
    rpm -i fixeye-agent-*.el7.x86_64.rpm
  3. Copy your fixeye-agent.license file into /etc/fixeye/ directory

    Code Block
    languagebash
    cp ./fixeye-agent.license /etc/fixeye/
  4. Edit /etc/fixeye/fixeye-agent.config as follows

    Code Block
    languagebash
    -rest-port 8882 -rest-pkey "/etc/fixeye/AdminRESTAPI.key" -rest-cert "/etc/fixeye/AdminRESTAPI.crt" --propfile "/etc/fixeye/fixeye-agent.properties" -f "/var/lib/fixedge/*.in" "/var/lib/fixedge/*.out" --pidfile "/var/log/fixeye/fixeye-agent.pid" -licfile "/etc/fixeye/fixeye-agent.license"
  5. Replace corresponding properties in /etc/fixeye/fixeye-agent.properties with the following

    Code Block
    languagecss
    Consul.Enabled=true
    Consul.Host=localhost
    Consul.Port=8501
    Consul.ReconnectInterval=1000
    Consul.ServerName=FIXEdge1
    Consul.Services.Host=localhost
    Consul.Services.HealthChecks.Interval=5
    Consul.Services.HealthChecks.Timeout=5
    Consul.SSL=true
    Consul.SSL.CertificateAuthority=/etc/fixeye/consul.crt
  6. Copy consul certificate for fixeye

    Code Block
    languagebash
    cp /etc/consul.d/consul.crt /etc/fixeye/consul.crt
    chown fixeye:fixeye /etc/fixeye/consul.crt
  7. Copy consul RESTAPI certificate for fixeye

    Code Block
    languagebash
    cp /etc/fixedge/AdminRESTAPI.crt /etc/fixeye/AdminRESTAPI.crt
    cp /etc/fixedge/AdminRESTAPI.key /etc/fixeye/AdminRESTAPI.key
    chown fixeye:fixeye /etc/fixeye/AdminRESTAPI.crt
    chown fixeye:fixeye /etc/fixeye/AdminRESTAPI.key
  8. Add fixeye user to the fixedge group

    Code Block
    languagebash
    usermod -a -G fixedge fixeye
  9. Enable auto-start and start fixeye-agent server (check service status)

    Code Block
    languagebash
    systemctl enable --now fixeye-agent
    systemctl start fixeye-agent

...