Reputation: 2805
I am using Ubuntu server 14.04 and I tried to find how to install oracle database 11g but could not found.
Do you have any suggestion or tutorial to guide that job?
Upvotes: 1
Views: 12665
Reputation: 402
Another aproach is to setup a docker container with Oracle 11g. Since Ubuntu is not a supported operating system, in can be much easier.
Here are the steps to install Oracle 11g Enterprise Edition:
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
(source https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository)
Download Oracle installation files https://www.oracle.com/database/technologies/112010-linx8664soft.html
Unzip both files so you have a single "database" folder. Place this "database" folder somewhere and name it e.g "installation_folder"
sudo docker pull jaspeen/oracle-11g
sudo docker run --privileged --name oracle11g -p 1521:1521 -v /path/to/installation_folder:/install jaspeen/oracle-11g
sudo docker ps -a
Get container [YOUR_CONTAINER_ID]
sudo docker exec -it [YOUR_CONTAINER_ID] /bin/bash
su - oracle
sqlplus / as sysdba
Upvotes: 0