# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "$PS1" ]; then
if [ "$BASH" ]; then
PS1='/u@/h:/w/$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
#Modify PATH
PATH=$PATH:./:./bin/
# JDK1.5.0.06
JAVA_HOME=/home/tarena/program/jdk1.5.0_06
PATH=$PATH:$JAVA_HOME/bin
CLASSPATH=.
# JBOSS
#JBOSS_HOME=/home/tarena/program/jboss-4.0.5.GA
#PATH=$PATH:$JBOSS_HOME/bin
# Mysql server
MYSQL_HOME=/home/tarena/program/mysql-5.2.0
PATH=$PATH:$MYSQL_HOME/bin
# TOMCAT
CATALINA_HOME=/home/tarena/program/apache-tomcat-5.5.20
PATH=$PATH:$CATALINA_HOME/bin
export JAVA_HOME JBOSS_HOME PATH CLASSPATH MYSQL_HOME CATALINA_HOME
umask 022
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "$PS1" ]; then
if [ "$BASH" ]; then
PS1='/u@/h:/w/$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
#Modify PATH
PATH=$PATH:./:./bin/
# JDK1.5.0.06
JAVA_HOME=/home/tarena/program/jdk1.5.0_06
PATH=$PATH:$JAVA_HOME/bin
CLASSPATH=.
# JBOSS
#JBOSS_HOME=/home/tarena/program/jboss-4.0.5.GA
#PATH=$PATH:$JBOSS_HOME/bin
# Mysql server
MYSQL_HOME=/home/tarena/program/mysql-5.2.0
PATH=$PATH:$MYSQL_HOME/bin
# TOMCAT
CATALINA_HOME=/home/tarena/program/apache-tomcat-5.5.20
PATH=$PATH:$CATALINA_HOME/bin
export JAVA_HOME JBOSS_HOME PATH CLASSPATH MYSQL_HOME CATALINA_HOME
umask 022