欢迎来到天天文库
浏览记录
ID:37896871
大小:78.50 KB
页数:18页
时间:2019-06-02
《RedHatLinuxAS4.Update5静默安装及升级Oracle10G10.2.0.3》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、RedHatEnterriseLinux4Update5环境下静默方安装Oracle10.2.0.1升级到10.2.0.3数据库,并创建数据库Oracle10G安装18/18目录一、检查安装环境:3二、静默安装Oracle10G数据库软件9三、静默安装监听器:10四、静默升级Oracle10G软件11五、静默创建Oracle10G数据库13六、设置oracle服务自启动1618/18一、检查安装环境:LinuxAS4Update5在安装时,将所有开发相关的组件全部安装;[root@localhost~]#rpm-qbinutilscompat-dbcontrol-
2、centergccgcc-c++glibcglibc-commongnome-libslibstdc++libstdc++-develmakepdkshsysstatxscreensaverlibaiobinutils-2.15.92.0.2-22compat-db-4.1.25-9control-center-2.8.0-12.rhel4.5gcc-3.4.6-8gcc-c++-3.4.6-8glibc-2.3.4-2.36glibc-common-2.3.4-2.36gnome-libs-1.4.1.2.90-44.1libstdc++-3.4.6-8libs
3、tdc++-devel-3.4.6-8make-3.80-6.EL4pdksh-5.2.14-30.3packagesysstatisnotinstalledxscreensaver-4.18-5.rhel4.13libaio-0.3.105-2[root@localhost~]#sysstat没有安装,在安装盘4中的RedHatRPMS下找到sysstat-5.0.5-14.rhel4.i386.rpm,上传至LINUX机器并安装18/18[root@localhost~]#rpm-Uvhsysstat-5.0.5-14.rhel4.i386.rpmwar
4、ning:sysstat-5.0.5-14.rhel4.i386.rpm:V3DSAsignature:NOKEY,keyIDdb42a60ePreparing...###########################################[100%]1:sysstat###########################################[100%][root@localhost~]#安装后检查:[root@localhost~]#rpm-qsysstatsysstat-5.0.5-14.rhel4[root@localhost~]#安
5、装成功!判断本机是否安装过oracle:[root@localhost~]#more/etc/oraInst.loc/etc/oraInst.loc:Nosuchfileordirectory[root@localhost~]#表示没有安装过oracle创建安装Oracle需要的用户和组:[root@localhost~]#groupaddoinstall[root@localhost~]#groupadddba[root@localhost~]#useradd-m-goinstall-Gdbaoracle18/18[root@localhost~]#设置orac
6、le用户密码,这里设置为“oracle”[root@localhost~]#passwdoracleChangingpasswordforuseroracle.NewUNIXpassword:BADPASSWORD:itisbasedonadictionarywordRetypenewUNIXpassword:passwd:allauthenticationtokensupdatedsuccessfully.[root@localhost~]#创建安装oracle所需的目录:[root@localhost~]#mkdir-p/u01/app/oracle/db_1
7、[root@localhost~]#chownoracle.oinstall/u01/app/oracle[root@localhost~]#chownoracle.oinstall/u01/app/oracle/db_1[root@localhost~]#配置Linux系统内核参数:[root@localhost~]#vi/etc/sysctl.conf修改或添加以下参数:kernel.shmall=2097152kernel.shmmax=256000000kernel.shmmni=409618/18kernel.sem=25032000100128fs.f
8、ile-m
此文档下载收益归作者所有