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.

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



相關文章

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.