目次~
#contents

**概要 [#i09d7e00]
Oracle Database 10g Express Edition for Linux x86 のインストール手順。

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

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

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


**パッケージ入手 [#m42f52d4]
-Oracle database 10g Express Edition~
[[配布元サイト:http://www.oracle.com/technetwork/database/express-edition/downloads/index.html]]よりOracle Database 10g Express Edition (Universal) の最新版を入手する。
~
[[Linux RPMパッケージ(oracle-xe-univ-10.2.0.1-1.0.i386.rpm):http://download.oracle.com/otn/linux/oracle10g/xe/10201/oracle-xe-univ-10.2.0.1-1.0.i386.rpm]]~
~

**インストール手順 [#f8a33073]
-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: 
~
|ユーザID|system|
|パスワード|初期設定にて設定したパスワード|

**Application Express [#o22eb975]
Oracle database 10g XEには多機能なWeb管理機能が備わっている。~
これはインストールを行うだけで使用可能となり、以下のURLよりアクセスすることができる~
~
 http://127.0.0.1/apex/
~
以下の様なログイン画面が表示される~
&ref(apex_000.png);

~
初期段階ではローカルホストからのアクセスのみ可能な状態となっている。~
-変更方法~
Oracle Database 10g XE on Linux 操作Tips を参照~

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS