Oracle Xe Download For Mac



This section covers the following topics:

5.1 Running the Installer

Most users will install Oracle Database XE by downloading the installation package, extracting the files, double-clicking setup.exe, and answering graphical user interface prompts as needed.

Note:

An Oracle Database XE installation will consume around 9 gigabytes of disk space under /opt.If this disk partition does not have the required disk space available, you must add space or mount an alternative partition as /opt/oracle. In this video tutorial I will show you the step by step process of installing Oracle Database 18c XE on Docker Container running on Mac OS. There are many bl.

  • Before attempting to install Oracle Database XE 18c, uninstall any existing Oracle Database XE or database with the SID XE from the target system.
  • Installer will use SID XE for database creation. Any SID other than SID XE will not be allowed.
  • See Migrating Data and Applications if you need to move data from Oracle Database Express Edition to Oracle Database Enterprise Edition 18c.
  • See Exporting and Importing Data between Oracle Database XE 11.2 and 18c if you need to move data from XE 11.2 to XE 18c.

To install Oracle Database XE:

  1. Log on to Windows with Administrator privileges.

    You must be part of the Administrators group on Windows to install Oracle Database XE. If you are logged in as a domain user, ensure that you are connected to the network. Otherwise, you may receive a prerequisite check failure for Administrator privileges during the install.

  2. If the ORACLE_HOME environment variable has been set, then delete it.

  3. Download the Microsoft Windows version of Oracle Database XE.

  4. Extract the downloaded zip file to a temporary location. Locate setup.exe and double click it.

  5. In the Welcome to the InstallShield Wizard for Oracle Database 18c Express Edition window, click Next.

  6. In the License Agreement window, read the text of the agreement and if you agree to its terms, select I accept the terms in the license agreement and then click Next. If you do not accept the terms, cancel the installation and delete the Oracle Database 18c Express Edition software from the computer.

  7. The installer now performs a prerequisite check to ensure that the version of Windows is supported, that the installation user has administrative privileges, and that there is no Oracle Database XE service already created. If any of these checks fail a Prerequisite Checks window will open notifying the user. In that case, cancel the installation, fix the problem, and retry the installation.
  8. In the Choose Destination Location window, either accept the default or click Change to select a different installation directory. (Do not select a directory that has spaces in its name.) Then click Next.

  9. In the Specify Database Passwords window, enter and confirm the single database password to use for the SYS, SYSTEM, and PDBADMIN database accounts. Then click Next.

    Note:

    The same password will be used for these accounts.

    Oracle recommends that the password entered should be at least 12 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. The password should conform to the Oracle recommended standards. See Oracle Database Security Guide for more information about guidelines for securing passwords.

  10. In the Summary window, review the installation settings, and if you are satisfied, click Install. Otherwise, click Back and modify the settings as necessary.

  11. When the installation is complete, the Oracle Database Installed Successfully window is displayed.

    Make a note of the connection strings provided for multitentant container database and the pluggable database, as well as the EM Express URL. Click Finish to close the installer.

Configuration, Database Files, and Logs Location

The following table lists important locations such as Oracle Base, Oracle Home, Database files, and logs. <INSTALL_DIR> is the installation directory chosen by you during the time of install. The default installation directory is C:app<username>product18.0.0, where <username> is the name of the Windows user performing the installation.

Table 5-1 Configuration, Database Files and Logs Location

File Name and LocationPurpose

<INSTALL_DIR>

Oracle Base

This is the root of the Oracle Database XE directory tree.

<INSTALL_DIR>dbhomeXE

Oracle Home

This home is where the Oracle Database XE is installed. It contains the directories of the Oracle Database XE executables and network files.

<INSTALL_DIR>oradataXE

Database files

<INSTALL_DIR>diagrdbmsXEXEtrace

Diagnostic logs

The database alert log is <INSTALL_DIR>diagrdbmsXEXEtracealert_XE.log

<INSTALL_DIR>cfgtoollogs

Database installation, creation, and configuration logs.

The <INSTALL_DIR>cfgtoollogsdbcaXEXE.log file contains the results of the database creation script execution.

%Program Files%OracleInventorylogs

Software installation logs.

5.2 Performing a Silent Installation

If you plan to install Oracle Database XE on multiple computers or bundle it with a third-party application, then you may want to perform a silent installation, in which you download the installation executable and run it at a command line using the provided response files.

If you have an existing version of Oracle Database XE, you can save your data by exporting it to data files. After you install the new version of Oracle Database XE, you can import this data into the new database.

To perform a silent installation of Oracle Database XE:

  1. Log on to Windows with Administrator privileges.

    You must be part of the Administrators group on Windows to install Oracle Database XE. If you are logged in as a domain user, ensure that you are connected to the network.

  2. Download Oracle Database XE for Microsoft Windows. Extract the files to a temporary directory.

  3. Open the XEInstall.rsp response file and modify the settings if necessary.

    Note:

    For information on response file parameters, see Table 5-2.
  4. If the ORACLE_HOME environment variable has been set, then delete it.

  5. Run the installation executable with the XEInstall.rsp response file.

    For example, if you extracted the setup.exe executable and the XEInstall.rsp file to a directory called xe_temp, you would enter the following command:

    After the installation is complete, Oracle Database XE starts.

Response File Parameters

Oracle xe mac

The following table describes the important response file parameters. The parameter value cannot be empty. You must specify a valid value for the parameters.

Table 5-2 Response File Parameters

ParameterPurposeDefault Value

INSTALLDIR

The install directory location.

Replace [USERNAME] with current user.

INSTALLDIR=C:app[USERNAME]product18.0.0

PASSWORD

The XE Database password.

All users are set with this password. Reset the password immediately after the installation is complete.

PASSWORD=passwordvalue

LISTENER_PORT

The listener port.

LISTENER_PORT=0

If listener port is set to 0, available ports will be automatically allocated starting from 1521.

EMEXPRESS_PORT

The EM express port.

EMEXPRESS_PORT=0.

If EM express port is set to 0, available port will be automatically allocated starting from 5550.

CHAR_SET

The character set of the database.

CHAR_SET=AL32UTF8

Note:

After the installation is successfully completed, the following message is available in the log file that you have specified as the parameter to setup.exe. For example, c:xe_tempsetup.log:

MSI (c) (28:B8) [Timestamp]: Windows Installer installed the product. Product Name: Oracle Database 18c Express Edition. Product Version: 18.4.0.0.0. Product Language: [Current Language ID]. Manufacturer: Oracle Corporation. Installation success or error status: 0.

Since silent install runs asynchronously, you can check the log file for the completion status.

If the installation fails, see the following installation log files:
  • general logs: located at %Program Files%OracleInventorylogs
  • database creation logs: located at <Oracle_base>cfgtoollogs

Oracle XE is a free Oracle database that you can run locally and is very handy for development purposes.

Oracle Xe Mac

Oracle xe download windows 10

This post shows how to create a docker image with an instance of Oracle XE for you to manage and use in Linux (Ubuntu, RedHat, etc.), Mac, Windows, and other Operating Systems.

Download Oracle XE

Windows

Go to Oracle XE Download Page.

Download the version for Linux with .rpm extension.

Docker Image from Oracle Official Dockerfiles

Clone the official Oracle repo from GitHub containing the Dockerfiles.

Copy the Oracle XE to the right folder, here I’m assuming version 18.4.0 and that you cloned the repo to the home folder.

Oracle Xe Download For Mac

Enter the folder with the script to build the image:

Finally, build the image using parameters -x because we are installing Oracle XE and -v 18.4.0 because that’s the version being used.

Persistent volumes

As it is, everytime the container is destroyed the data is lost.

So let’s create a volume to persist our data on the host machine.

Give permissions on host for the user oracle in group dba to write in your folder from inside the container.

In the container, the user oracle has id 54321 and group dba has id 54322, confirm that’s the same for you just in case.

Running the container

To run the container, use the following docker run:

Now we have a container named oracle-xe based on our image oracle/database:18.4.0-xe.

A volume mapping /opt/oracle/oradata to ~/docker-volumes/oracle-xe.

SYS and SYSDBA default password is password123.

Port from the container 1521 is mapped to 91521, and 5500 is mapped to 95500.

Troubleshooting

Oracle Xe Download For Mac

After running for the first time, check the logs in the container to see if there is something like a Permission Denied error with:

If so, try starting a session in the container:

Check the permissions for /opt/oracle/data:

If the output shows root:root as owner, change it to oracle:dba:

Oracle 10g Xe Free Download

Restart your container.

Quick commands

For logs:

Start a session in the container:

Oracle Xe 11g Download For Mac

Stop the container:

Start the cotainer:

Connecting to Oracle SQL Developer

To connect Oracle SQL Developer or any other client running on our host to the Oracle XE instance running in the container use the following.