ブログ - Oracle 11g Express Edition on Red Hat 7.6 その1
VirtualBox上にインストールした,Red Hat 7.6に,Oracle 11g Express Editionを入れてみる.
OTNのサイトからダウンロードしたファイルを確認.
ZIPファイルを展開する.
展開したファイルを確認.
RPMが展開されたことがわかる.
インストールする.
bcコマンドがないため,インストールに失敗している.bcコマンドは対話的に計算するコマンド.
yumでインストールしてみようと考えて実行.
残念.なんだかRed Hatサブスクリプションでどうにかしてないと?
OTNのサイトからダウンロードしたファイルを確認.
[root@rhel76 home]# ls -la🆑
合計 308488
drwxr-xr-x. 2 root root 49 1月 20 11:38 .
dr-xr-xr-x. 17 root root 224 1月 20 11:38 ..
-rwxr-x---. 1 root root 315891481 1月 20 11:37 oracle-xe-11.2.0-1.0.x86_64.rpm.zip🈁
[root@rhel76 home]#
[root@rhel76 home]# unzip oracle-xe-11.2.0-1.0.x86_64.rpm.zip🆑
Archive: oracle-xe-11.2.0-1.0.x86_64.rpm.zip
creating:Disk 1/
creating:Disk 1/upgrade/
inflating:Disk 1/upgrade/gen_inst.sql
creating:Disk 1/response/
inflating:Disk 1/response/xe.rsp
inflating:Disk 1/oracle-xe-11.2.0-1.0.x86_64.rpm🈁
[root@rhel76 home]#
[root@rhel76 home]# cd Disk1🆑
[root@rhel761 Disk1]# ls -la🆑
合計 309884
drwxrwxr-x. 4 root root 76 8月 29 2011 .
drwxr-xr-x. 3 root root 62 1月 20 11:38 ..
-rw-rw-r--. 1 root root 317320273 8月 29 2011 oracle-xe-11.2.0-1.0.x86_64.rpm🈁
drwxr-xr-x. 2 root root 20 8月 29 2011 response
drwxrwxr-x. 2 root root 26 8月 29 2011 upgrade
[root@rhel761 Disk1]#
インストールする.
[root@rhel761]# rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm🆑
準備しています... ################################# [100%]
/var/tmp/rpm-tmp.f7N2Y9: 行 186: bc: コマンドが見つかりません🈁
/var/tmp/rpm-tmp.f7N2Y9: 257 行: [: 18446744073692774399: 整数の式が予期されます
/var/tmp/rpm-tmp.f7N2Y9: 271 行: [: 18446744073692774399: 整数の式が予期されます
更新中 / インストール中...
1:oracle-xe-11.2.0-1.0 ################################# [100%]
Executing post-install steps...
/var/tmp/rpm-tmp.yVy7dR: 行 76: bc: コマンドが見つかりません
/var/tmp/rpm-tmp.yVy7dR: 行 77: bc: コマンドが見つかりません
/var/tmp/rpm-tmp.yVy7dR: 78 行: [: -gt: 単項演算子が予期されます
/var/tmp/rpm-tmp.yVy7dR: 行 82: bc: コマンドが見つかりません
You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.
[root@rhel761]#
yumでインストールしてみようと考えて実行.
[root@rhel76 Disk1]# yum install bc🆑
読み込んだプラグイン:product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
There are no enabled repos.
Run "yum repolist all" to see the repos you have.🈁
To enable Red Hat Subscription Management repositories:
subscription-manager repos --enable <repo>
To enable custom repositories:
yum-config-manager --enable <repo>
[root@rhel76 Disk1]#