安装后改变 Oracle Inventory 的位置

有时侯发现Oracle Inventory的目录不大合适, 无非两种选择:
-重新安装
-改变位置

昨天装了 IBM content manager 需要的 Oracle 数据库,发现目录不大令人满意,有人开始抱怨, 其实很容易改过来…

– CASE 1: move inventory directory to somewhere

cat /etc/oraInst.loc
inventory_loc=/u01/oracle/product/920/oraInventory920A
inst_group=dba

mv oraInventory920A oraInventory920B

vi /etc/oraInst.loc

cat /etc/oraInst.loc
inventory_loc=/u01/oracle/product/920/oraInventory920B
inst_group=dba

– CASE 2: directory link inventory directory to somewhere

ln -s /u01/oracle/product/920/oraInventory920B /u01/oracle/oraInventory920B
 
vi /etc/oraInst.loc

cat /etc/oraInst.loc
inventory_loc=/u01/oracle/oraInventory920B
inst_group=dba

Advertisements

About Pang

Oracle DBA working in database, fusion middleware and identity management and cloud.
This entry was posted in Installation. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s