redhat6.5-oracle11gR2-grid搭建RAC(个人整理)
注:以下没有特殊说明,注:以下没有特殊说明, 2台机器均进行配置台机器均进行配置
一、安装一、安装redhat6.5.(2台机器台机器 )。。rac1,rac2.
注意:1.默认英文,hostname=rac1/rac2.
2.每台机器挂2块网卡。
二、本机二、本机windows安装安装 xshell,xftp,xmanager。。
三、规划网络三、规划网络
2台机器,每台机器2块网卡:
四、检查机器名称是否为四、检查机器名称是否为 rac1,rac2
hostname
vi /etc/sysconfig/network
五、配置网卡地址五、配置网卡地址-根据规划(根据规划( RAC1-RAC2))-每块网卡都配置上。每块网卡都配置上。
vi /etc/sysconfig/network-scripts/ifcfg-eth*
DEVICE=eth0 #网卡对应的设备别名
BOOTPROTO=static #网卡获得ip地址的方式(默认为dhcp,表示自动获取)
HWADDR=00:07:E9:05:E8:B4 #网卡MAC地址(物理地址)
IPADDR=192.168.192.12 #IP地址(配置private ip即可)
NETMASK=255.255.255.0 #子网掩码
ONBOOT=yes #系统启动时是否激活此设备
vi /etc/sysconfig/network
加
GATEWAY=192.168.192.1
六、转换到六、转换到 xshell进行连接使用进行连接使用
七、关闭防火墙和七、关闭防火墙和SELINUX
service iptables stop
chkconfig --level 12345 iptables off
chkconfig iptables --list
service iptables status
vi /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 - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
reboot --重启操作系统
八、启用八、启用FTP服务。服务。
1.测试ftp软件包是否安装: rpm -qa|grep ftp
查看有没有vsftpd项目,没有进行安装。
2.挂载光驱
把linux redhat 6.5 安装光盘放入光驱 执行下面的命令
评论0