「Oracleインストール」の編集履歴(バックアップ)一覧はこちら
「Oracleインストール」(2013/05/14 (火) 09:43:20) の最新版変更点
追加された行は緑色になります。
削除された行は赤色になります。
*Oracleインストール
フリーのOracle10gExpressEditionをインストールしてみた。
**インストール準備
***必須条件
***ダウンロード
**インストール
***rpmでインストール
># ls -l *.rpm
>-rwxr-xr-x. 1 fedora fedora 262909363 2009-08-26 22:07 oracle-xe-univ-10.2.0.1-1.0.i386.rpm
># rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm
>準備中... ########################################### [100%]
> 1:oracle-xe-univ ########################################### [100%]
>Executing Post-install steps...
>You must run '/etc/init.d/oracle-xe configure' as the root user to
>configure the database.
***設定
># /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.
>
>Specify the HTTP port that will be used for Oracle Application Express [8080]:8080
>MEMO:管理画面(WEB)のポート番号を設定(これって未入力だと[]内のが使われるのかな)
>
>Specify a port that will be used for the database listener [1521]:1521
>MEMO:データベースリスナーのポート番号を設定
>
>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:
>MEMO:OracleユーザーのSYSとSYSTEMのパスワードを設定。(これを忘れちゃダメ)
>
>Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:y
>MEMO:OS起動時にOracleを起動するかの確認。
>
>Starting Oracle Net Listener...Done
>Configuring Database...Done
>Starting Oracle Database 10g Express Edition Instance...Done
>Installation Completed Successfully.
>To access the Database Home Page go to "http://127.0.0.1:8080/apex"
***環境変数の設定
.bashrcに以下を追加
う~ん。おいらtcshなんだよな。
># . /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
***起動
とりあえずSQL*Plusが起動できるようになった。
># sqlplus
>
>SQL*Plus: Release 10.2.0.1.0 - Production on 日 10月 11 00:24:54 2009
>
>Copyright (c) 1982, 2005, Oracle. All rights reserved.
>
>ユーザー名を入力してください: system
>パスワードを入力してください:
>
>
>Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
>に接続されました。
>SQL>
**システムの起動・停止
***起動
># /etc/init.d/oracle-xe start
***停止
># /etc/init.d/oracle-xe stop
**サービスの起動・停止
***起動
># service oracle-xe start
***停止
># service oracle-xe stop
**管理画面
管理画面へログイン
http://127.0.0.1:8080/apex
*Oracleインストール
フリーのOracle10gExpressEditionをインストールしてみた。
**作成日/更新日
2009.10.14/YYYY.MM.DD
**OS
Fedora
**手順 目次
+ダウンロード
+rpmでインストール
+設定
+環境変数の設定
+起動
+システムの起動・停止
+サービスの起動・停止
+管理画面
----
**rpmでインストール
># ls -l *.rpm
>-rwxr-xr-x. 1 fedora fedora 262909363 2009-08-26 22:07 oracle-xe-univ-10.2.0.1-1.0.i386.rpm
># rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm
>準備中... ########################################### [100%]
> 1:oracle-xe-univ ########################################### [100%]
>Executing Post-install steps...
>You must run '/etc/init.d/oracle-xe configure' as the root user to
>configure the database.
**設定
># /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.
>
>Specify the HTTP port that will be used for Oracle Application Express [8080]:8080
>MEMO:管理画面(WEB)のポート番号を設定(これって未入力だと[]内のが使われるのかな)
>
>Specify a port that will be used for the database listener [1521]:1521
>MEMO:データベースリスナーのポート番号を設定
>
>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:
>MEMO:OracleユーザーのSYSとSYSTEMのパスワードを設定。(これを忘れちゃダメ)
>
>Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:y
>MEMO:OS起動時にOracleを起動するかの確認。
>
>Starting Oracle Net Listener...Done
>Configuring Database...Done
>Starting Oracle Database 10g Express Edition Instance...Done
>Installation Completed Successfully.
>To access the Database Home Page go to "http://127.0.0.1:8080/apex"
**環境変数の設定
.bashrcに以下を追加
># . /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
**起動
とりあえずSQL*Plusが起動できるようになった。
># sqlplus
>
>SQL*Plus: Release 10.2.0.1.0 - Production on 日 10月 11 00:24:54 2009
>
>Copyright (c) 1982, 2005, Oracle. All rights reserved.
>
>ユーザー名を入力してください: system
>パスワードを入力してください:
>
>
>Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
>に接続されました。
>SQL>
**システムの起動・停止
***起動
># /etc/init.d/oracle-xe start
***停止
># /etc/init.d/oracle-xe stop
**サービスの起動・停止
***起動
># service oracle-xe start
***停止
># service oracle-xe stop
**管理画面
管理画面へログイン
http://127.0.0.1:8080/apex