Install RedHat Enterprise 8
Prerequisites
- Internet access and web browser
- VMware (Workstation or Player) or another VM platform
- RedHat Enterprise requires Docker Enterprise
The RHEL host should have the following firewall configuration:
Direction Port Protocol Source Destination Purpose Outbound 443 HTTPS Open Collector raw.githubusercontent.com
Identify latest container versions.
Outbound 443 HTTPS Open Collector *.gcr.io
Download latest Open Collector software.
Outbound 443 HTTPS Open Collector get.docker.com
Download docker repositories. Outbound 443 HTTPS Open Collector cloud.google.com
Pull container images. Outbound 443 HTTPS Open Collector storage.googleapis.com
Auto-update feature. Outbound 443 HTTPS Open Collector console.cloud.google.com
Auto-update feature. Outbound 443 HTTPS Open Collector download.docker.com
Allows for LRCTL installation of Open Collector Outbound 443 HTTPS Open Collector registry-1.docker.io
Allows for LRCTL installation of Open Collector Outbound 443 HTTPS Open Collector auth.docker.io
Allows for LRCTL installation of Open Collector Outbound 443 HTTPS Open Collector production.cloudflare.docker.com
Allows for LRCTL installation of Open Collector Outbound 514 TCP - Syslog Open Collector Windows System Monitor Agent Syslog feed of data to LogRhythm SIEM. Outbound** 6514 TCP+TLS - Secure Syslog Open Collector Windows System Monitor Agent Secure syslog feed of data to LogRhythm SIEM. Outbound 8076 TCP - Influx/Vitals Open Collector Platform Manager Data feed for Centralized Metrics (LogRhythm 7.5+ only). Inbound 3000 HTTP User machine Open Collector View Open Collector metrics in Grafana. Inbound 22 SSH User machine Open Collector Interact with Open Collector. Inbound 5044 TCP - Lumberjack Beats Open Collector Method to send data from Beats collected outside the Open Collector. **indicates optional setting
Install RedHat Enterprise 8
Download RedHat Enterprise 8 from https://www.redhat.com/en/enterprise-linux-8 (license may be required).
- Create a VM with the following settings:
- CPU: 8 cores (or more)
- RAM: 8 GB (or more)
- HDD: 50 GB (or more)
- DVD: rhel-8.x-x86_64-dvd.iso
- User: In addition to the root user, create the following user:
username: logrhythm
password: <enter a password of your choice>
Manually install Mirantis Container Runtime or Mirantis Kubernetes Engine (Formerly Docker Enterprise Edition). This must be done before installing the Open Collector on RedHat 8.
Mirantis Kubernetes Engine (Formerly Docker Enterprise Edition) Basic, version 19+ is the officially supported version.RedHat 8 is only officially supported using Mirantis Container Runtime or Mirantis Kubernetes Engine (Formerly Docker Enterprise Edition).Please refer to your vendor specific documentation for Mirantis product installation instructions. Paid license will be required.
Docker CE is not supported on RedHat 8 and will not be available for installation through the ./lrctl init command.
Modify the firewalld settings. This must be done before using Docker on RedHat8, because DNS resolution for containers on Docker does not currently work with nftables.
Open the firewalld.conf file using vi or nano:
CODEsudo vi /etc/firewalld/firewalld.conf
In the firewalls.conf config file, change FirewallBackend=nftables to:
CODEFirewallBackend=iptables
Save your changes and reload firewalld:
CODEsudo systemctl restart firewalld.service
On initial boot, log on as the root user.
Add the new logrhythm user to the sudoers wheel:
CODEusermod -aG wheel logrhythm
- Reboot the VM, and log on as the logrhythm user.
OS Installation
- Boot your VM with your installation media attached to the virtual CD-ROM drive (.iso format).
- Select Install Red Hat Enterprise Linux 8.x.
- Wait for the media check to complete.
- Once the Red Hat installer GUI starts, select your language localization settings, and click Continue.
The Installation Summary screen appears. - In the System section, click Network & Host Name. (This is required to get networking on your VM without manual configuration.)
- In the upper-right corner, click the toggle switch to On.
The VM retrieves an IP address and DNS settings using DHCP (IPs and MAC redacted for security reasons). - In the upper-left corner, click Done.
The Installation Summary screen appears. - In the Localization section, click Time & Date.
The Time & Date screen appears. Confirm the date and time are correct.
You can also use the Network Time (NTP) option (networking must be configured to use this option).- In the upper-left corner, click Done.
The Installation Summary screen appears. - In the System section, click Installation Destination.
the Installation Destination screen appears. - Ensure your local disk is selected. The recommended disk capacity is 50GB.
- In the upper-left corner, click Done.
The Installation Summary screen appears. - (Optional) To disable the default GNOME GUI, click Software Selection in the Software section.
- In the bottom-right corner, click Begin Installation.
- During the installation process, you can configure a root password and additional users.
- To set a root password, click Root Password.
Click User Creation, and create a logrhythm user with a strong password.
You can also create a logrhythm user manually after installation.Once installation is complete, click Reboot in the lower-right corner.
Make sure to remove the installation media. The method for removal is hypervisor-specific.
- Once the system is rebooted, you will be required to accept the Red Hat license.
- Click License Information.
The License information screen appears. - At the bottom, click the I accept the license agreement check box.
- In the upper-left corner, click Done.
Click Subscription Manager to register your Red Hat instance.
You must register your Red Hat instance to enable yum repos. You cannot install the Open Collector if you do not register your RedHat 8 instance.- After registering your Red Hat instance, click Finish Configuration in the bottom-right corner.
Before using Docker on RedHat Enterprise 8, you must modify the firewalld settings.
Open the firewalld.conf file using vi or nano:
CODEsudo vi /etc/firewalld/firewalld.conf
In the firewalls.conf config file, change FirewallBackend=nftables to:
CODEFirewallBackend=iptables
Save your changes and reload firewalld:
CODEsudo systemctl restart firewalld.service