Skip to content

Installing Scotas OLS on Oracle 18c XE

Scotas Real-Time Search Solutions edited this page Nov 27, 2020 · 5 revisions

We uploaded to GitHub an official install scripts for Scotas OLS 2.0.5 (RDBMS 18c XE) The script requires Oracle 18c XE official image built using Oracle Official Scripts.

$ docker image ls|grep oracle
oracle/database                                                    18.4.0-xe                  6acb249d39ba        4 months ago        5.87GB

then checkout our scripts from GitHub using:

$ git clone https://github.com/scotas/docker-images.git
Cloning into ‘docker-images’…
remote: Counting objects: 39, done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 39 (delta 14), reused 32 (delta 10), pack-reused 0
Unpacking objects: 100% (39/39), done.
Checking connectivity… done.
$ cd docker-images
$ ./run-ols-xe.sh

Important: unlike Oracle official Docker image the script first run requires ORACLE_PWD argument, it doesn’t work with random generated password. During this first startup your RDBMS will create all the datafiles at /opt/oracle/oradata container directory and unpack and install Scotas OLS, you will see some like this:

OLS Installed OK….

DATABASE IS READY TO USE!

If you work with Docker volumes check argument -v "/home/data/db/xe-18c:/opt/oracle/oradata" and adjust them to your installation.

root@pocho:~# chown 54321:54321 /home/data/db/xe-18c
root@pocho:~# ls -ltra /home/data/db/xe-18c
total 8
drwxr-xr-x 11 root   root     4096 jul  2 19:29 ..
drwxr-xr-x  2 oracle oinstall 4096 jul  2 19:29 .

Clone this wiki locally