In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. Log in to oracle users, log in to dba, and display garbled codes.
[root@redhat4 ~] # su-oracle
[oracle@redhat4 ~] $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
[oracle@redhat4 ~] $echo $NLS_LANG / / View the current language and return empty
[oracle@redhat4 ~] $pwd
/ home/oracle
[oracle@redhat4 ~] $cat .bash _ profile / / View the 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
[oracle@redhat4 ~] $vi .bash _ profile / / number and add the following 2 lines:
Export LANG=en_US.UTF-8
Export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
[oracle@redhat4 ~] $exit / / log in to the oracle user again
Logout
[root@redhat4 ~] # su-oracle
[oracle@redhat4 ~] $sqlplus / as sysdba / / shows normal.
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"
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.