// 註釋 # 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 SP2Oracle Linux 4 Update 7Oracle Linux 5 Update 2 (with Red Hat Compatible Kernel)Oracle Linux 5 Update 5Oracle Linux 6Oracle Linux 6 (with Red Hat Compatible Kernel)Red Hat Enterprise Linux 4 Update 7Red Hat Enterprise Linux 5 Update 2Red Hat Enterprise Linux 5 Update 5 (with the Oracle Unbreakable Enterprise Kernel for Linux)Red Hat Enterprise Linux 6Red Hat Enterprise Linux 6 (with the Oracle Unbreakable Enterprise Kernel for Linux)SUSE Linux Enterprise Server 10 SP2SUSE Linux Enterprise Server 11CentOS7本文按照Red Hat Enterprise Linux 6來配置。 # cat /proc/version // 檢視版本 3.2 核心On Oracle Linux 4 and Red Hat Enterprise Linux 4 2.6.9 or laterOn Oracle Linux 5 Update 2 with Red Hat Compatible Kernel 2.6.18 or laterOn Oracle Linux 5 Update 5 with Red Hat Compatible Kernel 2.6.18 or laterOn Oracle Linux 5 Update 5 with Unbreakable Enterprise Kernel 2.6.32-100.0.19 or laterOn Oracle Linux 6 2.6.32-100.28.5.el6.x86_64 or laterOn Oracle Linux 6 with Red Hat Compatible Kernel 2.6.32-71.el6.x86_64 or laterOn Red Hat Enterprise Linux 5 Update 2 2.6.18 or laterOn Red Hat Enterprise Linux 5 Update 5 2.6.18 or laterOn Red Hat Enterprise Linux 5 Update 5 with Unbreakable Enterprise Kernel 2.6.32 or laterOn Red Hat Enterprise Linux 6 2.6.32-71.el6.x86_64 or laterOn Red Hat Enterprise Linux 6 with Unbreakable Enterprise Kernel 2.6.32-100.28.5.el6.x86_64 or laterOn Asianux Server 3 2.6.18 or laterOn SUSE Linux Enterprise Server 10 2.6.16.21 or laterOn SUSE Linux Enterprise Server 11 2.6.27.19 or later# uname-r
// 註釋 # 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 SP2Oracle Linux 4 Update 7Oracle Linux 5 Update 2 (with Red Hat Compatible Kernel)Oracle Linux 5 Update 5Oracle Linux 6Oracle Linux 6 (with Red Hat Compatible Kernel)Red Hat Enterprise Linux 4 Update 7Red Hat Enterprise Linux 5 Update 2Red Hat Enterprise Linux 5 Update 5 (with the Oracle Unbreakable Enterprise Kernel for Linux)Red Hat Enterprise Linux 6Red Hat Enterprise Linux 6 (with the Oracle Unbreakable Enterprise Kernel for Linux)SUSE Linux Enterprise Server 10 SP2SUSE Linux Enterprise Server 11CentOS7本文按照Red Hat Enterprise Linux 6來配置。 # cat /proc/version // 檢視版本 3.2 核心On Oracle Linux 4 and Red Hat Enterprise Linux 4 2.6.9 or laterOn Oracle Linux 5 Update 2 with Red Hat Compatible Kernel 2.6.18 or laterOn Oracle Linux 5 Update 5 with Red Hat Compatible Kernel 2.6.18 or laterOn Oracle Linux 5 Update 5 with Unbreakable Enterprise Kernel 2.6.32-100.0.19 or laterOn Oracle Linux 6 2.6.32-100.28.5.el6.x86_64 or laterOn Oracle Linux 6 with Red Hat Compatible Kernel 2.6.32-71.el6.x86_64 or laterOn Red Hat Enterprise Linux 5 Update 2 2.6.18 or laterOn Red Hat Enterprise Linux 5 Update 5 2.6.18 or laterOn Red Hat Enterprise Linux 5 Update 5 with Unbreakable Enterprise Kernel 2.6.32 or laterOn Red Hat Enterprise Linux 6 2.6.32-71.el6.x86_64 or laterOn Red Hat Enterprise Linux 6 with Unbreakable Enterprise Kernel 2.6.32-100.28.5.el6.x86_64 or laterOn Asianux Server 3 2.6.18 or laterOn SUSE Linux Enterprise Server 10 2.6.16.21 or laterOn SUSE Linux Enterprise Server 11 2.6.27.19 or later# uname-r