oracle11g客户端for-linux安装文档_第1页
oracle11g客户端for-linux安装文档_第2页
oracle11g客户端for-linux安装文档_第3页
oracle11g客户端for-linux安装文档_第4页
oracle11g客户端for-linux安装文档_第5页
已阅读5页,还剩5页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、安装文档 oracle11g client for linux x64 1、以 root 用户登录服务器,新建 oinstall 组和 oracle 用户 ,并为 oracle 用户设置密码 . #groupadd -g 1000 oinstall #useradd -u 1000 -g 1000 -s /bin/csh -d /opt/oracle oracle 2、将客户端安装包 linux.x64_11gR1_client.zip 上传至服务器剩余空间较大的目录下,解压后的目录为client , 通过 root 用户授予 oracle 读取此文件夹的权限。 3、修改服务器配置,以便 xm

2、anager 登陆 . a) 用户 rcxdm 命令查看 xdmcp 状态是否 running # rcxdm status b) 编辑“ /etc/opt/kde3 /share/config/kdm/kdmrc ”文件: 在XDMCP节中,将 “Enable=false” 改为“ Enable=true ”;并且将“ port=177” 前的屏蔽取消。 c) 编辑文件 “ /etc/sysconfig/displaymanager ”: 将 DISPLAYMANAGER_REMOTE_ACCES“Sn=o” 改为 DISPLAYMANAGER_REMOTE_ACCES“Sy=es” ; d

3、) 在suse8中需要新建文件/etc/rc.config,在文件中添加一行: ROOT_LOGIN_REMOTE=yes e) 而在 suse9 中,编辑文件 “/etc/sysconfig/displaymanager ”: 将 DISPLAYMANAGER_ROOT_LOGIN_REMOTE=io” 改为 DISPLAYMANAGER_ROOT_LOGIN_REMOT“E=yes” f) 重新启动 xdmcp 服务 #rcxdm restart g) 需要注意:更改登录的上面 4、5 两条不一样。 4、修改 oracle 用户环境变量 export ORACLE_BASE=/opt/or

4、acle export ORACLE_HOME=$ORACLE_BASE/product/11g export ORACLE_SID=icd export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/rdbms/lib:/lib:/usr/lib export PATH=$PATH:/bin:/usr/sbin:/sbin:/usr/X1 1 R6 /bin:/usr/lib/java/bin:/usr/local/bin/:$ORACLE_HOME/bin:$ORACL E_HOME/OPatch export TNS_ADMIN=$ORACL

5、E_HOME/network/admin export ORA_CRS_HOME=$ORACLE_HOME/crs export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/network/jlib export NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK export LANG=en_US export DISPLAY程 xmanager 运行主机:0.0 5、以 oracle 通过 xmanager 登陆服务器,进入 client 安装目录 ls doc in s

6、tall resp onse runln stallerstage welcome.html 执行 runlnstaller ./r unIn staller 6、弹出如下对话框: 7、下一步,安装程序自动读取 oracle用户环境变量中设置的目录和用户组 下一步,安装程序进行系统参数检查,没有通过的可以手动点击复选框来人为确认 ORACLe1 qqg DATABASE Product-Specific Prerequisite Checks The Installer nerifi已5 that your environment meets all of the minimum requir

7、ements for in史日llling and configuring the products that you have chosen to Install. You must manually verliy and confirm the items that are flagged with warnings and items that require manual 匸hecks. For details about performing these checks, dick the item and review the details in the box at (he bo

8、ttom of the window. ChecK 已 hiatus Checking operadng system requirements . Aulomadc Not eKecute Checking operating jystem package requirementi . Automatic Not execute 匚becking physical memoryrequirerrient5 . Automatic Not execute Retry 久匸门 4 irequirem 已 ms to be vie rifled. 匚hecking operating system

9、 requirements . 匚 heck compleie. The overall result of This check is: Not executed New Installations (84 products) Help Installed Products. Back Cbk ajLEBBBB aaau. Install J Cancel 13、 下一步,进行程序安装 14、 下一步,进行监听配置及本地服务名配置 Welcome to the Oracle Net 匚onfigiiration Assistant. To access a daiat)a$e service

10、 or other tvce of service, you use a 匚onnect identifier The Assiistant has determined that your client can use ihe easy conrect naming meihod for idemitving the datable yau want to 住匚cess. Wh easy connect naming, you use the host, porr(optionalX and servihe name of the database as the tonnect Identi

11、fier. 匚lick Help for more inforrnaTion about connecting s a database using easy connect CancelHelp Next j 15、 16、下一步,以root用户执行提示的两个脚本 17、根据提示以root用户登录服务器执行提示的两条命令 # /opt/oracle/ora Inven tory/ora in stRoot.sh Changing permissi ons of /opt/oracle/ora Inven tory to 770. Changing group name of /opt/ora

12、cle/ora Inven tory to dba. The executio n of the script is complete # /opt/oracle/oracle/product/11.1.0/root.sh Running Oracle 11g root.sh script. The followi ng en viro nment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /opt/oracle/oracle/product/11.1.0 En ter the full path name of the local bin directory: /usr/local/bi n:直接回车即可 Copy ing dbhome to /usr/local/b in Copy ing orae nv to /usr/local/b in Copy ing corae nv to /usr/local/b in . Creat ing /etc/oratab file. En tries will be added to the /etc/oratab file as n eeded by Database Con figurati on Ass

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论