oracle 19c install steps

oracle 19c install steps

1. VMware-workstation-full-17.5.0 download and setup

2. redhat8.9,vnc download and setup
--------------------------
VNC Config Steps
Vmware 安装 redhat 8.9
连接网络
subscription-manager register 注册 redhat账户
vi /etc/selinux/config, 设置SELINUX=disabled
yum install tigervnc-server tigervnc
adduser oracle
passwd oracle
su - oracle
vncpasswd
vim /etc/tigervnc/vncserver.users, 添加 :1=oracle
systemctl enable vncserver@:1.service
systemctl start vncserver@:1.service
systemctl stop firewalld
--------------------------

3. download
LINUX.X64_193000_db_home.zip
compat-libcap1-1.10-7.el7.x86_64.rpm
compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm

4. hostnamectl set-hostname ora19c

5. vi /etc/hosts and add the following
192.168.99.199 ora19c

6. install dependency

yum -y install bc xdpyinfo binutils elfutils-libelf elfutils-libelf-devel fontconfig-devel glibc glibc-devel ksh libaio libaio-devel libXrender libX11 libXau libXi libXtst libgcc libnsl librdmacm libstdc++ libstdc++-devel libxcb libibverbs make policycoreutils policycoreutils-python-utils smartmontools sysstat
yum -y install compat-libcap1-1.10-7.el7.x86_64.rpm
yum -y install compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm
yum -y insatll gcc-c++

7. config user and groups (already have oracle user)

groupadd oinstall
groupadd dba
groupadd asmdba3. export LANG=en_US
groupadd backupdba
groupadd dgdba
groupadd kmdba
groupadd racdba
groupadd oper
groups oracle
usermod -a -G oinstall,dba,asmdba,backupdba,dgdba,kmdba,racdba,oper oracle
groups oracle


8. vi /etc/sysctl.conf add the following
fs.file-max = 6815744
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576

9. vi /etc/selinux/config
SELINUX=disabled

10. systemctl stop firewalld

11. env
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/19.5.0
export PATH=$PATH:$ORACLE_HOME/bin:/usr/local/bin
export ORACLE_HOSTNAME=ora19c
export ORACLE_SID=orcl
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/rdbms/lib:$ORACLE_HOME/network/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/network/jlib
export CV_ASSUME_DISTID=RHEL8

12. vi /etc/security/limits.conf add the following

oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240
oracle hard stack 32768
oracle soft memlock unlimited
oracle hard memlock unlimited

13. make dir and unzip
mkdir -p /u01/app/oracle/product/19.5.0
mkdir -p /u01/app/oraInventory/
chown -R oracle:oinstall /u01/app/oracle
chown -R oracle:oinstall /u01/app/oraInventory/

unzip LINUX.X64_193000_db_home.zip -d /u01/app/oracle/product/19.5.0/


14. switch to desktop and
export LANG=en_US
./runInstaller


15. netca

16. dbca

17. reference

https://blog.csdn.net/bjywxc/article/details/104696121
https://blog.csdn.net/OceanWaves1993/article/details/130232193
https://zhuanlan.zhihu.com/p/388311750
https://www.cnblogs.com/zhwl/p/3723772.html

 

posted @ 2023-12-22 11:41  SolidMango  阅读(31)  评论(0编辑  收藏  举报