31. centos 下修改oracle的编码

时间:2022-07-23 18:49:38

[root@localhost ~]# su - oracle
[oracle@localhost ~]$ vi /home/oracle/.bash_profile

# .bash_profile

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

# User specific environment and startup programs

#PATH=$PATH:$HOME/bin
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db
export ORACLE_SID=orcl
export NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK"
export ORACLE_HOME_LISTNER=/u01/app/oracle/product/10.2.0/db
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin

export PATH

//执行source命令使修改完的.bash_profile文件生效

$ source .bash_profile