Oracle 11g preconfigured for psgbd course@infoiasi
This script creates user student and populates database according to instructions in lab1.
To install Docker (needed only first time)
I offer free support for installation problems. Write at email@example.com, describe your problem and I'll help you fix it. Also you can ask me on FB or Skype adrian.harabula.
Follow these links for installation instructions:
- for Windows
- for Mac
- for Ubuntu
- for any linux distro run
curl -sSL get.docker.com | sudo sh
- for other platforms, follow official Docker install guides
How to run
In a terminal run:
docker run --name oracle-studbd -d -p 49160:22 -p 49161:1521 adrianharabula/oracle-11g-studbd2017
This creates a local container on your pc from the Docker image.
Run the container with:
docker run oracle-studbd
To remove container, discard database changes and start with a freshly imported dump run:
docker stop oracle-studbd docker rm oracle-studbd docker run --name oracle-studbd -d -p 49160:22 -p 49161:1521 adrianharabula/oracle-11g-studbd2017
Connect to ssh with
ssh root@localhost -p 49160, use admin as password. From this shell you have access to sqlplus client.
Using with Oracle SQL Developer
Open Oracle SQL Developer and connect with the following credentials:
username: student password: STUDENT hostname: localhost # or Docker machine ip (default is 192.168.99.100) if running on Windows or Mac port: 49161
This image is built from wnameless/oracle-xe-11g, please review that page for more info about the oracle image itself.