Oracle10.2.0.1 For CentOS6.0 安装文档(五)

点击“Exit”之后

点击“Yes”

完成了oracle软件的安装

创建监听

[root@oracle10gbin]# find / -name netca

/home/oracle/oracle/product/10.2.0/db_1/bin/netca

切换到Oracle用户下:

[oracle@oracle10g database]$   cd/home/oracle/oracle/product/10.2.0/db_1/bin/

[oracle@oracle10gbin]$ ./netca

****ORACLE_HOMEenvironment variable not set!

    ORACLE_HOME should be set to the main

    directory that contains Oracle products.

Set and export ORACLE_HOME, then re-run.

然后修改环境变量

vi/home/oracle/.bash_profile

exportORACLE_BASE=/home/oracle/oracle

export ORACLE_HOME=$ORACLE_BASE/product/10.2.0.1/db_1

导出变量

[oracle@oracle10gbin]$ export ORACLE_BASE=/home/oracle/oracle

[oracle@oracle10gbin]$ export ORACLE_HOME=$ORACLE_BASE/product/10.2.0.1/db_1

重新运行netca

[oracle@oracle10gtools]$ /home/oracle/oracle/product/10.2.0/db_1/bin/netca

/home/oracle/oracle/product/10.2.0/db_1/bin/netca:line 189: cd: /home/oracle/oracle/product/10.2.0.1/db_1/network/tools: No suchfile or directory

Exception inthread "main" java.lang.NoClassDefFoundError: oracle/net/ca/NetCA

再将10.2.0.1改为10.2.0

再导出exportORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1

最后再运行netca

点击“Finish”

最后界面的输出LISTENER的配置信息:

Oracle Net Services Configuration:

Configuring Listener:LISTENER

Default local naming configuration complete.

Listener configuration complete.

Oracle Net Listener Startup:

    Running Listener Control:

     /home/oracle/oracle/product/10.2.0/db_1/bin/lsnrctl start LISTENER

    Listener Controlcomplete.

    Listener startedsuccessfully.

Oracle Net Services configuration successful. The exit code is 0

切换到root,查看listener进程

[root@oracle10g 桌面]# ps aux|grep -i listener|grep -v grep

oracle   23398  0.0 0.8 204172  8856 ?        Ssl 18:56   0:00/home/oracle/oracle/product/10.2.0/db_1/bin/tnslsnr LISTENER –inherit

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值