数据库Oracle10.2.0.1.0版本在LinuxRadHatEnterprise5安装文档北京XXXX有限公司版本说明文件状态:[]草稿[√]正式发布[]正在修改文件标识:现场实施标准文档当前版本:1.0作者:XX完成日期:2008年03月05日版本日期描述作者审核2008-03-05Oracle10g安装说明XX目录1前言............................................................................................................................................................................31.1安装Oracle的环境........................................................................................................................................31.2查询所需安装包是否完整............................................................................................................................41.3检查安装Oracle的硬件要求........................................................................................................................61.4OS参数要求vi/etc/sysctl.conf,在行末添加以下内容..............................................................................71.5vi/etc/security/limits.conf行末添加以下内容...........................................................................................101.6vi/etc/pam.d/login行末添加以下内容.......................................................................................................101.7vi/etc/selinux/config确保以下内容...........................................................................................................112创建安装Oracle的用户、组及配置.....................................................................................................................122.1解压10201_database_linux32.zip...............................................................................................................122.2创建安装Oracle的用户及所属组..............................................................................................................122.3创建安装目录mkdir-p/opt/app/oracle/product/10.2.................................................................................132.4设置oracle用户的.bash_profile..................................................................................................................142.5设置主机名和ip..........................................................................................................................................152.6设置Oracle10g支持RHEL5的参数..........................................................................................................153安装Oracle..............................................................................................................................................................173.1用oracle用户运行runInstaller文件...........................................................................................................174测试Oracle是否安装成功.....................................................................................................................................284.1启动Oracle服务..........................................................................................................................................284.2访问数据库的Web界面.............................................................................................................................324.3oracle10g字符集的修改..............................................................................................................................354.4oracle10g热备份脚本..................................................................................................................................37第2页共38页1前言看过很多很多文档,有些文档格式难看,有些则是图形不够全面。个人喜欢一些格式整齐,全面的图形界面,文字清晰的文档。本文档的目的是让不接触Oracle的人能够顺利的安装上Oracle服务器。安装时在网上参考了很多文档,在此表示感谢!主要参考文档:://davidtao88.jiancss.com/archives/1041208/://bbs.chinaunix.net/viewthread.php?tid=1063336://://hi.baidu.com/dbaeyes/blog/item/d920ad5426e46f5cd10906d7.htmlrpm包查询地址:安装Oracle的环境LinuxRedHatEnterPrise5默认安装(自定义软件时,全选)/opt/setup080305/目录:下载的10201_database_linux32.zip放在该目录/u01/app/oracle/目录:为Oracle安装的ORACLE_BASE服务器为HPDL380G52*双核IntelXeon5140(2.33GHz),内存4GB安装Oracle前的准备很重要。Oracle10gforlinux32下载地址:://202.96.64.144/pub第3页共38页1.2查询所需安装包是否完整进入系统,用root用户,终端命令:#rpm-qgccmakebinutilsopenmotifsetarchcompat-dbcompat-gcccompat-gcc-c++compat-libstdc++compat-libstdc++-devel运行结果如图:gcc-4.1.1-52.el5make-3.81-1.1binutils-2.17.50.0.6-2.el5packageopenmotifisnotinstalledsetarch-2.0-1.1packagecompat-dbisnotinstalledpackagecompat-gccisnotinstalledpackagecompat-gcc-c++isnotinstalledpackagecompat-libstdc++isnotinstalledpackagecompat-libstdc++-develisnotinstalled缺少的都需要安装相关的软件包,RHEL_5i386DVD光盘中,请参考安装下面的包:#从RHEL_5i386DVD光盘中(按照以下的顺序安装)rpm-Uvhcompat-db-4*rpm-Uvhlibaio-0*rpm-Uvhcompat-libstdc++-33-3*rpm-Uvhcompat-gcc-34-3*rpm-Uvhcompat-gcc-34-c++-3*rpm-UvhlibXp-1*rpm-Uvhopenmotif-2*rpm-Uvhgcc-4*第4页共38页rpm-Uvhglibc-2.5-12.i686.rpm如图:然后在检查需要的软件包都安装成功。如图:第5页共38页出现上图的界面则可以进行下一步安装。注:[root@zji