欢迎来到天天文库
浏览记录
ID:40568219
大小:4.52 MB
页数:44页
时间:2019-08-04
《RedFlag Server5 上安装Oracle10g》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、RedFlagServer5上安装Oracle10g一.安装前准备1.准备oracle10g安装文件10201_database_linux32.zip2.查看网络,cpu,内存信息[oracle@node1~]$cat/etc/hosts192.168.30.241node1127.0.0.1localhost.localdomainlocalhost192.168.30.242node2192.168.30.243server192.168.1.1hbip1192.168.1.2hbip2[oracle@node2~]$cat/etc/sysconfig/networkNETWORKIN
2、G=yesHOSTNAME=node1GATEWAY=192.168.30.253[root@node1~]#cat/proc/meminfoMemTotal:1035528kBMemFree:27976kBBuffers:37888kBCached:798700kBSwapCached:0kBActive:306004kBInactive:635968kBHighTotal:131008kBHighFree:280kBLowTotal:904520kBLowFree:27696kBSwapTotal:2048276kBSwapFree:2048276kBDirty:32kBWritebac
3、k:0kBMapped:161048kBSlab:52120kBCommitLimit:2566040kBCommitted_AS:296984kBPageTables:3052kBVmallocTotal:106488kBVmallocUsed:2544kBVmallocChunk:103576kBHugePages_Total:0HugePages_Free:0Hugepagesize:4096kB[oracle@node2~]$cat/proc/swapsFilenameTypeSizeUsedPriority/dev/hda3partition20482760-1[oracle@no
4、de2~]$df-kFilesystem1K-块已用可用已用%挂载点/dev/hda21511686836402041070876026%//dev/hda11010868602872659%/bootnone25770002577000%/dev/shm/dev/hda690686165307685548801%/oracle/dev/hda851074564294448050641%/oradata/dev/hda750362844281647376361%/share/dev/hda520160164193218716723%/tmp[oracle@node2~]$df-k/tmpFi
5、lesystem1K-块已用可用已用%挂载点/dev/hda520160164194018716643%/tmp3.检查并安装oracle需要的系统包[root@bkserveropt]#[oracle@node2~]$rpm-qgccmakebinutilsopenmotifsetarchcompat-dbcompat-gcccompat-gcc-c++compat-libstdc++gcc-3.4.6-3.1make-3.80-6.EL4binutils-2.15.92.0.2-21.1AXopenmotif-2.2.3-10.RHEL4.5.1AXsetarch-1.6-1compat
6、-db-4.1.25-9.1AX软件包compat-gcc没有安装软件包compat-gcc-c++没有安装软件包compat-libstdc++没有安装4.在/etc/sysct.conf文件中添加安装oracle需要的参数[root@node1~]#cat/etc/sysctl.conf#KernelsysctlconfigurationfileforRedHatLinux##Forbinaryvalues,0isdisabled,1isenabled.Seesysctl(8)and#sysctl.conf(5)formoredetails.#ControlsIPpacketforwar
7、dingnet.ipv4.ip_forward=0#Controlssourcerouteverificationnet.ipv4.conf.default.rp_filter=1#Donotacceptsourceroutingnet.ipv4.conf.default.accept_source_route=0#ControlstheSystemRequestdebuggingfunctionalityo
此文档下载收益归作者所有