在 Linux x86 上安裝 Oracle 資料庫 10g(官方文檔)

來源:互聯網
上載者:User

在 Linux x86 上安裝 Oracle 資料庫 10g步驟:

1、安裝Linux及Oracle相關組件;

2、驗證系統要求、

建立使用者和組、

建立目錄、

配置 Linux 核心參數、

為 oracle 使用者佈建 Shell 限制、

oracle 使用者的環境變數;

3、安裝;

4、排錯;

第 1 部分:安裝 Linux(以RHEL3為例)

如果完成了以上步驟,您應該具備 Oracle 10g 所需的所有程式包和更新。您可以執行以下步驟驗證您的安裝。

所需核心版本:2.4.21-4.EL(這是 RHEL 3 的基本版本附帶的核心版本。此核心或更新中提供的任何版本的核心均適用於 Oracle 10g。)

通過運行以下命令檢查核心版本:

uname -r

例如:

# uname -r

2.4.21-4.0.1.ELsmp

其他所需程式包的版本(或更高版本):

?        gcc-3.2.3-2

?        make-3.79

?        binutils-2.11

?        openmotif-2.2.2-16

?        setarch-1.3-1

?        compat-gcc-7.3-2.96.122

?        compat-gcc-c++-7.3-2.96.122

?        compat-libstdc++-7.3-2.96.122

?        compat-libstdc++-devel-7.3-2.96.122

?        compat-db-4.0.14.5(Oracle 10g 資料庫安裝指南 中將其列為是必需的,但此處並不需要)

要查看系統上安裝了這些程式包的哪些版本,以 root 使用者身份運行以下命令:

rpm -q gcc make binutils openmotif setarch compat-db compat-gcc \

compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel

例如:

# rpm -q gcc make binutils openmotif setarch compat-db compat-gcc \

>      openmotif compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel

gcc-3.2.3-20

make-3.79.1-17

binutils-2.14.90.0.4-26

openmotif-2.2.2-16

setarch-1.3-1

package compat-db is not installed

compat-gcc-7.3-2.96.122

compat-gcc-c++-7.3-2.96.122

compat-libstdc++-7.3-2.96.122

compat-libstdc++-devel-7.3-2.96.122

請注意,尚未安裝 compat-db 程式包。安裝過程中可用的任何程式包組均不包含此程式包,因此必須在單獨的步驟中安裝。如果系統上缺少任何其他程式包版本,或版本比以上指定的版本舊(compat-db 除外),則可以從 Red Hat Network 下載並安裝更新

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 下一頁

相關文章

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.