欢迎来到天天文库
浏览记录
ID:49651278
大小:61.50 KB
页数:10页
时间:2020-03-03
《Oracle Enterprise Linux6.3下安装Oracle11g Grid ASM.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、1OracleEnterpriseLinux6.3下安装Oracle11gGridASM1.1查看版本信息cat/etc/redhat-releaseuname-a1.2添加Oracle用户useraddoracle-u600useraddgrid-u6011.3添加Oracle用户组groupadd-g1000oinstallgroupadd-g1001dbagroupadd-g1002opergroupadd-g1003asmadmingroupadd-g1004asmopergroupadd-g1005asmdbagroupadd-g1006orauser1.4修改Oracle用户所属
2、组usermod-goinstall-Gdba,asmdbaoracleusermod-goinstall-Gdba,asmdba,oper,oinstall,asmadmingrid1.5设置密码passwdoracle(oracle)passwdgrid(grid)1.6创建目录mkdir/u01mkdir-p/u01/soft(存放grid和数据库软件)mkdir-p/u01/app/oraclemkdir-p/u01/app/oraInventorymkdir-p/u01/app/oracle/product/11.2.0/gridmkdir-p/u01/app/oracle/pro
3、duct/11.2.0/db_11.1解压缩安装文件Grid文件:unzip/mnt/hgfs/SoftWare/oracle11g_linux64_11.2.0.3.0/p10404530_112030_Linux-x86-64_3of7.zip1.2设置目录所有者chown-Roracle:oinstall/u01chown-Rgrid:oinstall/u01/soft/gridchown-Roracle:oinstall/u01/app/oraclechown-Rgrid:oinstall/u01/app/oraInventorychown-Rgrid:oinstall/u01/ap
4、p/oracle/product/11.2.0/gridchown-Roracle:oinstall/u01/app/oracle/product/11.2.0/db_11.3更改文件权限chmod-R775/u01/soft/gridchmod-R775/u01/app/oracle/product/11.2.0/gridchmod-R775/u01/app/oracle/product/11.2.0/db_1chmod-R775/u01/app/oraInventory1.4查看安装的包rpm-qabinutilsrpm-qcompat-libstdc++-33(rpm-qacompat
5、-libstdc++*)rpm-qa
6、grepcompat-rpm-qa
7、grepelfutilsrpm-qagccrpm-qagcc-c++rpm-qaglibcrpm-qaglibc-commonrpm-qaglibc-develrpm-qalibaiorpm-qalibaio-devel(需要安装)rpm-qalibgccrpm-qalibstdc++rpm-qalibstdc++-develrpm-qamakerpm-qasysstatrpm-qaunixODBCrpm-qbinutilscompat-libstdc++-33elfutils-libelfelfutils-libel
8、f-develgccgcc-c++glibcglibc-commonglibc-develrpm-qglibc-headerskshlibaiolibaio-devellibgcclibstdc++libstdc++-develmakenumactl-develsysstat1.1安装缺少的包下载:1、libaio-devel-0.3.105-2.i386.rpm2、ksh-20100621-16.el6.x86_64.rpm3、numactl-devel-2.0.7-3.el6.x86_64.rpm放到:K:SoftWareOracleEnterpriseLinux6.3rpm下cd
9、/mnt/hgfs/SoftWare/OracleEnterpriseLinux6.3/rpm4、执行rpm-Uvhlibaio-devel-0.3.107-10.el6.x86_64.rpmrpm-Uvhksh-20100621-16.el6.x86_64.rpmrpm-Uvhnumactl-devel-2.0.7-3.el6.x86_64.rpm1.2修改系统用户资源权限vi/etc/profile,增加
此文档下载收益归作者所有