ImageVerifierCode 换一换
格式:DOCX , 页数:23 ,大小:2.03MB ,
资源ID:3507200      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/3507200.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(04linux数据库软件安装文档32bit.docx)为本站会员(b****3)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

04linux数据库软件安装文档32bit.docx

1、04linux数据库软件安装文档32bitOracle Database Quick Installation Guide11gRelease 2 (11.2) for Linux x86第一部分:以root用户登录(root/beijing),并完成以下操作。一、 硬件需求1、 内存需求(1) 查看系统物理内存,最少需要1G,建议使用2Gcat /proc/meminfo | grepMemTotal(2) 查看系统虚拟内存,大小要求如下表,建议大小为物理内存的2倍cat /proc/meminfo | grepSwapTotalAvailable RAMSwap Space Require

2、dBetween 1 GB and 2 GB1.5 times the size of the RAMBetween 2 GB and 16 GBEqual to the size of the RAMMore than 16 GB16 GB(3) 或者使用下面的命令查看free2、 系统架构(1) 查看系统体系架构uname a(2) 查看系统发行版本信息cat /etc/redhat-releasecat /etc/issue3、 磁盘容量(1) /tmp文件系统的大小,至少要1Gdf h /tmp注意:如果大小不够,在设置oracle用户环境变量时再修改并指定。(2) 安装数据库软件及存

3、放数据库文件所需要的空间,建议如下Installation TypeRequirement for Software Files (GB)Enterprise Edition4.35Standard Edition4.22Installation TypeRequirement for Data Files (GB)Enterprise Edition1.7Standard Edition1.5在本次安装中,数据库软件和数据文件统一放在/u01中df h /u01二、 软件需求1、 操作系统需求Red Hat Enterprise Linux 5支持安装Oracle Database 11g

4、Release 2 cat /etc/issue2、 内核需求Red Hat Enterprise Linux 5 Update 5 with the Kernel for Linux2.6.18 or lateruname -r3、 软件包需求The following or later version of packages for Asianux 3, Oracle Linux 5, and Red Hat Enterprise Linux 5 must be installed:binutils-2.17.50.0.6compat-libstdc+-33-3.2.3elfutils-l

5、ibelf-0.125elfutils-libelf-devel-0.125elfutils-libelf-devel-static-0.125gcc-4.1.2gcc-c+-4.1.2glibc-2.5-24glibc-common-2.5glibc-devel-2.5glibc-headers-2.5kernel-headers-2.6.18ksh-20060214libaio-0.3.106libaio-devel-0.3.106libgcc-4.1.2libgomp-4.1.2libstdc+-4.1.2 libstdc+-devel-4.1.2make-3.81sysstat-7.0

6、.2unixODBC-2.*unixODBC-devel-2.*如有没有安装的软件,请参照文档linux设置DVD光盘为yum源,再进行软件安装,例如:yum install binutils-* -y三、 创建需要的组和用户The Oracle Inventory group (typically, oinstall)The OSDBA group (typically, dba)The Oracle software owner (typically, oracle)The OSOPER group (optional. Typically, oper)其中,oracle用户以oinsta

7、ll为主组,dba、oper为附加组。# groupaddoinstall# groupadd dba# groupaddoper# useradd -g oinstall -G dba,oper -s / bin/bash -d /home/oracle -m oracle# passwd oracle四、 修改内核参数1、 查看当前的内核参数# sysctl -p2、 修改内核参数,编辑/etc/sysctl.conf说明:标红的条目已经有,只需修改数值。下面所给数值均为最小值,如当前值高于下面的值,则可以不用修改。kernel.shmall = 2097152kernel.shmmax

8、= 536870912fs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmmni = 4096kernel.sem = 250 32000 100 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 10485863、 查看修改后的内核参数# sysctl -p4、 修改oracle用户的访问

9、限制参数,编辑文件/etc/security/limits.conf,添加以下内容:# vi /etc/security/limits.conforacle soft nproc 2047oracle hard nproc 16384oracle soft nofile 1024oracle hard nofile 65536oracle soft stack 10240五、 创建需要的目录1、 数据库基础目录,并修改所有者和权限mkdirp /u01/app/oraclechown -R oracle:oinstall /u01chmod -R 775 /u012、 数据库软件安装目录,系统

10、会自动创建的默认目录3、 数据库文件所在目录,系统会自动创建的默认目录六、 配置oracle用户的环境变量1、 编辑文件.bash_profile,添加以下内容:#su oracle$vi .bash_profileexportORACLE_BASE=/u01/app/oracle七、 挂载oracle安装镜像1、 创建挂载点和修改权限rootrh168 # mkdir -p /home/oracle/cdromrootrh168 # chown -R oracle:oinstall /home/oracle/cdromrootrh168 # chmod -R 775 /home/oracle

11、/cdrom2、 添加oracle安装镜像,并挂载rootrh168 # df -hFilesystemSize Used Avail Use% Mounted on/dev/sda17.8G3.4G4.1G 46% /dev/sda53.0G69M2.7G 3% /home/dev/sda29.7G151M9.1G 2% /u01tmpfs1014M 0 1014M 0% /dev/shm/dev/hdc2.8G2.8G 0 100% /mediarootrh168 # umount /dev/hdcrootrh168 # mount /dev/hdc /home/oracle/cdromm

12、ount: block device /dev/hdc is write-protected, mounting read-onlyrootrh168 # df -hFilesystemSize Used Avail Use% Mounted on/dev/sda17.8G3.4G4.1G 46% /dev/sda53.0G69M2.7G 3% /home/dev/sda29.7G151M9.1G 2% /u01tmpfs1014M 0 1014M 0% /dev/shm/dev/hdc2.3G2.3G 0 100% /home/oracle/cdrom3、 设置CRT选项,使其支持图形化界面

13、4、 启动Xmanager 4中的passive第二部分:以oracle用户登录(oracle/beijing),并完成以下操作。1、 新建会话2、 修改oracle用户的配置文件,添加以下内容oraclerh168 $ vi .bash_profileexport DISPLAY=192.168.6.234:0.0这个ip是指host-only这块网卡的Ip地址source .bash_profile生效3、 开始进行安装oraclerh168 /$ /home/oracle/cdrom/runInstaller注意:必须在根目录下用全路径执行,最终才能弹出图形界面4、 数据库软件安装步骤如

14、下:(1)把勾去掉(2)只安装数据库软件(3)剩下的步骤,全部默认,一直点next一直到finish为止。(4)以root用户执行脚本rootrh168 # /u01/app/oraInventory/orainstRoot.shChanging permissions of /u01/app/oraInventory.Adding read,write permissions for group.Removing read,write,execute permissions for world.Changing groupname of /u01/app/oraInventory to oi

15、nstall.The execution of the script is complete.rootrh168 # /u01/app/oracle/product/11.2.0/dbhome_1/root.shRunning Oracle 11groot.sh script.The following environment variables are set as:ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/11.2.0/dbhome_1Enter the full pathname of the local bin

16、directory: /usr/local/bin: Copying dbhome to /usr/local/bin . Copying oraenv to /usr/local/bin . Copying coraenv to /usr/local/bin .Creating /etc/oratab file.Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic

17、part of root.sh script.Now product-specific root actions will be performed.Finished product-specific root actions.(5)数据库软件安装完成。5、 dbca建库(1) 编辑oracle用户的配置文件,补全一下环境变量oraclerh168 $ vi .bash_profileexport PATHexportORACLE_BASE=/u01/app/oracleexport ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1exportO

18、RACLE_SID=prodexport PATH=$PATH:$ORACLE_HOME/binexport DISPLAY=192.168.6.234:0.0oraclerh168 $ source .bash_profile(2) dbca开始建库,弹出图形界面oraclerh168 $ dbca数据库安装完毕,登录oraclerh168 $ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on Mon Mar 2 18:56:22 2015Copyright (c) 1982, 2009, Oracle. All rights reserved.Connected to:Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1