...
- Download latest package from https://clientspace.b2bits.com/product-36 (fixeye-agent-*.el7.x86_64.rpm)
Install rpm package fixeye-agent-*.el7.x86_64.rpm
Code Block language bash rpm -i fixeye-agent-*.el7.x86_64.rpm
Copy your fixeye-agent.license file into /etc/fixeye/ directory
Code Block language bash cp ./fixeye-agent.license /etc/fixeye/
Edit /etc/fixeye/fixeye-agent.config as follows
Code Block language bash -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"
Replace corresponding properties in /etc/fixeye/fixeye-agent.properties with the following
Code Block language css 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
Copy consul certificate for fixeye
Code Block language bash cp /etc/consul.d/consul.crt /etc/fixeye/consul.crt chown fixeye:fixeye /etc/fixeye/consul.crt
Copy consul RESTAPI certificate for fixeye
Code Block language bash 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
Add fixeye user to the fixedge group
Code Block language bash usermod -a -G fixedge fixeye
Enable auto-start and start fixeye-agent server (check service status)
Code Block language bash systemctl enable --now fixeye-agent systemctl start fixeye-agent
...