Read the documentation. Utilities guide. Takes all of five minutes to read and understand. http://tahiti.oracle.com, pick a version, click on list of books, click on UTI, start reading.

Buy a third party reference book. Virtually all of them lay out the process in exquisite detail.