# /etc/profile
# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc
# It's NOT good idea to change this file unless you know what you
# are doing. Much better way is to create custom.sh shell script in
# /etc/profile.d/ to make custom changes to environment. This will
# prevent need for merging in future updates.
pathmunge () {
case ":${PATH}:" in
*:"$1":*)
;;
*)
if [ "$2" = "after" ] ; then
PATH=$PATH:$1
else
PATH=$1:$PATH
fi
esac
}
# export JAVA_HOME=/usr/java/jdk1.6.0_35
export JAVA_HOME=/usr/java/jdk1.6.0_35
# export PATH=$PATH:$JAVA_HOME/bin
export PATH=$PATH:$JAVA_HOME/binexport PATH=$PATH:$JAVA_HOME/binexport PATH=$PATH:$JAVA_HOME/bin
# export CLASSPATH=$JAVA_HOME/jre/ext:$JAVA_HOME/lib/tools.jar
# export HADOOP_HOME=/home/root/hadoop-1.0.4
# pathmunge /home/root/hadoop-1.0.4/bin
'Study & Edu > BigData' 카테고리의 다른 글
빅데이터 2틀째 수업, 마지막 시간 필기 (0) | 2015.03.14 |
---|---|
수업 두번 째 날 - server1, server2, server3 설정 및 확인 (0) | 2015.03.14 |
vi /etc/profile 안의 내용 - 파란줄만 설정하면 의사분산모드에서 전역에 등록하는법 (0) | 2015.03.07 |
vi /etc/profile 내용 복붙 -파란색줄 추가 (0) | 2015.03.07 |
p)47 에 ssh설정 - 터미널에서 실습한거 복붙 (0) | 2015.03.07 |