To install the Knox RPM, run the following command as root:
RHEL/CentOS/Oracle Linux:
sudo yum install knox
For SLES:
zypper install knox
For Ubuntu:
apt-get install knox
The installation creates the following:
knox user in /etc/passwd
Knox installation directory: /usr/hdp/current/knox, referred to as $gateway_home.
Knox configuration directory: /etc/knox/conf
Knox log directory: /var/log/knox