Setting Environment Variables


Setting Environment Variables

The installation and execution of openPegasus requires certain variables to be set in the user 's environment. These are as follows , assuming that $HOME is set to point to the directory into which openPegasus has been downloaded.

 export PEGASUS_HOME=$HOME/pegasus export PEGASUS_ROOT=$HOME/pegasus export PEGASUS_PLATFORM=LINUX_IX86_GNU export PATH=$PATH:$PEGASUS_HOME/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PEGASUS_HOME/lib 

$PEGASUS_HOME is set to point to the parent directory for the generated bin, lib, etc. directories.

$PEGASUS_ROOT is set to point to the parent directory for the source code (as checked out of the openPegasus CVS). I have made $PEGASUS_ROOT and $PEGASUS_HOME the same in this example but this is not necessary.

$PEGASUS_PLATFORM is set to a value to define the type of platform being used. The example I give above is for Linux running on an Intel processor. There are many other options including WIN32_IX86_MSVC, AIX_RS_IBMCXX, HPUX_PARISC_ACC and ZOS_ZSERIES_IBM.




A Practical Approach to WBEM[s]CIM Management
A Practical Approach to WBEM[s]CIM Management
ISBN: 849323061
EAN: N/A
Year: 2006
Pages: 152

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net