Validating the OS environment

  1. Log in to the candidate host as root or as a user with superuser privileges.
  2. Verify that the host implements the 64-bit version of the x86 instruction set:
    uname -m
    • 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.
  3. Verify that name resolution works on this host:
    hostname -i
    • 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.
  4. Update the operating system to CentOS/RHEL 7.2, if necessary.
    1. Determine which release is installed:
      cat /etc/redhat-release
    2. 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
  5. Verify that UID 1337 is available to Analytics:
    getent passwd 1337
  6. 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 boot:
      systemctl stop firewalld && systemctl disable firewalld
  7. Determine whether Security-Enhanced Linux (SELinux) is installed and enabled, and if so, disable it:
    test -f /etc/selinux/config && grep '^SELINUX=' /etc/selinux/config
    If 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:
    1. Open /etc/selinux/config in a text editor and change the value of the SELINUX variable to disabled.
    2. Confirm the new setting:
      grep '^SELINUX=' /etc/selinux/config
    3. Reboot the server:
      reboot
  8. Install and configure the NTP package:
    ntpd -gq
  9. Enable the ntpd daemon:
    systemctl enable ntpd