中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

使用clone方式完成Oracle軟件的安裝

發布時間:2020-05-14 21:41:30 來源:網絡 閱讀:22218 作者:攻城獅一枚 欄目:關系型數據庫

 

 

一、    準備條件

相同操作系統,已安裝Oracle軟件的環境

 

RHEL 5.8 X64

Oracle 11.2.0.3.0

 

檢查Oracle補丁狀態

$ $ORACLE_HOME/OPatch/opatch lsinventory

Invoking OPatch 11.2.0.1.7

 

Oracle Interim Patch Installer version 11.2.0.1.7

Copyright (c) 2011, Oracle Corporation.  All rights reserved.

 

 

Oracle Home       : /u01/oracle

Central Inventory : /u01/oracle/oraInventory

   from           : /etc/oraInst.loc

OPatch version    : 11.2.0.1.7

OUI version       : 11.2.0.3.0

Log file location : /u01/oracle/cfgtoollogs/opatch/opatch3014-09-12_08-17-49AM.log

 

Lsinventory Output file location : /u01/oracle/cfgtoollogs/opatch/lsinv/lsinventory2014-09-12_08-17-49AM.txt

 

--------------------------------------------------------------------------------

Installed Top-level Products (1):

 

Oracle Database 11g                                                  11.2.0.3.0

There are 1 products installed in this Oracle Home.

 

 

There are no Interim patches installed in this Oracle Home.

 

 

--------------------------------------------------------------------------------

 

OPatch succeeded.

二、    停止數據庫進程

三、    打包ORACLE HOME

$ tar cvf Oracle.tar $ORACLE_HOME

 

四、    tar包拷貝到B

B機環境變量設置成和A機一樣

 

五、    BOracle用戶clone

執行以下命令

$cd /u01/oracle/clone/bin

$ /u01/oracle/perl/bin/perl clone.pl ORACLE_BASE="/u01" ORACLE_HOME="/u01/oracle" OSDBA_GROUP=dba –defaultHomeName

./runInstaller -clone -waitForCompletion  "ORACLE_BASE=/u01" "ORACLE_HOME=/u01/oracle" "oracle_install_OSDBA=dba" -defaultHomeName  -defaultHomeName -silent -noConfig -nowait

Starting Oracle Universal Installer...

 

Checking swap space: must be greater than 500 MB.   Actual 1975 MB    Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-09-12_10-04-18AM. Please wait ...Oracle Universal Installer, Version 11.2.0.3.0 Production

Copyright (C) 1999, 2011, Oracle. All rights reserved.

 

You can find the log of this install session at:

 /u01/app/oraInventory/logs/cloneActions2014-09-12_10-04-18AM.log

.................................................................................................... 100% Done.

 

 

 

Installation in progress (Friday, September 12, 2014 10:05:29 AM CST)

...............................................................................                                                 79% Done.

Install successful

 

Linking in progress (Friday, September 12, 2014 10:06:34 AM CST)

Link successful

 

Setup in progress (Friday, September 12, 2014 10:12:11 AM CST)

Setup successful

 

End of install phases.(Friday, September 12, 2014 10:13:08 AM CST)

WARNING:A new inventory has been created in this session. However, it has not yet been registered as the central inventory of this system.

To register the new inventory please run the script '/u01/app/oraInventory/orainstRoot.sh' with root privileges.

If you do not register the inventory, you may not be able to update or patch the products you installed.

The following configuration scripts need to be executed as the "root" user.

/u01/app/oraInventory/orainstRoot.sh

/u01/oracle/root.sh

To execute the configuration scripts:

    1. Open a terminal window

    2. Log in as "root"

    3. Run the scripts

   

The cloning of OraHome1 was successful.

Please check '/u01/app/oraInventory/logs/cloneActions2014-09-12_10-04-18AM.log' for more details.

 

按照提示執行腳本:

[root@oracle ~]# sh /u01/app/oraInventory/orainstRoot.sh

Changing permissions of /u01/app/oraInventory.

Adding read,write permissions for group.

Removing read,write,execute permissions for world.

 

Changing groupname of /u01/app/oraInventory to oinstall.

The execution of the script is complete.

[root@oracle ~]# sh /u01/oracle/root.sh

Check /u01/oracle/install/root_oracle_2014-09-12_10-18-13.log for the output of root script

 

B機的ORACLE軟件已安裝完畢

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

临沂市| 仙居县| 河北区| 连州市| 堆龙德庆县| 伽师县| 金川县| 灵川县| 灵寿县| 浠水县| 台中市| 天柱县| 五台县| 灵宝市| 潮安县| 红原县| 且末县| 晋州市| 临江市| 安义县| 合江县| 米易县| 邻水| 赤水市| 万山特区| 民勤县| 龙里县| 陆河县| 孟津县| 方正县| 鹿泉市| 繁峙县| 玉溪市| 政和县| 保定市| 西吉县| 临湘市| 察哈| 济源市| 奈曼旗| 卢氏县|