Preloader image
DDD

리눅스

리눅스 자바 환경 설정 및 알리아스

작성자 관리자 (admin)
조회수 1,065
입력일 2020-12-07 09:38:22

-bash-4.1$ cat .bashrc
alias l='ls -alF'
alias s='cd /home2/_scheduler/tomcat'
alias log='tail -f /home2/_scheduler/tomcat/logs/catalina.out'

-bash-4.1$ cat .bash_profile
# .bash_profile
alias sc='cd /home2/_scheduler/'

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin;$JAVA_HOME/bin;
BASH_ENV=$HOME/.bashrc
USERNAME="JOBSOS"

export LANG=ko_KR.eucKR
export USERNAME BASH_ENV PATH

export MYSQLHOME=/usr/local/mysql
export MMS_HOME=/mms
export CFGFILE=/mms/config/mms.conf
export LD_LIBRARY_PATH=$MYSQLHOME/lib/mysql

# DaWoo
export UDSROOT=/home2/DAWOO/UDS_ALL
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:DBMS

export UDS_FAXR_ROOT=/home2/DAWOO/UDS_ALL
export UDS_FAXR_ROOT=/home2/DAWOO/UDS_FAXR

# addon path
export JAVA_HOME=/home2/_scheduler/java
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH="."

PATH=$PATH:/bin:/usr/sbin:/usr/local/bin:/usr/local/mysql/bin:/mms/bin.

 

^