|
18 | 18 |
|
19 | 19 | 1. Git clone this repository and set it as the working directory. |
20 | 20 | 2. Download the installer files: |
21 | | - * [Oracle Database 18c XE](https://oracle.com/xe) |
| 21 | + * [Oracle Database 18c XE](https://oracle.com/xe) or any of the required installation files from [OTN](https://www.oracle.com/technetwork/database/) |
22 | 22 | * [Oracle Application Express](https://apex.oracle.com/download) (the latest version is 19.1 as of March 29, 2019) |
23 | 23 | * [Oracle REST Data Services](https://www.oracle.com/technetwork/developer-tools/rest-data-services/downloads/index.html) (the latest version is 18.4 as of February 16, 2019) |
| 24 | + * [Java Development Kit SE 8](https://www.oracle.com/technetwork/java/javase/downloads/) |
24 | 25 | 3. Place all three files in the sub-directory `files`. |
25 | | -4. Run the first script to grab the latest Docker [images](https://github.com/oracle/docker-images) from Oracle: |
26 | | - ```bash |
27 | | - $ . 01-stage.sh |
28 | | - ``` |
29 | | -5. Create a new file that contains the required variables. The `sample.env` file is provided but should **not** be used directly. Make a copy, e.g. `mysettings.env`, and modify as desired. The file should contain the following variables: |
| 26 | +4. Create a new file that contains the required variables. Make a copy of `settings.env.sample`, e.g. `mysettings.env`, and modify as desired. The file should contain the following variables: |
30 | 27 | ```bash |
31 | 28 | ORACLE_SID=XE |
32 | 29 | ORACLE_PDB=XEPDB1 |
|
35 | 32 | APEX_ADMIN_PWD=Oracle__18 |
36 | 33 | INSTALL_FILE_APEX=apex_19.1.zip |
37 | 34 | INSTALL_FILE_ORDS=ords-18.4.0.354.1002.zip |
| 35 | + INSTALL_FILE_JAVA=jdk-8u201-linux-x64.tar.gz |
38 | 36 | DOCKER_ORDS_PORT=50080 |
39 | 37 | DOCKER_EM_PORT=55500 |
40 | 38 | DOCKER_DB_PORT=51521 |
41 | 39 | DB_VERSION=18.4.0 |
42 | 40 | DB_EDITION=XE |
43 | 41 | ``` |
44 | | -6. Run the second script to build the Oracle Database image, where the environment file is called `mysettings.env`: |
| 42 | +5. Run the first script to grab the latest Docker [images](https://github.com/oracle/docker-images) from Oracle and build the Oracle Database image. The script takes one parameter, the environment filename (`mysettings.env`): |
45 | 43 | ```bash |
46 | | - $ . 02-build.sh mysettings.env |
| 44 | + $ . 01-build.sh mysettings.env |
47 | 45 | ``` |
48 | | -7. Run the final script to create and run the container, where the container name is `axer` (it is preferred that you execute a command using `sudo` before executing this script): |
| 46 | +6. Run the final script to create and run the container, where the container name is `axer` (it is preferred that you execute a command using `sudo` before executing this script): |
49 | 47 | ```bash |
50 | 48 | $ . 03-run.sh axer mysettings.env |
51 | 49 | ``` |
|
0 commit comments