1. Log in to the Oracle user, login DBA, display garbled???
[Email protected] ~]# su-oracle
[Email protected] ~]$ Sqlplus/as SYSDBA
Sql*plus:release 10.2.0.1.0-production on Tue Jul 22 18:27:40 2014
Copyright (c) 1982, 2005, Oracle. All rights reserved.
???:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-64bit Production
With the partitioning, OLAP and Data Mining options
Sql> exit
[[email protected] ~]$ echo $NLS _lang//view current language, return to empty
[Email protected] ~]$ pwd
/home/oracle
[email protected] ~]$ cat. Bash_profile//view Bash_profile file
#. Bash_profile
# Get the aliases and functions
If [-f ~/.BASHRC]; Then
. ~/.bashrc
Fi
# User specific environment and startup programs
Path= $PATH: $HOME/bin
Export PATH
Unset USERNAME
Oracle_base=/u01/app/oracle
Export Oracle_base
Oracle_home=/u01/app/oracle/product/10.2.0/db_1
Export Oracle_home
Oracle_sid=jiagulun
Export Oracle_sid
Path= $PATH: $HOME/bin: $ORACLE _home/bin
[[email protected] ~]$ Vi. bash_profile//number and add the following 2 lines:
Export Lang=en_us. UTF-8
Export Nls_lang=american_america. Zhs16gbk
[[Email protected] ~]$ exit//Exit and login to Oracle user
Logout
[Email protected] ~]# su-oracle
[[email protected] ~]$ Sqlplus/as SYSDBA//show Normal No???
Sql*plus:release 10.2.0.1.0-production on Tue Jul 22 18:33:14 2014
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-64bit Production
With the partitioning, OLAP and Data Mining options
Sql> Show user;
USER is "SYS"
This article from "Let Go bo, live out wonderful!" "Blog, be sure to keep this provenance http://ibmcn.blog.51cto.com/510174/1441865
Linux under the Oracle display garbled solution