> Setting Up > Setting Up ILOG CPLEX > Setting Up Licensing

ILOG CPLEX 9.0 runs under the control of the ILOG License Manager (ILM). Before you can run ILOG CPLEX, or any application that calls it, you must have established a valid license that ILM can read. Licensing instructions are provided in the ILOG License Manager User's Guide & Reference, which is included with the standard ILOG CPLEX product distribution. The basic steps are:

  1. Install ILM. Normally you obtain ILM distribution media from the same place that you obtain ILOG CPLEX.
  2. Run the ihostid program, which is found in the directory where you install ILM.
  3. Communicate the output of step 2 to your local ILOG sales administration department. They will send you a license key in return.
  4. Create a file on your system to hold this license key, and set the environment variable ILOG_LICENSE_FILE so that ILOG CPLEX will know where to find the license key. (The environment variable need not be used if you install the license key in a platform-dependent default file location.)