31. centos 下修改oracle的编码

Posted on 2015-02-06 11:13  zkx4213  阅读(265)  评论(0编辑  收藏  举报

[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                

Copyright © 2024 zkx4213
Powered by .NET 9.0 on Kubernetes