




已阅读5页,还剩6页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Oracle 10g 在HP-Ux上的安装1确认Oracle Database 10g Oracle Home 安装目录1.1检查# more /etc/oratab文件中目录是否存在orcl:/app/oracle/product/1020:N2磁盘空间检查:2.1# bdf2.2确认数据库信息:host nameport numberservice namepassword of the SYS user3检查硬件配置:(以root用户登录)3.1检查内存:# /usr/sbin/dmesg | grep Physical:也可以通过/bin/vmstat来查看3.2检查swap space:/usr/sbin/swapinfo -a3.3检查tmp目录:(400 MB of disk space available)# bdf /tmp3.4检查总的磁盘空间:# bdf3.5确认system architecture是否能运行:# /bin/getconf KERNEL_BITS (结果应该为:64)4检查Software Requirements on HP-UX(检查software and patches是否已安装:)4.1查看version of HP-UX:$ uname -aHP-UX bilut04 B.11.11 U 9000/800 1136991649 unlimited-user license4.2查看HP-UX 11i Quality Pack是否已安装/usr/sbin/swlist -l bundle | grep GOLD GOLDAPPS11i B.11.11.0406.5 Gold Applications Patches for HP-UX 11i v1, June 2004 GOLDBASE11i B.11.11.0406.5 Gold Base Patches for HP-UX 11i v1, June 2004 4.3查看是否某个patch是否安装/usr/sbin/swlist -l patch | grep PHSS_288804.4创建必须的Symbolic Links,以便在完成安装后能relink Oracle products# cd /usr/lib# ln -s libX11.3 libX11.sl# ln -s libXIE.2 libXIE.sl# ln -s libXext.3 libXext.sl# ln -s libXhp11.3 libXhp11.sl# ln -s libXi.3 libXi.sl# ln -s libXm.4 libXm.sl# ln -s libXp.2 libXp.sl# ln -s libXt.3 libXt.sl# ln -s libXtst.2 libXtst.sl5创建UNIX Group and User (视是否为首次安装而创建以下group and user)Oracle Inventory group (dba) -首次安装需要创建Oracle software owner user (oracle)5.1确认是否Oracle dba Group Exists:more /var/opt/oracle/oraInst.locinventory_loc=/app/oracleinst_group=dba5.2假如不存在:# /usr/sbin/groupadd dba5.3确认是否Oracle Software Owner User Exists# id oracleuid=105(oracle) gid=103(dba)5.4假如不存在:create the oracle user# /usr/sbin/useradd -g dba oracle设置口令:# passwd oracle5.5修改一个已存在的Oracle Software Owner User# /usr/sbin/usermod -g dba oracle6确认Software Directories Oracle base directory /app/oracle Oracle Inventory directory /app/oracle/product/1020 Oracle home directory /app/oracle6.1确认Oracle home directories:more /etc/oratab (结果类似如下:)# *:/app/oracle/product/1020:N*:/app/oracle/product/1020:Norcl:/app/oracle/product/1020:N7Configure the oracle Users Environmentfollow these steps 设置Oracle users 变量:7.11.Start a new terminal session, for example, an X terminal (xterm).7.22.Enter the following command to ensure that X Window applications candisplay on this system:$ xhost +7.33.确认当前用户是oracle7.44.确认default shell$ echo $SHELL7.55.编辑oracle users shell startup fileBourne shell (sh), Bash shell (bash), or Korn shell (ksh):$ vi .profile7.67.specifying a value of 022 for the default filecreation mask:umask 0227.7确认:ORACLE_SID, ORACLE_HOME, or ORACLE_BASE environment variables 已经设置7.8run the shell startup script$ . ./.profile7.9$ DISPLAY=local_host:0.0 ; export DISPLAY export TERM=vt100- (local_host is the host name or IP address of the system you want to use to display the Installer (your workstation or PC).)8用dbf命令确认temp空间,假如不存在,以root用户创建:su - root# mkdir /mount_point/tmp# chmod a+wr /mount_point/tmp# exit8.1设置TEMP and TMPDIR environment variables$ TEMP=/mount_point/tmp$ TMPDIR=/mount_point/tmp$ export TEMP TMPDIR8.2设置ORACLE_BASE environment variable:$ ORACLE_BASE=/app/oracle$ export ORACLE_BASE8.3确保TNS_ADMIN environment variable未设置:$ unset TNS_ADMIN8.4确认environment正确设置:$ umask -(umask command displays a value of 22, 022, or 0022)$ env | more9设置内核参数:9.1作为root用户的登录,配置内核参数:登陆 #sam 进入system administrator manager 在其中选择kernel configuration,进入以后在选择configurable parameters 修改以下参数 MAXDSIZ 1073741824MAXDSIZ_64 2147483648MAXSSIZ 134217728MAXSSIZ_64 1073741824 MAXUSERS 1024NPROC 8212 20+8*MAXUSERSSEMMNI 20480SEMMNS 32760SEMMSL 2048SEMVMX 32768SEMMNU 8208 (NPROC-4) SHMMAX 4160749568SHMMNI 1024SHMSEG 1024此参数参考机型:HP-UX bilut41 B.11.11 U 9000/800 (tf) (16CPU Physical:67073024 Kbytes)10假如是以光盘安装,需要Mounting Discs on HP-UX:方法如下:10.1切换到root用户10.2假如需要,unmount当前的光盘:# /usr/sbin/umount /SD_CDROM10.3在光驱里插入光盘,输入类似以下命令:/usr/sbin/mount -F cdfs -o rr /dev/dsk/cxtydz /SD_CDROM10.4假如安装程序显示光盘驱动对话框,则输入:/SD_CDROM11Installing Oracle Database 10g Products11.1Mount the disc, if it is not already mounted11.1假如需要,以oracle登录并 set DISPLAY 环境变量.11.1开始安装:$ cd /tmp$ /directory_path/runInstaller11.1安装到一定程度后会要求以root用户执行两个脚本,启动终端$ su root# /opt/oracle/oraInventory/orainstRoot.sh# /opt/oracle/product/10.2/db_1/root.sh11.1On the Welcome screen, click Next11.1On the Specify File Locations screen, verify that the Oracle home name andpath specifies the Oracle home for an Oracle Database 10g installation, thenclick Next.11.1On the Select a Product to Install screen, choose Oracle Database 10g Products,then click Next.11.1To complete the installation, follow the instructions displayed in the Installerscreens11.1When the installation completes, click Exit, then click Yes to exit from theInstaller11.1When you run the root.sh script, if you do not want to install Legato SingleServer Version, enter 3 to quit the installation.12完成后续安装:Post-installation Tasks13检查Enterprise Manager$ emctl start dbconsole打开IE浏览器,输入http:/hostname:1158/em以sys用户登录检查isqlplus$ isqlplusctl start打开浏览器,输入http:/hostname:5560/isqlplus以system用户登录14Removing Oracle Software14.1Start the Installer as follows:$ $ORACLE_HOME/oui/bin/runInstaller14.2In the Welcome screen, click Deinstall Products14.3In the Inventory screen, select the Oracle home containing the products
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 广西钦州市第四中学2025-2026学年高一上学期开学考试生物试卷(含答案)
- 2025年高三《第五单元 三角函数与解三角形》测试卷(含解析)
- 2024-2025学年江苏省苏州市九年级(上)英语第一次月考试卷(苏州专用)(含答案无听力)
- 基础教育课程改革纲要模拟试题一及答案
- 抗原抗体反应原理
- 调动学习积极性主题班会激发学生内驱力学习很苦坚持很酷课件
- 2025年昆山南亚考试试题及答案
- 2025年中职礼仪课考试题及答案
- 2025年湛江地理中考试卷及答案
- 医疗行业医疗大数据分析平台数据安全方案
- 《景观规划设计》课件-项目一:乡村景观规划基础
- 襄汾县高标准农田建设项目可行性研究报告
- 2025年公务员考试时事政治模拟试题(综合卷)附答案详解
- 超市服务礼仪培训课件
- 购物中心策划培训课件
- 供应商黑名单管理制度
- 我国新一代人工智能创新发展行动计划
- 2025-2030年中国吉林汽车零部件产业发展分析及投资前景调研报告
- 曲靖高级技工学校学生管理手册与实际操作指南
- 2025-2030曲线显示设备行业市场现状供需分析及投资评估规划分析研究报告
- jsa在安全生产管理中的应用
评论
0/150
提交评论