Validation of the OS environment

For the following validations, log in to the candidate host as root or as a user with superuser privileges.

1. Verify that the host implements the 64-bit verison 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.
2. 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.
3. Update the operating system to CentOS/RHEL 7.2, if necessary.
1. Determine which release is installed:
cat /etc/redhat-release
2. If the result does not indicate version 7.2, update the operating system and then reboot the server before starting the Analytics installation process.
yum update -y
reboot
4. Analytics requires that UID 1337 be available. You can verify its availability with the following command:
getent passwd 1337
5. Disable the firewall, if necessary. Determine whether the firewalld service is enabled:
systemctl status firewalld.service
If the result includes Active: inactive (dead), the service is correctly disabled. If however, the result includes Active: active (running), the service is enabled and needs to be disabled now and on the next boot:
systemctl stop firewalld && systemctl disable firewalld
6. Test if Security-Enhanced Linux (SELinux) is installed and enabled, and if so disable:
test -f /etc/selinux/config && grep '^SELINUX=' /etc/selinux/config
If the preceding 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
7. Install and configure the NTP package:
ntpd -gq
8. Enable the ntpd daemon:
systemctl enable ntpd