首页 > 数据库技术 > 详细

Exp等程序从oracle中剥离

时间:2017-09-30 22:38:40      阅读:225      评论:0      收藏:0      [点我收藏+]

1、从oracle安装目录找到exp执行文件,复制到指定目录:/home/fm/server/lib/oci/lib

2、将oracle安装目录下面$ORACLE_HOME/rdbms目录复制到指定目录:/home/fm/server/lib/oci/lib

3、修改上述两步复制过来文件或者文件夹所属用户和用户组:

[root@huydvm bin]# chown fm:fm /home/fm/server/lib/oci/lib/exp

[root@huydvm dbhome_1]# chown -R fm:fm /home/fm/server/lib/oci/lib/rdbms

4、设置fm用户下的$ORACLE_HOME、$ORACLE_SID,根据实际情况设置

[fm@huydvm ~]$ vim .bash_profile

export ORACLE_HOME=/home/fm/server/lib/oci/lib

export ORACLE_SID=orcl

5、执行exp命令:

[fm@huydvm ~]$ exp

Export: Release 11.2.0.4.0 - Production on Thu Sep 14 16:22:40 2017

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

Username:

6、到输入用户名的地方,就说明配置全部完成;

7、但是要连上数据库,还是存在问题!

8、将oracle安装$ORACLE_HOME/network目录复制到指定目录:/home/fm/server/lib/oci/lib

该目录存放了许多和网络相关的库文件,必须同步复制过来;

Exp等程序从oracle中剥离

原文:http://www.cnblogs.com/skiing886/p/7616317.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!