In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Installation platform centos6.5 + oracle 11g
Disclaimer: This article is for your own notes, non-complete installation steps, for reference only;;;
Step 1: Specify host name and planned IP address (restart system)
hostname: xyhdb modify #vim /etc/hosts file add xyhdb xyhdb.xyh
System IP address: ip 192.168.0.233/24 Gateway X.1 #setup
Create related folders and oracle users
groupadd oinstall
groupadd dba
useradd -g oinstall -G dba oracle
mkdir -p /u01/app
mkdir /u01/oradata
mkdir /u01/oraInventory
chown -R oracle:oinstall /u01/app/
chown -R oracle:oinstall /u01/oradata
chown -R oracle:oinstall /u01/oraInventory
chmod -R 775 /u01/app/
chmod -R 775 /u01/oradata
passwd oracle
================================================
Add environment variables: modify.bash_profile in/home/oracle directory
export ORACLE_BASE=/u01/app
export ORACLE_HOME=$ORACLE_BASE/oracle/product/11.2/db_home
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export ORACLE_SID=orcl
Modify parameters using root account
Add the following lines to the "/etc/security/limits.conf" file.
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 4096
oracle hard nofile 65536
oracle soft stack 10240
==============================================================
Extract database files using oracle accounts
unzip p13390677_112040_Linux-x86-64_1of7.zip
unzip p13390677_112040_Linux-x86-64_2of7.zip
Start the installation command [oracle@xyhdb database]$ ./ runInstaller
==============================================================
yum installation package
yum install gcc gcc-c++ libaio-devel compat-libstdc++ libstdc++-devel -y
rpm
rpm -ivh compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm
rpm -ivh pdksh-5.2.14-30.x86_64.rpm
----------------------------------------------------------------------------------
Other related commands:
dbca creating database
netca configure listening
lsnrctl status View listening status
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.