




已阅读5页,还剩1页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Vmware 上solaris 10成功安装oracle 10g 自组数据库网络Vmware 上solaris 10成功安装oracle 10g 自组网络 hxp200609261安装VMWARE和SOLARIS10操作系统 注意在安装SOLARIS时选择网络2网络配置 Sample Text# ifconfig pcn0 8 # ifconfig pcn0 8 up 3.修改内核参数vi /etc/system #set shmsys:shminfo_shmmax=4294967295 (给oracle最大内存设为2G)268435456(本机内存为512M) set shmsys:shminfo_shmmax=268435456set shmsys:shminfo_shmmin=1 set shmsys:shminfo_shmmni=100 set shmsys:shminfo_shmseg=10 set semsys:seminfo_semmni=110 set semsys:seminfo_semmns=310 4. 创建用户和组 # groupadd dba #useradd g dba d /export/home/oracle m oracle #passwd oracle (改oracle用户密码) 设定oracle用户的环境参数 #su oracle $vi .profile 加入内容: ORACLE_BASE=/export/home/oracleORACLE_HOME=$ORACLE_BASE/product/10.0ORACLE_SID=ora10gNLS_LANG=AMERICAN_AMERICA.ZHS16GBKPATH=$ORACLE_HOME/bin:/bin:/sbin:/usr/ccs/bin:/usr/local/binLD_LIBRARY_PATH=$ORACLE_HOME/libORACLE_HOME/network/lib:/usr/local/lib:/usr/libDISPLAY=8:0.0 要指出自己的IP TMPDIR=/var/tmpexport ORALCE_BASE ORACLE_HOME ORACLE_SID NLS_LANG PATHLD_LIBRARY_PATHDISPLAY TMPDIR保存 使.profile生效。 5.解压oracle 10g安装包 从光盘上拷到本地硬盘上。#cp -R 10g_db_i.gz /export/home 在解压 #gunzip 10g_db_i.gz #cpio -ivmd 10g_db_i 在运行runInstaller时遇到错误到目录/export/home/db/Disk1/install里,修改oraparam.inioraparam.var 修改如下: $vi oraparam.ini 原来:Solaris=5.6,5.7,5.8,5.9,5.10 (就是添加5.10)修改为:Solaris=5.6,5.7,5.8,5.9,5.10Linux=redhat-2.1AS #HPUX=B.11.00 Decunix=V5.1A,V5.1 AIX= $vi oraparam.var #You can customise error message shown for failure through CERTIFIED_VERSION_FAI LURE_MESSAGE Solaris=5.8,5.9,5.10 (就是添加5.10) 修改为:Solaris=5.8,5.9,5.10Windows=4.0,5.0,5.1,5.2 Linux=redhat-2.1AS HPUX=B.11.11 Decunix=V5.1A,V5.1 AIX= 保存,在执行。./runInstaller就OK了。 4.解决SOLARIS10重启动不能登录图形界面的方法SOLARIS的BUG有些工程师在其他厂商的硬件上安装Solaris10,成功安装后首次重起过程中发现无法正常启动到图形界面。系统提示/lib/svc/method/boot-archive执行失败并有很多系统服务没有正常启动。屏幕上显示的信息如下:unOS Release 5.10 Version Generic_118844-28 64-bitCopyright 1983-2005 Sun Microsystems, Inc. All rights reserved.Use is subject to license terms.Hostname: BTO1A02WWS0SWarning - The following files in / differ from the boot archive:/etc/rtc_configThe recommended action ist to reboot and select Solaris failsafeoption from the boot menu. Then follow prompts to update the boot archive.To continue booting at your own risk, clear the service:# svcadm clear system/boot-archiveApr 2 13:01:02 svc.start7: svc:/system/boot-archive:default: Method /lib/svc/method/boot-archive failed with exit status 95. system/boot-archive:default failed fatally (see ?svcs -x? for details) Requesting System Maintenance Mode(see /lib/svc/share/README for more information.)Console login service(s) cannot runRoot password for system maintenance (control-d to bypass):这是Solaris10的一个Bug,已经修正但目前没有反映到Solaris10当前版本中(06/06版本)。通过以下方法可以回避这个问题:a. #svcadm clear system/boot-archive 然后执行#/lib/svc/method/boot-archiveb.每次重起机器后都发生,追加cronjob 定期运行 /usr/sbin/bootadm update-archive#crontab e root0 0 0 0 0 /usr/sbin/bootadm update-archive5.解决Oracle 10 / Solaris 10在安装过程当中Out of Memory问题Many kernel parameters have been replaced by so called resource controls in Solaris 10. It is possible to change resource controls using the prctl command. All shared memory and semaphore settings are now handled via resource controls, so any entries regarding shared memory or semaphores (shm & sem) in /etc/system will be ignored.Here is the procedure we followed to modify the kernel parameters on Solaris 10 / Oracle .Unlike earlier releases of Solaris, most of the system parameters needed to run Oracle are already set properly, so the only one you need is the maximum shared memory parameter. In earlier versions this was called SHMMAX and was set by editing the /etc/system file and rebooting. With Solaris 10 you set this by modifying a Resource Control Value. You can do this temporarily by using prctl, but that is lost at reboot so you will need to add the command to the oracle users .profile.The other option is to create a default project for the oracle user.# projadd -U oracle -K project.max-shm-memory=(priv,4096MB,deny) user.oracleWhat this does:o Makes a project named user.oracle in /etc/project with the user oracle as its only member. # cat /etc/projectsystem:0:user.root:1:noproject:2:default:3:group.staff:10:user.oracle:100:oracle:project.max-shm-memory=(priv,4294967296,deny)o Because the name was of the form user.username it becomes the oracle users default project.o The value of the maximum shared memory is set to 4GB, you might want to use a larger value here if you have more memory and swap.o No reboot is needed, the user will get the new valueat their next login. Now you can also modify the max-sem-ids Parameter:# projmod -s -K project.max-sem-ids=(priv,256,deny)user.oracleCheck the Paramters as User oracle$ prctl -i project user.orac
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025四川内江文化旅游发展有限公司招聘5人笔试历年参考题库附带答案详解
- 汽车装配工职业技能鉴定经典试题含答案
- 白酒蒸馏串香工应急处置分析及对策
- 变电站值班员基础技能培训手册
- 地图绘制员实操任务书
- 变配电运行值班员基础技能培训手册
- 二年级数学计算题专项练习1000题汇编集锦
- 二零二五年空调销售渠道合作合同范本
- 2025年度农产品国际贸易进口质量安全检测合同
- 二零二五年计时工劳动合同管理与信息保密协议
- 冬雨季施工及夜间施工措施
- 劳保用品管理规定模版(3篇)
- DB4105T 213-2023 12345 政务服务便民热线数据分析规范
- 2024基于视频图像中车辆投影对车辆行驶速度技术鉴定标准
- 农村土地使用权转让协议书
- 2024年山东省高考生物试卷真题(含答案解析)
- GB/T 32124-2024磷石膏的处理处置规范
- 光伏工程施工组织设计
- 【课件】光的直线传播人教版八年级上册物理
- 美术编辑岗位招聘笔试题与参考答案(某大型集团公司)2025年
- 弱电工程招标文件样本
评论
0/150
提交评论