下载 Oracle 数据库,zip 包
https://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
一、更改内核参数值
# 创建或编辑
# vim /etc/sysctl.conf
vim /etc/sysctl.d/97-oracle-database-sysctl.conf
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4294967295
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
# 更改内核参数的当前值
/sbin/sysctl --system
sysctl -p
# 确认值设置正确
/sbin/sysctl -a