Oracle10G客户端安装详解

上传人:飞*** 文档编号:39931716 上传时间:2018-05-21 格式:DOCX 页数:7 大小:17.90KB
返回 下载 相关 举报
Oracle10G客户端安装详解_第1页
第1页 / 共7页
Oracle10G客户端安装详解_第2页
第2页 / 共7页
Oracle10G客户端安装详解_第3页
第3页 / 共7页
Oracle10G客户端安装详解_第4页
第4页 / 共7页
Oracle10G客户端安装详解_第5页
第5页 / 共7页
点击查看更多>>
资源描述

《Oracle10G客户端安装详解》由会员分享,可在线阅读,更多相关《Oracle10G客户端安装详解(7页珍藏版)》请在金锄头文库上搜索。

1、ORACLE CLIENT 安装安装一、创建一、创建 ORACLE 账户账户rooteb148 home# groupadd oinstallrooteb148 home# groupadd dbarooteb148 home# useradd -g oinstall -G dba oraclerooteb148 home# passwd oracleChanging password for user oracle.New UNIX password:BAD PASSWORD: it is based on a dictionary wordRetype new UNIX password:

2、passwd: all authentication tokens updated successfully.rooteb148 home#二、拷贝二、拷贝 ORACLE CLIENT 介质到介质到/home/oracle目录下目录下将 10201_client_linux32.zip 拷贝到/home/oracle 目录下,并解压。oracleeb148 $ ls10201_client_linux32.ziporacleeb148 $ lltotal 467600-rw-r-r- 1 oracle oinstall 478343213 Mar 25 10:21 10201_client_l

3、inux32.ziporacleeb148 $unzip 10201_client_linux32.ziporacleeb148 $ lltotal 467604-rw-r-r- 1 oracle oinstall 478343213 Mar 25 10:21 10201_client_linux32.zipdrwxr-xr-x 6 oracle oinstall 4096 Jul 3 2005 client三、安装三、安装 ORACLE CLIENT进入 client 目录,运行 runinstaller 进行图形化安装oracleeb148 $ cd client/oracleeb148

4、client$ lsdoc install response runInstaller stage welcome.htmloracleeb148 client$ export DISPLAY=10.1.75.223:0.0oracleeb148 client$ lsdoc install response runInstaller stage welcome.htmloracleeb148 client$ ./runInstaller点击“NEXT”点击“NEXT”选择“ADMINISTRATOR”,点击“NEXT”设置 NAME 为“ORACLE_HOME”,点击“NEXT”CHECK 完

5、毕后,点击“NEXT”点击“INSTALL”进入 INSTALL 阶段,完毕后,将自动弹去下图“配置 ORACLE NET CONFIGURATION ASSISTANT”选择“CANCEL”,弹出下图(关于 tnsnames.ora 配置,后期手动配置。)点击“YES”点击“OK”点击“NEXT”点击“OK”接入 root 用户,执行上述两个 sh 脚本:rooteb148 # /home/oracle/oraInventory/orainstRoot.shChanging permissions of /home/oracle/oraInventory to 770.Changing gr

6、oupname of /home/oracle/oraInventory to oinstall.The execution of the script is completerooteb148 # /home/oracle/oracle/product/10.2.0/client_1/root.shRunning Oracle10 root.sh script.The following environment variables are set as:ORACLE_OWNER= oracleORACLE_HOME= /home/oracle/oracle/product/10.2.0/cl

7、ient_1Enter the full pathname of the local bin directory: /usr/local/bin:Copying dbhome to /usr/local/bin .Copying oraenv to /usr/local/bin .Copying coraenv to /usr/local/bin .Creating /etc/oratab file.Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a

8、database is createdFinished running generic part of root.sh script.Now product-specific root actions will be performed.执行完毕后,点击“OK”点击“EXIT”点击“YES”,安装完毕四、配置四、配置 ORACLE 用户下用户下.bash_profileORACLE_BASE=/home/oracleORACLE_HOME=/home/oracle/oracle/product/10.2.0/client_1PATH=$ORACLE_HOME/bin:$PATHexport O

9、RACLE_BASE ORACLE_HOME PATHexport NLS_LANG=AMERICAN_AMERICA.ZHS16GBKexport LD_LIBRARY_PATH=$ORACLE_HOME/libexport NLS_DATE_FORMAT=yyyy-mm-dd hh24:mi:ss五、配置五、配置 TNSNAMES.ORA文件 TNSNAMES.ORA 存放在$ORACLE_HOME/network/admin 目录下。按照如下 tnsnames.ora 例子来配置相关信息:oracleeb148 admin$ pwd/home/oracle/oracle/product/

10、10.2.0/client_1/network/adminoracleeb148 admin$ lssamples shrept.lst tnsnames.oraoracleeb148 admin$ cat tnsnames.oraORCDB =(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.210)(PORT = 1521)(CONNECT_DATA =(SERVICE_NAME = )ORCDB 是连接 oracle 数据库实例名 ORACLE_SIDHOST 是 oracle 服务器端 ip 地址PORT 是 oracle 服务器端使用的端口号SERVICE_NAME 是 oracle 服务器端的实例全名如上信息可到 oracle 服务器端的$ORACLE_HOME/network/admin/tnsnames.ora 中找到相关内容。

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号