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)05/31 Report--
This article mainly introduces "the detailed process of downloading and installing Oracle 19C". In daily operation, I believe many people have doubts about the detailed process of downloading and installing Oracle 19C. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts about the detailed process of downloading and installing Oracle 19C. Next, please follow the editor to study!
One: download Oracle 19C
Https://www.oracle.com/cn/database/technologies/
Https://www.oracle.com/database/technologies/oracle-database-software-downloads.html
[root@cjcos Oracle_1903_for_Linux] # pwd
/ package/Oracle_1903_for_Linux
[root@cjcos Oracle_1903_for_Linux] # ll-rth
Total 2.9G
-rw-r--r--. 1 root root 2.9G Jan 16 12:11 LINUX.X64_193000_db_home.zip
II: Oracle 19C installation
2.1 pre-installation check
2.1.1 check the operating system version
[root@cjcos package] # cat / etc/redhat-release
Red Hat Enterprise Linux Server release 7.5 (Maipo)
2.1.2 check memory
[root@cjcos package] # free-m
Total used free shared buff/cache available
Mem: 4700 929 427 14 3343 3506
Swap: 4991 0 4991
2.1.3 check swap space
2.1.4 check disk space
[root@cjcos package] # df-h
Filesystem Size Used Avail Use% Mounted on
Devtmpfs 2.3G 0 2.3G 0% / dev
Tmpfs 2.3G 0 2.3G 0% / dev/shm
Tmpfs 2.3G 9.4M 2.3G 1% / run
Tmpfs 2.3G 0 2.3G 0% / sys/fs/cgroup
/ dev/mapper/ol_cjcos-root 294G 7.9G 287G 3% /
/ dev/sda1 1014M 217M 798M 22% / boot
Tmpfs 471m 64K 471m 1% / run/user/0
2.1.5 install the fix pack
[root@cjcos ~] # cd / etc/yum.repos.d/
[root@cjcos yum.repos.d] # ls
Public-yum-ol7.repo
[root@cjcos yum.repos.d] # wget http://yum.oracle.com/public-yum-ol7.repo
-- 2020-01-16 13 49 Rose 43 muri-http://yum.oracle.com/public-yum-ol7.repo
Resolving yum.oracle.com (yum.oracle.com)... 184.26.80.128
Connecting to yum.oracle.com (yum.oracle.com) | 184.26.80.128 |: 80. Connected.
HTTP request sent, awaiting response... 200 OK
Length: 16402 (16K) [text/plain]
Saving to: 'public-yum-ol7.repo.1'
100% [= >] 16402-K in s 0.005s
2020-01-16 13:49:51 (2.96 MB/s)-'public-yum-ol7.repo.1' saved [16402 MB/s]
Table 4-1 (Cont.) X86-64 Oracle Linux 7 Minimum Operating System Requirements
[root@cjcos yum.repos.d] # yum-y install bc* binutils* compat-libcap1* compat-libstdc++* elfutils-libelf* elfutils-libelf-devel* fontconfig-devel* glibc* glibc-devel* ksh* libaio* libaio-devel* libXrender* libXrender-devel* libX11* libXau* libXi* libXtst* libgcc* libstdc++* libstdc++-devel* libxcb* make* net-tools* nfs-utils * python * python-configshell * python-rtslib* python-six * targetcli* smartmontools* sysstat*
2.1.6 configure required users and groups
/ usr/sbin/groupadd-g 5000 dba
/ usr/sbin/groupadd-g 5001 oinstall
/ usr/sbin/groupadd-g 5002 oper
/ usr/sbin/groupadd-g 5003 asmadmin
/ usr/sbin/groupadd-g 5004 asmoper
/ usr/sbin/groupadd-g 5005 asmdba
/ usr/sbin/groupadd-g 5006 backupdba
/ usr/sbin/groupadd-g 5007 dgdba
/ usr/sbin/groupadd-g 5008 kmdba
/ usr/sbin/groupadd-g 5009 racdba
/ usr/sbin/useradd-g oinstall-G asmadmin,asmdba,asmoper,dba grid
/ usr/sbin/useradd-g oinstall-G dba,asmdba,backupdba,dgdba,kmdba,racdba,oper oracle
2.1.7 check Resource Limits
[root@cjcos yum.repos.d] # vi / etc/security/limits.conf
Oracle soft nproc 131072
Oracle hard nproc 131072
Oracle soft nofile 131072
Oracle hard nofile 65536
Oracle hard nofile 131072
Oracle soft nofile 131072
2.1.8 check Operating System Resource Parameter Settings
Changing Kernel Parameter Values
[root@cjcos ~] # vim / etc/sysctl.conf
Net.ipv4.ip_forward = 0
Net.ipv4.conf.default.rp_filter = 1
Net.ipv4.conf.default.accept_source_route = 0
Kernel.sysrq = 0 kernel.core_uses_pid = 1
Net.ipv4.tcp_syncookies = 1
Kernel.msgmnb = 65536
Kernel.msgmax = 65536
Kernel.shmmni = 4096
Kernel.sem = 250 32000 100 128
Kernel.shmmax = 4398046511104
Kernel.shmall = 1073741824
Fs.file-max = 6815744
Net.ipv4.ip_local_port_range = 9000 65500
Net.core.rmem_default = 262144
Net.core.wmem_default = 262144
Net.core.rmem_max = 4194304
Net.core.wmem_max = 1048576
Fs.aio-max-nr = 1048576
[root@cjcos] # sysctl-p
2.1.9 set environment variables
[oracle@cjcos ~] $vim .bash _ profile
Export ORACLE_BASE=/u01/app/oracle
Export ORACLE_HOME=$ORACLE_BASE/product/19.0.0/dbhome_1
Export ORACLE_SID=cjcdb
Export PATH=$ORACLE_HOME/bin:$PATH
Export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
[oracle@cjcos ~] $source .bash _ profile
2.1.10 set up the directory
[root@cjcos yum.repos.d] # mkdir-p / u01/app/oracle
[root@cjcos yum.repos.d] # mkdir-p / u01/app/oraInventory
[root@cjcos yum.repos.d] # chown-R oracle:oinstall / u01/app/oracle
[root@cjcos yum.repos.d] # chown-R oracle:oinstall / u01/app/oraInventory
[root@cjcos yum.repos.d] # chmod-R 775 / u01/app
[root@cjcos yum.repos.d] # su-oracle
[oracle@cjcos] $mkdir-p / u01/app/oracle/product/19.0.0/dbhome_1
[oracle@cjcos ~] $cd / u01/app/oracle/product/19.0.0/dbhome_1
[oracle@cjcos Oracle_1903_for_Linux] $pwd
/ package/Oracle_1903_for_Linux
[oracle@cjcos Oracle_1903_for_Linux] $ll-rth
Total 2.9G
-rw-r--r--. 1 root root 2.9G Jan 16 12:11 LINUX.X64_193000_db_home.zip
[oracle@cjcos Oracle_1903_for_Linux] $cd / u01/app/oracle/product/19.0.0/dbhome_1/
[oracle@cjcos dbhome_1] $unzip-Q / package/Oracle_1903_for_Linux/LINUX.X64_193000_db_home.zip
2.2 install softwar
[oracle@cjcos bin] $. / runInstaller
2.3 create a monitor
[oracle@cjcos ~] $netca
2.4 create an instance
[oracle@cjcos ~] $dbca
2.5 Verification
[oracle@cjcos ~] $sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0-Production on Thu Jan 16 17:23:59 2020
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
SQL > select banner_full from v$version
BANNER_FULL
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0-Production
Version 19.3.0.0.0
At this point, the study on the "detailed process of downloading and installing Oracle 19C" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.