|
4 | 4 |
|
5 | 5 | ## Prerequisites |
6 | 6 |
|
7 | | -* `sudo` rights. |
8 | 7 | * Installed the following: |
9 | 8 | * Git |
10 | 9 | * Curl |
|
20 | 19 | 2. Download the installer files: |
21 | 20 | * [Oracle Database 18c XE](https://oracle.com/xe) or any of the required installation files from [OTN](https://www.oracle.com/technetwork/database/) (supports versions up to 19.3 as of April 25, 2019) |
22 | 21 | * [Oracle Application Express](https://apex.oracle.com/download) (supports versions up 19.1 as of March 29, 2019) |
23 | | - * [Oracle REST Data Services](https://www.oracle.com/technetwork/developer-tools/rest-data-services/downloads/index.html) (supports versions up to 19.1 as of April 10, 2019) |
24 | | - * [Java Development Kit SE 8](https://www.oracle.com/technetwork/java/javase/downloads/) |
25 | | -3. Place all three files in the sub-directory `files`. |
| 22 | + * [Oracle REST Data Services](https://www.oracle.com/technetwork/developer-tools/rest-data-services/downloads/index.html) (supports versions up to 19.2 as of August 31, 2019) |
| 23 | + * [Java Development Kit SE 8](https://www.oracle.com/technetwork/java/javase/downloads/) (IMPORTANT: Download the tarball) |
| 24 | +3. Place all four files in the sub-directory `files`. |
26 | 25 | 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: |
27 | 26 | ```bash |
28 | 27 | ORACLE_SID=XE |
|
31 | 30 | APEX_ADMIN_EMAIL=myemail@domain.com |
32 | 31 | APEX_ADMIN_PWD=Oracle__18 |
33 | 32 | INSTALL_FILE_APEX=apex_19.1.zip |
34 | | - INSTALL_FILE_ORDS=ords-19.1.0.092.1545.zip |
35 | | - INSTALL_FILE_JAVA=jdk-8u201-linux-x64.tar.gz |
| 33 | + INSTALL_FILE_ORDS=ords-19.2.0.199.1647.zip |
| 34 | + INSTALL_FILE_JAVA=jdk-8u221-linux-x64.tar.gz |
36 | 35 | DOCKER_ORDS_PORT=50080 |
37 | 36 | DOCKER_EM_PORT=55500 |
38 | 37 | DOCKER_DB_PORT=51521 |
39 | 38 | DB_VERSION=18.4.0 |
40 | 39 | DB_EDITION=XE |
| 40 | + DOCKER_NETWORK_NAME=axer_network |
| 41 | + RTU_ENABLED=N |
41 | 42 | ``` |
42 | 43 |
|
43 | | - > To specify a Docker network to attach to, add the parameter `DOCKER_NETWORK_NAME`. The run script will check if the network exists, and if not, create it. |
| 44 | + > * Specify the Docker network to attach to using the parameter `DOCKER_NETWORK_NAME`. The run script will check if the network exists, and if not, create it. |
| 45 | + > * A new parameter `RTU_ENABLED` has been introduced. It allows users to create containers that can be used to create an image from using Docker [commit](https://docs.docker.com/engine/reference/commandline/commit/). Set the value to "Y" if this ability is required. |
44 | 46 | 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 | 47 | ```bash |
46 | 48 | $ . 01-build.sh mysettings.env |
|
0 commit comments