目次

概要

Oracle Database 10g Express Edition for Linux x86 のインストール手順。

  • インストール環境
    CentOS 5.0Linux version 2.6.18-8.el5
    Oracle Database 10g Express Edition for Linux x8610.2.0.1

追記 2013/12/05
CentOS 5.9にてインストールを行ったところ、インストールは正常に終了するが初期化処理が正常に動作せず、起動することができなかった。
動作を確認したOSは以下のバージョンのみ。

CentOS 5.0
CentOS 5.2

  • インストール前提
    ディスク容量/usr/lib/配下に1.5GB以上の空き容量

パッケージ入手

インストール手順

  • 1) パッケージに不足がある場合は自前にインストール
    yum install libaio
    yum install bc

  • 2) パッケージをインストール
    rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm

  • 3) 初期設定を実行
    /etc/init.d/oracle-xe configure

    Oracle Database 10g Express Edition Configuration
    -------------------------------------------------
    This will configure on-boot properties of Oracle Database 10g Express Edition.  The following questions will determine whether the database should be starting upon system boot, the ports it will use, and the passwords that will be used for database accounts.  Press  <Enter> to accept the defaults. 
    Ctrl-C will abort.

  • 4) Web管理画面のポートを指定
    Specify the HTTP port that will be used for Oracle Application Express [8080]:

  • 5) リスナーのポートを指定
    Specify a port that will be used for the database listener [1521]:

  • 6) 管理者権限(SYSTEM)のパスワードを指定
    Specify a password to be used for database accounts.  Note that the same password will be used for SYS and SYSTEM.  Oracle recommends the use of different passwords for each database account. 
    This can be done after initial configuration:
    Confirm the password:

  • 7) 自動起動の設定
    Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:

  • 8) 環境変数の追加
    /etc/profileに以下の環境変数を追加
    ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
    export ORACLE_HOME
    ORACLE_SID=XE
    export ORACLE_SID
    NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`
    export NLS_LANG
    PATH=$ORACLE_HOME/bin:$PATH
    export PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
  • 9) OSを再起動する
  • 10) 接続を確認
    # sqlplus /nolog
    
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jul 30 17:16:37 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Enter user-name: system
    Enter password: 

    ユーザIDsystem
    パスワード初期設定にて設定したパスワード

Application Express

Oracle database 10g XEには多機能なWeb管理機能が備わっている。
これはインストールを行うだけで使用可能となり、以下のURLよりアクセスすることができる

http://127.0.0.1/apex/


以下の様なログイン画面が表示される
apex_000.png


初期段階ではローカルホストからのアクセスのみ可能な状態となっている。


添付ファイル: fileapex_000.png 1280件 [詳細]

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2013-12-05 (木) 14:48:44 (3796d)