In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains the "Oracle12.02.1 database installation steps", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Oracle12.02.1 database installation steps" bar!
Install the visual installation interface that Xmanager-Passive uses to receive the server on the client.
View current ip
Ip addr
Modify IP and DNS
Cd / etc/sysconfig/network-scripts/
Confirm the network card to be modified
Ls
View network card information
Cat ifcfg-ens33
Modify network card information
Vi ifcfg-ens33
Modify the content of the network card:
BOOTPROTO= "static"
IPADDR= "192.168.142.231"
NETMASK= "255.255.255.0"
GATEWAY= "192.168.142.1"
DNS1= "202.106.0.20"
Effective modification
Service network restart
Modify hostname
Hostnamectl set-hostname oracle
View firewall status
Firewall-cmd-state
Stop firewall
Systemctl stop firewalld.service
Disable firewall boot
Systemctl disable firewalld.service
Close selinux
Go to / etc/selinux/config file
Vi / etc/selinux/config
Change SELINUX=enforcing to SELINUX=disabled
Database installation steps:
1. Root user, install dependency package:
Yum install-y sysstat ksh glibc-devel libaio-devel binutils compat-libcap1 compat-libstdc++-33 compat-libstdc++-33*.i686 elfutils-libelf-devel gcc gcc-c++ glibc*.i686 glibc smartmontools net-tools lrzsz unzip xdpyinfo
2. Root users, create Oracle users and groups
Groupadd oinstall
Groupadd dba
Groupadd oper
Useradd-g oinstall-G dba,oper oracle
Passwd oracle
3. Root user, create installation directory
Mkdir-p / u01/app/oracle/product/12.2.01/db_1
Chown-R oracle:oinstall / u01/app
Chmod-R 775 / u01/app
4. Root user, modify the kernel parameter vi / etc/sysctl.conf
Fs.aio-max-nr = 1048576
Fs.file-max = 6815744
Kernel.shmall = 7549747 # kernel.shmmax/1024/4
Kernel.shmmax = 30923764531 # physical memory 32 "1024" 1024 "1024" 0.9
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 = 1048576
Take effect
Sysctl-p
5. For root users, change the file limit: 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 32768
6. Root user, modify the login parameter vi / etc/pam.d/login
Session required pam_limits.so
7. Root user, modify ulimit vi / etc/profile
If [$USER = "oracle"]; then
If [$SHELL = "/ bin/ksh"]; then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
8. Root user, modify the environment variable. Vi / .bash_profile
Export JAVA_HOME=/home/soft/jdk1.8.0_65
Export JRE_HOME=$JAVA_HOME/jre
Export PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin
Export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib
9. Root user, modify the environment variable. Vi ~ oracle/.bash_profile
Export ORACLE_BASE=/u01/app/oracle
Export ORACLE_HOME=$ORACLE_BASE/product/12.2.01/db_1
Export ORACLE_SID=ORACLE
Export PATH=$ORACLE_HOME/bin:$PATH
Export DISPLAY=192.168.0.99:0.0
10. Root user, install JDK
Delete open jdk
Yum remove * openjdk*
Mkdir / home/soft/
Cd / home/soft/
Rz
Ls
Tar-zxvf jdk-8u65-linux-x64.tar.gz
Rm-rf jdk-8u65-linux-x64.tar.gz
Reboot
Java-version
11. Oracle users, upload the installation software and decompression of oralce
Su-oracle
Cd / u01/app/oracle/
Rz
Unzip linuxx64_12201_database.zip
Rm-rf linuxx64_12201_database.zip
Cd database/
. / runInstaller
Thank you for your reading, the above is the "Oracle12.02.1 database installation steps" content, after the study of this article, I believe you have a deeper understanding of the Oracle12.02.1 database installation steps, the specific use of the need for you to practice and verify. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.