※当サイトの記事には、広告・プロモーションが含まれます。

Oracle DatabaseをLinux環境にインストールする必要があって調べてみたけど

www.itmedia.co.jp

半導体不足まだ続くんか...

Oracle DatabaseをLinux環境にインストールする必要があって調べてみたけど

何か、Oracle Database 23c(Free-Developer Releaseなので、正式版では無いっぽい)をLinux環境にインストールしようと思ったんだけど、「WSL 2(Windows SubSystem for Linux 2)」のデフォルトのLinuxディストリビューションUbuntuなんだけど、

stackoverflow.com

Oracle is not designed to run on Ubuntu. There are a few different branches of the Linux family tree, and ubuntu is an entireley different branch than the one oracle was designed for. You will find hacks on the interntet to get it installed, but that's all they are - hacks. And if you do get it installed there is never any assurance that everything will work as it should.

https://stackoverflow.com/questions/67805311/oracle-database-installation-on-ubuntu-18-04

⇧ まさかの、Ubuntuでの利用は想定していないんだとか...

www.oracle.com

docs.oracle.com

⇧ なんか、選択肢が、

のほぼ2択っぽいんだが...

⇧ Dockerイメージも結局、Oracle Linuxをベースにしてるっぽい...

そもそも、コンテナに永続化したいデータを管理するデータベースを配置するのが微妙な気が...

ちなみに、スーパーコンピューター、所謂、スパコンの世界では、

Supercomputers

The TOP500 project lists and ranks the 500 fastest supercomputers for which benchmark results are submitted. Since the early 1990s, the field of supercomputers has been dominated by Unix or Unix-like operating systems, and starting in 2017, every top 500 fastest supercomputer uses Linux as its supercomputer operating system.

https://en.wikipedia.org/wiki/Usage_share_of_operating_systems

Linuxの独壇場みたい...

年毎の推移が分からないので何とも言えないけども、

truelist.co

Ubuntuの利用率が高い模様。

だけど、Oracle Databaseを使う場合、データベースのサーバーとしてのOSには、Ubuntuは使えないというね...

Oracle Databaseを使う意味ってあるのか?と思ったんだけど、

future-architect.github.io

⇧ 新規でシステムを開発するんであれば、最早、Oracle Database以外も選択できる時代になったいうことらしい。

まぁ、性能面での余程の優位性が無いのであれば、高いコストをかけて敢えてOracle Databaseを使う理由は無いですもんね。

そもそも、「WSL 2(Windows SubSystem for Linux 2)」で利用できるLinuxディストリビューションを確認してみたところ、

NAME                                   FRIENDLY NAME
Ubuntu                                 Ubuntu
Debian                                 Debian GNU/Linux
kali-linux                             Kali Linux Rolling
Ubuntu-18.04                           Ubuntu 18.04 LTS
Ubuntu-20.04                           Ubuntu 20.04 LTS
Ubuntu-22.04                           Ubuntu 22.04 LTS
OracleLinux_7_9                        Oracle Linux 7.9
OracleLinux_8_7                        Oracle Linux 8.7
OracleLinux_9_1                        Oracle Linux 9.1
SUSE-Linux-Enterprise-Server-15-SP4    SUSE Linux Enterprise Server 15 SP4
openSUSE-Leap-15.4                     openSUSE Leap 15.4
openSUSE-Tumbleweed                    openSUSE Tumbleweed

⇧ 2023年6月3日(土)時点で、「RHELRed Hat Enterprise Linux)」は用意されていないっぽい。

どうしても、「WSL 2(Windows SubSystem for Linux 2)」で「RHELRed Hat Enterprise Linux)」を利用したい場合は、

qiita.com

⇧ 上記サイト様にありますように、ハック的な方法で導入するしかないっぽい。

Oracle Databaseを、

のどっちにインストールするのが正解なのか分からんけども...

ネット上の情報を見ると、Dockerのイメージでインストールしてる情報も多かったんで、Oracle Linuxを使うのが正解なんかね?

クラウドとかだと、マネージドサービスでデータベースを利用するのであれば、仮想マシンにデータベースをインストールするような煩わしい作業は不要だと思うからLinuxディストリビューションの選定とかを意識する必要がないという考え方もあると思うけど...

何にせよ、PCのドライブの空き容量を削減しないことには、Oracle LinuxOracle Databaseのインストールは厳しいか...

毎度モヤモヤ感が半端ない...

今回はこのへんで。