Oracle 7.3.4 for OpenServer 5 安裝

來源:互聯網
上載者:User

1.建立oracle使用者、dba組;

2.調整系統核心參數:

#./idtune SHMMAX 409600000

#./idtune SEMMNI 15

3.安裝SCO補丁檔案 oss459A,

重新串連核心並重新啟動:

#/etc/conf/cf.d/link_unix -y

#init 6
 
4.編輯oracle使用者的.profile檔案,增加以下內容:

ORACLE_BASE=/u/oracle
ORACLE_HOME=/u/oracle
ORACLE_SID=ora7
export ORACLE_BASE ORACLE_HOME ORACLE_SID
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin:/opt/bin:/usr/lbin:.
export PATH

5.安裝

放入 Oracle 7.3.4 Enterprise Edition光碟片,

# mount -r /dev/cd0 /mnt

# su - oracle7

$ cd /mnt/orainst

$ ./orainst

在安裝過程中,當提問是否已執行rootpre.sh時,切換到另外一屏,以root身份登入 ,執行:

#cd /cdrom/orainst
#./rootpre.sh

再切換到另外原來的虛屏,繼續安裝。

6.安裝完後,以root身份執行root.sh

$ su root

# cd $ORACLE_HOME/orainst

# ./root.sh

# exit

7.測試:

$ svrmgrl
SVRMGR>connect internal
Connected.
SVRMGR>startup
ORACLE instance started.
Total System Global Area 38791712 bytes
Fixed Size 41880 bytes
Variable Size 12371592 bytes
Database Buffers 26214400 bytes
Redo Buffers 163840 bytes
Database mounted.
Database opened.
SVRMGR>shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.

若能顯示以上資訊,則安裝成功!



聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.