Oracle do provide a sample, and there are links on the Web but after much frustration, this one actually works.
Assuming the bin file has been downloaded from Oracle, then:
- Create the Middleware directory beforehand.
-mode=silent -silent_xml=/full/path/to/silent.xmlon the command line.
- This will install everything required, but not the Server examples domain, which is dangerous on a production server.