欢迎来到天天文库
浏览记录
ID:26376879
大小:3.00 MB
页数:45页
时间:2018-11-26
《oracle11grac安装配置》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、WORD格式编辑整理ORACLE11GRAC安装配置(自整理)测试配置缓环境:RedHatEnterpriseLinux5.8一、关闭防火墙[root@rac01~]#serviceiptablesstop[root@rac01~]#chkconfigiptablesoff[root@rac01~]#chkconfigiptables–listiptables0:off1:off2:off3:off4:off5:off6:off[root@rac01~]#vi/etc/selinux/config#Thisfilecont
2、rolsthestateofSELinuxonthesystem.#SELINUX=cantakeoneofthesethreevalues:#enforcing-SELinuxsecuritypolicyisenforced.#permissive-SELinuxprintswarningsinsteadofenforcing.#disabled-NoSELinuxpolicyisloaded.SELINUX=disabled#SELINUXTYPE=cantakeoneofthesetwovalues:#targete
3、d-Targetedprocessesareprotected,#mls-MultiLevelSecurityprotection.SELINUXTYPE=targeted二、修改hosts文件(所有节点)[root@rac01~]#vi/etc/hosts#Donotremovethefollowingline,orvariousprograms#thatrequirenetworkfunctionalitywillfail.127.0.0.1localhost.localdomainlocalhost::1localh
4、ost6.localdomain6localhost6172.18.3.211rac01.svc.comrac01172.18.3.212rac02.svc.comrac0210.10.10.211rac01-priv.svc.comrac01-priv10.10.10.212rac02-priv.svc.comrac02-priv172.18.3.213rac01-vip.svc.comrac01-vip172.18.3.214rac02-vip.svc.comrac02-vip172.18.3.215rac-scan.
5、svc.comrac-scan172.18.3.216rac-scan.svc.comrac-scan172.18.3.217rac-scan.svc.comrac-scan专业知识分享WORD格式编辑整理三、添加组和用户创建组:[root@rac01~]#groupadd-g1000oinstall[root@rac01~]#groupadd-g1001asmadmin[root@rac01~]#groupadd-g1002dba[root@rac01~]#groupadd-g1003asmdba[root@rac01~
6、]#groupadd-g1004asmoper创建grid用户:[root@rac01~]#useradd-u1000-goinstall-Gasmadmin,asmdba,asmoper,dba-d/home/grid-mgrid为grid用户设密码:[root@rac01~]#passwdgrid创建oracle用户:如果oracle用户不存在,则:[root@rac01~]#useradd-u1001-goinstall-Gdba,asmdba-d/home/oracle-moracle如果oracle用户已经存在,
7、则:[root@rac01~]#usermod-goinstall-Gdba,asmdba–u1001oracle为oracle用户设密码:[root@rac01~]#passwdoracle检测nobody用户[root@rac01~]#idnobody如果不存在,则:[root@rac01~]#useraddnobody四、配SSH互信为ssh和scp创建连接ls-l/usr/local/bin/sshls-l/usr/local/bin/scp不存在则创建[root@rac01~]#/bin/ln-s/usr/bin
8、/ssh/usr/local/bin/ssh[root@rac01~]#/bin/ln-s/usr/bin/scp/usr/local/bin/scp为grid用户配置SSH:在每个节点上:[root@rac01~]#su–grid[grid@rac01~]#mkdir~/.ssh[grid@rac01
此文档下载收益归作者所有