In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
one。 The more you learn, the more you need to sort out, so the blog was born. As the first blog post, it has to be oracle, because I want to do DBA. Don't talk too much nonsense, do it.
two。 Preparation work: 10201_database_linux32.zip.
LibXp-1.0.0-8.1.el5.i386.rpm (the package is in the image)
three。 The configuration made according to the needs of the company:
1. Adjust kernel parameters and install the rpm package:
Log in to root and execute xhost + under X-Windows (set Xserver access)
Echo 400000000 > / proc/sys/kernel/shmmax
Source / etc/profile
Rpm-ivh libXp-1.0.0-8.1.el5.i386.rpm
two。 Create DBA groups and Oracle users:
Groupadd dba
Useradd oracle-g dba
Passwd oracle
Mkdir-p / home/oracle/product/1020
Chown oracle.dba / home/oracle/product/1020
Mkdir-p / home/oracle/tmp
Chown oracle.dba / home/oracle/tmp
3. Log in to oracle and set the oracle environment variable (later variables will also be added in / etc/profile)
Log in to oracle using the command: su-oracle
Vi .bash _ profile
Export ORACLE_BASE=/home/oracle
Export ORACLE_HOME=/home/oracle/product/1020
Export ORACLE_SID=orcl
Export LD_LIBRARY_PATH=/lib:/usr/lib:$ORACLE_HOME/lib
Export PATH=$PATH:$ORACLE_HOME/bin
Export TMPDIR=/home/oracle/tmp
Export NLS_LANG=AMERICAN_AMERICA.UTF8
Export LANG=en_us.utf8
4. Copy the 10201_database_linux32.zip to the / home/oracle directory and extract it. (the following operations need to be performed on the server side because they require graphical operations.)
Use the command when copying: cp 10201_database_linux32.zip / home/oracle
Use the command when decompressing: unzip 10201_database_linux32.zip
Log in to oracle:su-oracle
Cd database
[oracle@localhost database] $. / runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Failed
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.