LoginSignup
0

More than 3 years have passed since last update.

Oracle Database XE導入手順纏め

Posted at
【導入環境】

Oracle Linux 7

・Oracle Database XE取得

(取得先)
https://www.oracle.com/technetwork/jp/database/database-technologies/express-edition/downloads/index.html
ここでは、oracle-database-xe-18c-1.0-1.x86_64.rpm取得を想定

・プレインストール取得(OL7用)

プレインストール導入プログラム
# curl -o oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm

・プレインストール導入

# yum -y localinstall oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm

・Oracle Database XEインストール

# yum -y localinstall oracle-database-xe-18c-1.0-1.x86_64.rpm

・Oracle Database XEデータベースインスタンス作成

# /etc/init.d/oracle-xe-18c configure

必要入力項目:

  • SYS, SYSTEM and PDBADMINパスワード
  • ホストアドレス、ポート番号
  • CDB,PDB名

・DB起動停止(OL7用)

(起動)
# systemctl start oracle-xe-18c
(停止)
# systemctl stop oracle-xe-18c
(再起動)
# systemctl restart oracle-xe-18c

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0