简体   繁体   中英

Oracle Database installation on Ubuntu 18.04

I am new to ubuntu and oracle, and I couldn't install oracle 18c on ubuntu! If anyone can help me with a clear solution for a newbie!! Thank you!

enter image description here

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.

The ususal approach for running oracle on an Ubuntu machine is to install Oracle Virtual Box, using that to create a VM that runs a certified OS, like Oracle Linux. Then install your oracle db on that.

I have a few blog articles on it, here .

There is a hack with docker to use Oracle database on Ubuntu. Simply download/pull the container available at

https://hub.docker.com/r/gvenzl/oracle-xe

Then run it as

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

and then connect to it from Ubuntu via some SQL editor eg, Oracle SQL developer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM