Ubuntu 18.04 上的 Oracle 数据库安装

Oracle Database installation on Ubuntu 18.04

我是 ubuntu 和 oracle 的新手,我无法在 ubuntu 上安装 oracle 18c!如果有人可以帮助我为新手提供明确的解决方案!!谢谢!

enter image description here

Oracle 并非设计用于 运行 on Ubuntu。 Linux 家族树有几个不同的分支,ubuntu 是一个完全不同的分支,而不是为一个 oracle 设计的分支。您会在互联网上找到 hacks 来安装它,但仅此而已 - hacks。而且,即使您确实安装了它,也永远无法保证一切都会正常运行。

运行在 Ubuntu 机器上安装 Oracle 的常用方法是安装 Oracle Virtual Box,使用它来创建一个 运行 已认证 OS 的 VM ,比如 Oracle Linux。然后在上面安装你的 oracle 数据库。

我有几篇关于它的博客文章,here

docker 有黑客可以在 Ubuntu 上使用 Oracle 数据库。只需 download/pull

可用的容器
https://hub.docker.com/r/gvenzl/oracle-xe

然后运行它作为

docker container run -d -p 1521:1521 -e ORACLE_PASSWORD=oracle  --name oracle21 gvenzl/oracle-xe

然后通过一些 SQL 编辑器从 Ubuntu 连接到它,例如 Oracle SQL 开发人员。