If you are on a RPM based system you should be able to follow the manual install steps in the docs
and then you will need to review the Knox Admin Guide to configure it to match your cluster.
HDP on Windows – Other Forum
Add Knox to an existing implementation
Where can I find the instructions for adding Knox to my existing single node implementation?
Support from the Experts
A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.
Become HDP Certified
Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world