linux学习记录
分类:
2008-09-25 15:19:07
In general, these exports are done within .profile in your home directory. For system-wide effects, you can also make them within /etc/profile.
|\#---------------------------------------------------------
|# PEGASUS Variable Setup
|#---------------------------------------------------------
|export RMM_DIR=
|export PEGASUS_HOME=$RMM_DIR/pegasus_home
|export PEGASUS_ROOT=$RMM_DIR/pegasus
|export PEGASUS_PLATFORM=LINUX_IX86_GNU
|export PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER=1
|export PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER=1
|export PEGASUS_DEBUG=1
|export PEGASUS_JMPI_MAX_HEAP=900M
|export PEGASUS_JMPI_INITIAL_HEAP=900M
|export PEGASUS_JVM=sun
|export PEGASUS_JAVA_ARCH=i386
|export PATH=$PEGASUS_HOME/bin:$PEGASUS_HOME/sbin:$JAVA_SDK/bin:$PATH
|export MANPATH=$MANPATH:$PEGASUS_HOME/share/man
|
|#---------------------------------------------------------
|# RMM CIM Provider Variable Setup
|#---------------------------------------------------------
|export RMMCIM_NAMESPACE=root/cimv2
|export RMMCIM_CONFIG=/var/rmm.properties
|
|export JAVA_SDK=/j2sdk1.4.2_07
|export JAVA_SDKINC=$JAVA_SDK/include
|export WBEMCLI_IND=$RMM_DIR/sblim-wbemcli-1.4.10/wbemcli.ind
|
|#---------------------------------------------------------
|# CLASSPATH exports
|#---------------------------------------------------------
|export CLASSPATH=$PEGASUS_ROOT/src/Pegasus/ProviderManager2/JMPI
|export CLASSPATH=$CLASSPATH:$RMM_DIR/xerces-2.4.0.jar
|export CLASSPATH=$CLASSPATH:$RMM_DIR/log4j-1.2.8.jar
|export CLASSPATH=$CLASSPATH:$RMM_DIR/j2ee.jar
|export CLASSPATH=$CLASSPATH:$RMM_DIR/soap.jar
|export CLASSPATH=$CLASSPATH:$RMM_DIR/mail.jar
|export CLASSPATH=$CLASSPATH:$RMM_DIR/uddi4j.jar
|export CLASSPATH=$CLASSPATH:$RMM_DIR/rmmcimp.jar
|export CLASSPATH=$CLASSPATH:$RMM_DIR/rmmmsgs.jar
|export CLASSPATH=$CLASSPATH:$RMM_DIR/rmmjapi.jar
|export LD_LIBRARY_PATH=$PEGASUS_HOME/lib:$JAVA_SDK/jre/lib/i386/server:
| $JAVA_SDK/jre/lib/i386/native_threads:$JAVA_SDK/jre/lib/i386:$RMM_DIR/usr/local/lib
|export LD_ASSUME_KERNEL=2.2.5