已阅读5页,还剩41页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
一、系统准备1.1、操作系统版本需求执行命令oslevel s来查看# oslevel s1.2、内存需求执行命令lsattr -e -l sys0 -a realmem 显示内存大小# lsattr el sys0 -a realmem1.3、swap空间需求执行命令lsps a查看swap空间大小#lsps a1.4、确认操作系统位数执行getconfhardware_bitmode命令查看# getconf hardware_bitmode1.5、软件包需求aix 61系统需要如下软件包bos.adt.basebos.adt.libbos.adt.libmbos.perf.libperfstat or ctoolsxlc.aix61.rte: or later执行命令 lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.libperfstatbos.perf.perfstat ctools xlc.aix61.rte 查看软件包安装情况# lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.libperfstatbos.perf.perfstat ctools xlc.aix61.rte fileset level statedescription-path: /usr/lib/objrepos bos.adt.base committedbase application developmenttoolkit bos.adt.lib committedbase application developmentlibraries bos.adt.libm committedbase application developmentmath library bos.perf.libperfstat committed performance statisticslibrary interface bos.perf.perfstat committedperformance statisticsinterface ctools committedproc filesystem tools xlc.aix61.rte committed xl c/c+ runtime foraix 6.1path: /etc/objrepos bos.adt.base committedbase application developmenttoolkit bos.perf.libperfstat committed performance statisticslibraryinterface bos.perf.perfstat committedperformance statisticsinterface1.6、系统补丁需求11gr2需要以下补丁,执行命令 instfix -i查询instfix -i | grep iz41855instfix -i | grep iz51456instfix -i | grep iz523191.7、创建用户组和用户使用smitty mkgroup 命令创建用户组dba和oinstall,组号分别为301和302;使用smitty mkuser命令进行创建用户oracleuseradd -d /home/oracle -m -u 401 -g oinstall -g dba oracle# passwd oraclechanging password for oracleoracles new password:enter the new password again:1.8、增加oracle用户shell能力查看oracle用户shell能力lsuser -a capabilities oracle增加oracle用户shell能力chusercapabilities=cap_numa_attach,cap_bypass_rac_vmm,cap_propagate oracle1.9、系统参数配置1.9.1、配置进程数执行命令smitty chgsys修改,将processes修改为163841.9.2、配置grid用户和oracle用户shell权限修改/etc/security/limits文件default:fsize = -1core = 2097151cpu = -1data = -1rss = -1stack = -1nofiles = -11.9.3、查看异步aio数执行命令ioo -oaio_maxreqs1.9.4、配置网络参数查看参数# no -a | fgrepephemeraltcp_ephemeral_high = 65535tcp_ephemeral_low = 32768udp_ephemeral_high = 65535udp_ephemeral_low = 32768配置参数# no -p o tcp_ephemeral_low=9000 -o tcp_ephemeral_high=65500settingtcp_ephemeral_low to 9000settingtcp_ephemeral_low to 9000 in nextboot filesettingtcp_ephemeral_high to 65500settingtcp_ephemeral_high to 65500 in nextboot file# no -p o udp_ephemeral_low=9000 -o udp_ephemeral_high=65500settingudp_ephemeral_low to 9000settingudp_ephemeral_low to 9000 in nextboot filesettingudp_ephemeral_high to 65500settingudp_ephemeral_high to 65500 in nextboot file1.9.5、配置主机虚拟内存vmo -p -o minperm%=3vmo -p -o maxperm%=90vmo -p -o maxclient%=90vmo -p -o lru_file_repage=0vmo -p -o strict_maxclient=1vmo -p -o strict_maxperm=01.9.6、增加操作系统块分配大小chdev -l sys0 -a ncargs=128如果报错method error(/usr/lib/methods/chggen):0514-018 the values specified for thefollowing attributesare not valid:ncargs arg/env list size in 4kbyte blocks则使用命令 smit chgsys查看arg/env列的数值。1.9.7、增加操作系统最大进程数使用命令 smit chgsys,将“maximum number of processes allowed per user”列修改为163841.9.8、创建oracle用户#mkgroup id=600 oinstall# mkgroup id=601 dba#mkuser id=800 pgrp=oinstall groups=dba oracle1.10、配置oracle用户环境变量oracle用户export oracle_base=/home/oracleexport oracle_home=$oracle_base/product/11.2.0/dbhome_2export oracle_sid=orclexport path=$oracle_home/bin:$path配置完成后./.profile使之生效1.11、创建oracle目录结构root用户登录执行:在home下创建# mkdir /oracle# mkdir /oracle/product# mkdir /oracle/product/11.2.0# mkdir /oracle/product/11.2.0/dbhome_2# chown -r oracle:dba /home/oracle# chmod -r 775 /home二、数据库软件安装上传数据库软件的压缩包时要注意,不能在win下解压在压缩,容易造成数据文件丢失或者字符集不正确而导致不能正常安装,所以要尽量上传完整的压缩包并在aix系统下进行解压以保证安装文件的正确性和完整性;并且要保证用二进制的方式上传。(另外,解压oracle11g后会自带unzip的软件包,在database/install下,把unzip copy到/usr/bin目录下就可以直接用unzip解压了)注:在安装之前,oracle用户如果在终端远程安装需要在.profile中的display添加本机的ip不同的服务器要在同一台机器上显示配置的端口号不一样,也就是0.0,1.0,2.0.。上传并解压oracle11g 的压缩包2.1、启动安装界面以oracle用户登录系统,在database下在root下执行./rootpre.sh命令,然后在执行./runinstaller 命令,会提示是否在root下执行了rootpre.sh输入y并按enter$ ./runinstaller*your platform requires the root user to perform certain pre-installationos preparation. the root user shouldrun the shell script rootpre.sh beforeyou proceed with oracle installation.rootpre.sh can be found at the top levelof the cd or the stage area.answer y if root has run rootpre.sh so you can proceed with oracleinstallation.answer n to abort installation and then ask root to run rootpre.sh.*has rootpre.sh been run by root? y/n (n)ystarting oracle universal installer.checking temp space: must be greater than 190 mb. actual 5072 mb passedchecking swap space: must be greater than 150 mb. actual 16384 mb passedchecking monitor: must be configured to display at least 256 colors. actual 16777216 passedpreparing to launch oracle universal installer from/tmp/orainstall2011-09-22_05-32-00pm. please wait .$2.2、更新方式询问询问是否不填写e-mail地址,去掉对勾,点击next,弹出错误提示,点击yes2.3、选择安装的类型选择安装的同时是否安装数据库,选择第二项:仅安装数据库软件,点next2.4、选择安装的类型选择第一项:单实例数据库安装,点击next2.5、选择安装的语言选择英语和简体中文2.6、选择数据库要安装的版本选择第一项企业版2.7、指定软件安装的目录由于此截屏是第一次安装时所做,创建数据库时出错又重新安装所以目录跟之前的不对应,在这里稍作解释,只要环境变量.profile里的对,oracle11g能通过这个选项来选择要安装的路径即使不创建目录也会有默认的路径2.8、指定软件产品清单目录(保持默认)2.9、指定操作系统用户组(保持默认)2.10、产品预安装检查同样提示缺少操作系统补丁包,选择忽略2.11、安装信息概况,点击finish2.12、开始安装2.13、执行完成脚本以root用户登录执行执行第一个脚本的结果:执行第二个脚本的结果:2.13、安装完成三、配置监听程序3.1、启动配置界面以oracle用户登录,执行命令netca3.2、选择操作类型3.3、指定监听名称3.4、选择网络协议(保持默认)3.5、选择监听端口号3.6、完成配置单击finish完成配置四、安装数据库4.1、启动安装界面以oracle用户登录系统,执行dbca命令4.2、选择操作类型4.3、选择数据库类型4.4、指定数据库名4.5、是否配置enterprisemanager4.6、指定数据库sys用户密码密码为:a这里提示密码不安全,选择yes忽略4.7、选择数据库文件的存储类型4.8、指定闪
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025四川宜宾五粮液有机农业发展有限公司招聘4人笔试考试备考题库及答案解析
- 2025四川广安市岳池县天平镇人民政府招聘社区专职网格员1人笔试考试备考题库及答案解析
- 2025忻州原平市招聘社区专职工作人员笔试考试参考题库及答案解析
- 2026广东佛山农商银行校园招聘备考题库及参考答案详解一套
- 2026中国农业银行上海市分行校园招聘526人备考题库及答案详解(真题汇编)
- 2025福建福州市公安局马尾分局警务辅助人员招聘64人备考题库含答案详解(精练)
- 2026年注册土木工程师(水利水电)之专业基础知识考试题库200道【有一套】
- 2026年二级造价工程师之土建建设工程计量与计价实务考试题库200道附答案(模拟题)
- 2025年青海省遴选公务员考试真题汇编含答案解析(夺冠)
- 2025年哈尔滨理工大学公开招聘工作人员19人历年真题汇编及答案解析(夺冠)
- 水闸安全管理办法
- 2025中华护理学会团体标准-成人患者医用粘胶相关性皮肤损伤的预防及护理
- 雨课堂学堂在线学堂云《SPSS在医学统计中的应用(首都医大 )》单元测试考核答案
- 药剂证书考试题库及答案
- 绳锯施工方案及现场安全操作标准
- 江苏省2026年普通高中学业水平合格性考试英语仿真模拟卷01(春季高考适用)(全解全析)
- 2025年护士长年度工作总结(2篇)
- 平台型商业模式的竞争机制
- 2025年中铁党建考试试题及答案
- 拯救北极熊课件
- 管业制造安全应急预案范文
评论
0/150
提交评论