- Oracle ユーザの ~/.bash_profile に環境変数を追加する
# .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs umask 022 export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=/u01/app/oracle/product/19.3.0/dbhome_1 export PATH=${ORACLE_HOME}/bin:${PATH} export LANG=ja_JP.UTF-8 export NLS_LANG=Japanese_Japan.AL32UTF8
ログオフしてログインするか、次のコマンドを実行する
source ~/.bash_profile