Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
 # Get the aliases and functions
if [ -f ~/.bashrc ]; then
     . ~/.bashrc
fi
# User specific environment and startup programs
# base settings
export PATH=$PATH:$HOME/bin


# java
export JAVA_HOME=/opt/java/jre6
export PATH=$PATH:$JAVA_HOME/bin


# JAVA_OPTS standard settings
export JAVA_OPTS='-Xms5000m -Xmx15000m -Xss1024k -verbose:gc -Djava.awt.headless=true'


# JAVA_OPTS remove debug settings
#
 export JAVA_OPTS='-Xms5000m -Xmx15000m -Xss1024k -verbose:gc 
-Djava.awt.headless=true -Xdebug 
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n'


# JAVA_OPTS profiler settings
# export JAVA_OPTS="-Xms5000m -Xmx15000m -Xss512k -verbose:gc $JPROFILER_OPTS"


# tomcat
export TOMCAT_HOME=/opt/tomcat
export PATH=$PATH:$TOMCAT_HOME/bin

...

For oracle users

These settings maybe useful if you have the oracle server or oracle client installed on the application server.

Add settings to .bash_profile for:

...

according to your setup. For example: 

Code Block
languagebash
 # oracle
export ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
export ORACLE_SID=test1
export PATH=$PATH:$ORACLE_HOME/bin

...