centos7安装oracle11g需要关闭防火墙吗
发布网友
发布时间:2022-05-02 14:14
我来回答
共1个回答
热心网友
时间:2022-05-02 15:44
// 注释 # root用户 $oracle用户
1. 关闭安全措施
# chkconfig iptables off // 永久关闭防火墙
# serviceiptables stop // 暂时关闭防火墙,重启系统后会自动打开
# sed -i "s/SELINUX=enforcing/SELINUX=disabled/" /etc/selinux/config // 关闭Selinux
2. 验证硬件
2.1 内存:
要求:内存最小1G,推荐2G或者更高。
查看命令:# grep MemTotal /proc/meminfo
2.2 Swap:
要求:
RAW
Swap
1G至2G 1.5倍
2G至16G 同RAW相等
16G以上 16G
查看命令:# grep SwapTotal /proc/meminfo
# free
3. 验证软件
3.1 操作系统
Asianux Server 3 SP2
Oracle Linux 4 Update 7
Oracle Linux 5 Update 2 (with Red Hat Compatible Kernel)
Oracle Linux 5 Update 5
Oracle Linux 6
Oracle Linux 6 (with Red Hat Compatible Kernel)
Red Hat Enterprise Linux 4 Update 7
Red Hat Enterprise Linux 5 Update 2
Red Hat Enterprise Linux 5 Update 5 (with the Oracle Unbreakable Enterprise Kernel for Linux)
Red Hat Enterprise Linux 6
Red Hat Enterprise Linux 6 (with the Oracle Unbreakable Enterprise Kernel for Linux)
SUSE Linux Enterprise Server 10 SP2
SUSE Linux Enterprise Server 11
CentOS7本文按照Red Hat Enterprise Linux 6来配置。
# cat /proc/version // 查看版本
3.2 内核
On Oracle Linux 4 and Red Hat Enterprise Linux 4 2.6.9 or later
On Oracle Linux 5 Update 2 with Red Hat Compatible Kernel 2.6.18 or later
On Oracle Linux 5 Update 5 with Red Hat Compatible Kernel 2.6.18 or later
On Oracle Linux 5 Update 5 with Unbreakable Enterprise Kernel 2.6.32-100.0.19 or later
On Oracle Linux 6 2.6.32-100.28.5.el6.x86_64 or later
On Oracle Linux 6 with Red Hat Compatible Kernel 2.6.32-71.el6.x86_64 or later
On Red Hat Enterprise Linux 5 Update 2 2.6.18 or later
On Red Hat Enterprise Linux 5 Update 5 2.6.18 or later
On Red Hat Enterprise Linux 5 Update 5 with Unbreakable Enterprise Kernel 2.6.32 or later
On Red Hat Enterprise Linux 6 2.6.32-71.el6.x86_64 or later
On Red Hat Enterprise Linux 6 with Unbreakable Enterprise Kernel 2.6.32-100.28.5.el6.x86_64 or later
On Asianux Server 3 2.6.18 or later
On SUSE Linux Enterprise Server 10 2.6.16.21 or later
On SUSE Linux Enterprise Server 11 2.6.27.19 or later
# uname-r