demo-oracle-database-oracle-linux-macos-utm-qemu

Demonstration of Oracle Database + Oracle Linux + macOS UTM QEMU

https://github.com/joelparkerhenderson/demo-oracle-database-oracle-linux-macos-utm-qemu

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.0%) to scientific vocabulary
Last synced: 8 months ago · JSON representation ·

Repository

Demonstration of Oracle Database + Oracle Linux + macOS UTM QEMU

Basic Info
  • Host: GitHub
  • Owner: joelparkerhenderson
  • Default Branch: main
  • Homepage:
  • Size: 13.3 MB
Statistics
  • Stars: 1
  • Watchers: 3
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme Citation

README.md

Demo Oracle Database + Oracle Linux + macOS UTM QEMU

Demonstration of:

  • Oracle Database 19c Aarch64

  • Oracle Linux 8 Aarch64

  • macOS UTM QEMU emulator on macOS 14.1 Arm M1

Feedback welcome.

Download Oracle Linux

Oracle Linux 8 R8 U9 Aarch64 DVD ISO is a full installation disk image. It can work with system emulators and virtual machine hosts.

Download Oracle Linux R8 U9 Aarch64 DVD ISO.

Download macOS UTM QEMU

UTM is a user-friendly full-featured system emulator and virtual machine host for iOS and macOS. UTM enables you to run Windows, Linux, and more on your Mac, iPhone, and iPad. UTM is based on QEMU.

Download macOS UTM QEMU.

Create VM

Launch UTM.

Welcome

Screenshots / UTM / Step 1 Welcome

  • Choose "Create a New Virtual Machine".

Start

Screenshots / UTM / Step 2 Start

  • Choose "Virtualize".

Operating System

Screenshots / UTM / Step 3 Operating System

  • Choose the Custom area "Other".

Other

Screenshots / UTM / Step 4 Other

  • Tap "Browse" then find file "OracleLinux-R8-U9-aarch64-dvd.iso".

Hardware

Screenshots / UTM / Step 5 Hardware

  • Memory: 8192 (or whatever you prefer)

  • CPU Cores: 2 (or whatever you prefer)

Storage

Screenshots / UTM / Step 6 Storage

  • 64 GB (or whatever you prefer)

Shared Directory

Screenshots / UTM / Step 7 Shared Directory

  • Leave blank (or set it if you prefer)

Summary

Screenshots / UTM / Step 9 Summary

  • Click "Save".

Play

Screenshots / UTM / Step 9 Play

  • Click the play icon.

Install

Screenshots / UTM / Step 10 Install

  • Choose "Install Oracle Linux 8.9.0"

Configure VM

Install

Screenshots / Oracle Linux setup / Step 1 Install

Choose the language and locale:

  • Choose English and United States (or whatever you prefer).

Installation Summary

Screenshots / Oracle Linux setup / Step 2 Installation Summary

The next steps below will configure these:

  1. Installation Destination

  2. Network & Host Name

  3. Create Root

  4. Create User

Installation Destination

Screenshots / Oracle Linux setup / Step 3 Installation Destination

Network & Host Name

Screenshots / Oracle Linux setup / Step 4 Network & Host Name

Create Root

Screenshots / Oracle Linux setup / Step 4 Root Password

Create root account:

  • Check the box to create a root account.

  • Set the password to "changeme123XYZ!" (or whatever you prefer).

  • Click "Done".

Create User

Screenshots / Oracle Linux setup / Step 6 Create User

Create user account:

  • Check the box to create a user account.

  • Set the username to "user" (or whatever you want).

  • Set the password to "changeme123XYZ!" (or whatever you prefer).

  • Click "Done".

Begin Installation

Screenshots / Oracle Linux setup / Step 7 Begin Installation

Eventually you should see a progress bar with the setup process.

Installation Progress Copmlete

Screenshots / Oracle Linux setup / Step 8 Installation Progress Complete

After the setup, you should see a message such as "Oracle Linux installation is successful".

  • Click the button "Reboot System".

Eject & Reboot

Screenshots / Oracle Linux setup / Step 9 Reboot

You should see the Grub prompt with the Oracle Linux DVD ISO options.

  • Eject the ISO by clicking the top right area icon that looks like a CD or DVD, with the tool tip "Drive image options".

  • Type "c" to get a command prompt.

  • Type reboot then press return.

Initial Setup

Screenshots / Oracle Linux setup / Step 10 Initial Setup

License Information

Screenshots / Oracle Linux setup / Step 11 License Information

After the reboot:

  1. You should see a license choice.

  2. Accept the license.

  3. Click "FINISH CONFIGURATION".

License Accepted

Screenshots / Oracle Linux setup / Step 12 License Accepted

Login

Choose User

Screenshots / User setup / Step 1 User

  • You should see a typical Linux login screen.

  • Click "user".

Enter User Password

Screenshots / User setup / Step 2 User Password

  • Enter the user password "changeme123XYZ!" (or whatever you set up earlier).

Welcome

Screenshots / User setup / Step 3 Welcome

Typing

Screenshots / User setup / Step 4 Typing

Privacy

Screenshots / User setup / Step 5 Privacy

Online Accounts

Screenshots / User setup / Step 6 Online Accounts

  • Click "Skip" (unless you prefer to set up online accounts here).

Ready To Go

Screenshots / User setup / Step 7 Ready To Go

Getting Started

Screenshots / User setup / Step 8 Getting Stated

Launch Terminal

Screenshots / User setup / Step 9 Launch Terminal

Become root

Become root:

sh su

Update

Update the operating system packages:

sh dnf --assumeyes update dnf --assumeyes upgrade dnf --assumeyes autoremove

Install developer release package

Install the Oracle Linux developer release:

sh dnf install -y oraclelinux-developer-release-el8

Choose database version

Search for the most-recent Oracle database preinstall package for aarch64:

sh dnf search oracle-database-preinstall | grep aarch64

As of 2024-01-01, the most-recent result is oracle-database-preinstall-19c.

Install:

sh dnf install -y oracle-database-preinstall-19c

Download database

Oracle Database 19c for Aarch64 is not currently available via dnf. Instead, we download the database as a zip file.

In the VM, launch Firefox and browse:
https://www.oracle.com/database/technologies/oracle-database-software-downloads.html#db_free

As of 2024-01-01, the most-recent result is LINUX.ARM64_1919000_db_home.zip.

Download it.

Move it to the conventional place:

sh mv LINUX.ARM64_1919000_db_home.zip /tmp/db_home.zip

Make directories

Make directories, set ownerships, and set permissions as per Oracle Database 19c installation guide:

sh mkdir -p /u01/app/oracle mkdir -p /u01/app/oraInventory chown -R oracle:oinstall /u01/app/oracle chown -R oracle:oinstall /u01/app/oraInventory chmod -R 775 /u01/app

Configure Oracle user

Set a password for the oracle user, so we can sign in later:

sh passwd oracle

Set the password to whatever you prefer.

Oracle user

The installation process requires X11 and Xdisplay.

The easiest way of making this work well is to become the correct user:

  1. Sign out of the root user.

  2. Sign in as the oracle user.

Run:

sh mkdir -p /u01/app/oracle/product/19.19/dbhome_1 cd /u01/app/oracle/product/19.0.0/dbhome_1 unzip /tmp/db_home.zip ./runInstaller

Oracle Database 19c installer

Step 1

Screenshots / Oracle Database 19c installer / Step 1

Step 2

Screenshots / Oracle Database 19c installer / Step 2

Step 3

Screenshots / Oracle Database 19c installer / Step 3

Step 4

Screenshots / Oracle Database 19c installer / Step 4

Step 5

Screenshots / Oracle Database 19c installer / Step 5

Step 6

Screenshots / Oracle Database 19c installer / Step 6

Step 7

Screenshots / Oracle Database 19c installer / Step 7

Step 8

Screenshots / Oracle Database 19c installer / Step 8

Step 9

Screenshots / Oracle Database 19c installer / Step 9

Success

Oracle Database is now successfully installed.

To access it:
https://localhost:5500/em

Owner

  • Name: Joel Parker Henderson
  • Login: joelparkerhenderson
  • Kind: user
  • Location: California

Software developer. Technology consultant. Creator of GitAlias.com, NumCommand.com, SixArm.com, and many open source projects.

Citation (CITATION.cff)

cff-version: 1.2.0
title: Demo Oracle Database + Oracle Linux + macOS UTM QEMU
message: >-
  If you use this work and you want to cite it,
  then you can use the metadata from this file.
type: software
authors:
  - given-names: Joel Parker
    family-names: Henderson
    email: joel@joelparkerhenderson.com
    affiliation: joelparkerhenderson.com
    orcid: 'https://orcid.org/0009-0000-4681-282X'
identifiers:
  - type: url
    value: 'https://github.com/joelparkerhenderson/demo-oracle-database-oracle-linux-macos-utm-qemu/'
    description: Demo Oracle Database + Oracle Linux + macOS UTM QEMU
repository-code: 'https://github.com/joelparkerhenderson/demo-oracle-database-oracle-linux-macos-utm-qemu/'
abstract: >-
  Demo Oracle Database + Oracle Linux + macOS UTM QEMU
license: See license file

GitHub Events

Total
  • Push event: 1
Last Year
  • Push event: 1

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 19
  • Total Committers: 1
  • Avg Commits per committer: 19.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 1
  • Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Joel Parker Henderson j****l@j****m 19
Committer Domains (Top 20 + Academic)