Validation of the OS environment
For the following validations, log in to the candidate host as root or as a user with superuser privileges.
Verify that the host implements the 64-bit verison 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 the result does not indicate version 7.2, update the operating system and then
reboot the server before starting the Analytics installation
yum update -y reboot
- Determine which release is installed:
Analytics requires that UID 1337 be available. You can verify its
availability with the following command:
getent passwd 1337
Disable the firewall, if necessary. Determine whether the firewalld
service is enabled:
systemctl status firewalld.serviceIf 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
Test if Security-Enhanced Linux (SELinux) is installed and enabled, and if so
test -f /etc/selinux/config && grep '^SELINUX=' /etc/selinux/configIf the preceding 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