So its not as easy as running a setup file and connecting it to sharepoint. It is in depth and you need to have a understanding what it does.
Steps to Install Office Online Server on a 2012 Enterprise Edition of WIndows Running R2 and Later
-Run the following Powershell command to get the Web Role installed on the server before you install OOS!
add-windowsfeature web-server –includeallsubfeature
-Once its installed make sure the following features are installed in server manager
1.. Ink and Handwriting Services
2. Windows Identity Foundation
If they are not you will need to install them
The next step is to Generate a Self Signed Certificate in IIS Manager: