当前位置:Gxlcms > 数据库问题 > Exp等程序从oracle中剥离

Exp等程序从oracle中剥离

时间:2021-07-01 10:21:17 帮助过:18人阅读

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中剥离

标签:copy   地方   roo   chown   bms   bash   网络相关   目录   1.2   

人气教程排行