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
Repository
Demonstration of Oracle Database + Oracle Linux + macOS UTM QEMU
Statistics
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
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.
Create VM
Launch UTM.
Welcome

- Choose "Create a New Virtual Machine".
Start

- Choose "Virtualize".
Operating System

- Choose the Custom area "Other".
Other

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

Memory: 8192 (or whatever you prefer)
CPU Cores: 2 (or whatever you prefer)
Storage

- 64 GB (or whatever you prefer)
Shared Directory

- Leave blank (or set it if you prefer)
Summary

- Click "Save".
Play

- Click the play icon.
Install

- Choose "Install Oracle Linux 8.9.0"
Configure VM
Install

Choose the language and locale:
- Choose English and United States (or whatever you prefer).
Installation Summary

The next steps below will configure these:
Installation Destination
Network & Host Name
Create Root
Create User
Installation Destination

Network & Host Name

Create Root

Create root account:
Check the box to create a root account.
Set the password to "changeme123XYZ!" (or whatever you prefer).
Click "Done".
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

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

After the setup, you should see a message such as "Oracle Linux installation is successful".
- Click the button "Reboot System".
Eject & 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
rebootthen press return.
Initial Setup

License Information

After the reboot:
You should see a license choice.
Accept the license.
Click "FINISH CONFIGURATION".
License Accepted

Login
Choose User

You should see a typical Linux login screen.
Click "user".
Enter User Password

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

Typing

Privacy

Online Accounts

- Click "Skip" (unless you prefer to set up online accounts here).
Ready To Go

Getting Started

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:
Sign out of the
rootuser.Sign in as the
oracleuser.
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

Step 2

Step 3

Step 4

Step 5

Step 6

Step 7

Step 8

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
- Website: http://www.joelparkerhenderson.com
- Repositories: 319
- Profile: https://github.com/joelparkerhenderson
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
Top Committers
| Name | Commits | |
|---|---|---|
| Joel Parker Henderson | j****l@j****m | 19 |