In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1, Official download installation package: www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
linuxamd64_12102_database_1of2.zip
linuxamd64_12102_database_1of2.zip
Create Oracle Users and Groups
[root@localhost]# groupadd oinstall
[root@localhost]# groupadd dba
[root@localhost]# useradd -g oinstall -G dba oracle
[root@localhost]# passwd oracle
3. Create a directory
[root@localhost]# mkdir -p /oracle/
[root@localhost]# chown -R oracle:oinstall /oracle/
[root@localhost]# chmod -R 775 /oracle/
4. Modify kernel parameters
Add the following parameters to the/etc/sysctl.conf file:
[root@localhost]# vi /etc/sysctl.conf
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
Execute/sbin/sysctl -p to validate configuration parameters
[root@localhost]# /sbin/sysctl -p
5. Modify user restrictions
Add the following parameters to/etc/security/limits.conf:
[root@localhost]# vi /etc/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240
oracle hard stack 10240
6. Configure environmental variables
Add the following parameters to/home/oracle/ .bash_profile:
[oracle@ ~]$ vi .bash_profile
export ORACLE_BASE=/oracle/12c
export ORACLE_HOME=$ORACLE_BASE/db1
export ORACLE_SID=orcl12c
export PATH=$ORACLE_HOME/bin:$PATH:$HOME/bin
export EDITOR=/bin/vi
Execute source .bash_profile to validate the profile
[oracle@~]$ source .bash_profile
7. Expand swap space
[root@localhost]#dd if=/dev/zero of=/home/swap bs=1024 count=16400000
[root@localhost]#mkswap /home/swap
[root@localhost]#swapon /home/swap
Add the following parameters to the end of/etc/fstab:
[root@localhost]#vi /etc/fstab
/home/swap swap swap default 0 0
Add the following parameters to the end of/etc/inittab:
[root@localhost]# vi /etc/inittab
swapon /home/swap
8. Install dependency packages:
[root@localhost]# compat-libstdc++-33-3.2.3-61.x86_64.rpm
[root@localhost]# compat-libstdc++-33-3.2.3-61.i386.rpm
[root@localhost]# rpm -ivh libaio-devel-0.3.109-12.el7.i686.rpm
[root@localhost]# rpm -ivh libaio-devel-0.3.109-12.el7.x86_64.rpm
The requested URL/home/was not found on this server.
10. Open another terminal with root user and configure graphical installation (the window cannot be closed after configuration)
[root@localhost]# export DISPLAY=:0.0
[root@localhost]# xhost +
oracle user setting environment variables
[oracle@~]$ export DISPLAY=:0.0
11. Unzip the installation package installation files
[root@localhost oracle]# unzip linuxamd64_12102_database_1of2.zip
[root@localhost oralce]# unzip linuxamd64_12102_database_1of2.zip
12. Inspection
[oracle@~]$ cd /home/oracle/database/
[oracle@database]$ ./ runInstaller -executeSysPrereqs
13. Installation
[oracle@database]$ ./ runinstaller
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.