Validating the OS environment
- Log in to the candidate host as root or as a user with superuser privileges.
Verify that the host implements the 64-bit version of the x86 instruction set:
- If the output is x86_64, the architecture is 64-bit. Proceed to the next step.
- If the output is i386/i486/i586/i686, the architecture is 32-bit. Stop this procedure and select a different host for the Analytics server.
Verify that name resolution works on this host:
- If the result is not a valid IPv4 address, add an entry for the host to the network nameserver, or to /etc/hosts.
- Ensure that the hostname also resolves to the loopback interface locally by editing /etc/hosts to include an entry for the hostname of the server after the listing for 127.0.0.1.
Update the operating system to CentOS/RHEL 7.2, if necessary.
Determine which release is installed:
If you are not running version 7.2, before starting the Analytics
installation process, update the operating system and then reboot the server.
yum update -y reboot
- Determine which release is installed:
Verify that UID 1337 is available to Analytics:
getent passwd 1337
Determine whether the firewalld service is enabled, and if necessary,
disable the firewall.
systemctl status firewalld.service
- If the result includes Active: inactive (dead), the service is correctly disabled. Proceed with the next step.
- If the result includes Active: active (running), the service is
enabled and must be disabled now and on the next
systemctl stop firewalld && systemctl disable firewalld
Determine whether Security-Enhanced Linux (SELinux) is installed and enabled, and if
so, disable it:
test -f /etc/selinux/config && grep '^SELINUX=' /etc/selinux/configIf the command does not return a result, proceed with the next step. If the command returns a result, SELinux is installed. Disable it and reboot the server:
- Open /etc/selinux/config in a text editor and change the value of the SELINUX variable to disabled.
- Confirm the new
grep '^SELINUX=' /etc/selinux/config
- Reboot the server:
Install and configure the NTP package:
Enable the ntpd daemon:
systemctl enable ntpd