操作系统基础配置
本章节所有操作使用root用户
su - root
关闭防火墙和SELINUX
关闭运行中的防火墙
#service iptables stop
关闭操作系统自启动
#chkconfig iptables off
检查关闭情况
# chkconfig --list iptables
关闭selinux:
编辑/etc/selinux/config 文件
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
RPM包安装
Oracle安装需要以下RPM包:
compat-libcap1-1.10-1 (x86_64)
gcc-4.4.4-13.el6 (x86_64)
gcc-c+±4.4.4-13.el6 (x86_64)
glibc-devel-2.12-1.7.el6 (x86_64)
libaio-devel-0.3.107-10.el6 (x86_64)
libstdc+±devel-4.4.4-13.el6 (x86_64)
sysstat-9.0.4-11.el6 (x86_64)
binutils-2.20.51.0.2-5.11.el6 (x86_64)
compat-libstdc+±33-3.2.3-69.el6 (x86_64)
glibc-2.12-1.7.el6 (x86_64)
libaio-0.3.107-10.el6 (x86_64)
libgcc-4.4.4-13.el6 (x86_64)
libstdc+±4.4.4-13.el6 (x86_64)
make-3.81-19.el6 (x86_64)
compat-libcap1.el6(x86_64)
以上包具体小版本视情况而定,通过rpm –qa| grep 命令查找是否安装了对应的包,例:
[ro