oracledba.help
SpecialTopics

VirtualBox 7 Install Session

Oracle VirtualBox 7

Change values as required for your environment.

DL latest version files.

 - Oracle VirtualBox Base Packages - 7.n.n (7.1.8)
 - Oracle VirtualBox: Base package source code and Extension Pack
 - VBox GuestAdditons

Prerequisites

- MS Visual C++ 2019 Redistributable Package.

Run Installer

Run VirtualBox-7.1.8-168469-Win.exe:

  - Accept License Agreement: [Next]
  - Accept Defaults: [Next]
  - Warning: Network Interfaces: [Yes]
  - Missing Dependencies (Python...): [Yes]
  - Options (accept defaults): [Next]
  - Ready: [Install]
    -- If disconnected, reconnect.
  - Oracle VirtualBox installation is complete.
    [ ] Start Oracle...
    [Finish]
  - [Close]    

Install Extension Pack

 - Right-clik, Open: Oracle_VirtualBox_Extension_Pack-7.1.8.vbox-extpack
 - [Install]
 - Accept VirtualBox Extension Pack...: [I Agree]
 - [Expert Mode]
 - [Close]

Create OEL 8 VM -> New

  1. Press Right-Ctrl to be able to move mouse outside VM.
  2. Use default values for everything except specfied.
 Name and Operating System
 - Name: OEL8_BaseInstall
 - Folder: D:\VirtualBoxes
 - ISO: F:\sw\iso\OracleLinux\OL85.iso
   [x] Skip Unattended Installation

 Hardware
 - Base Memory: 12,288 MB
 - Processors: 2
 - Hard Disk
   -- 128 GB
 - [Finish]

 Settings
 - General
   -- Advanced: Shared Clipboard: Bidirectional
                Drag 'n' Drop:    Bidirectional
 - System
   - [ ] Floppy
 - Display
   Video Memory: 128 MB
   [x] Enable 3D Acceleration
 - Storage, Audio, Serial, User Interface, USB
   Use defaults (leave as-is)
 - Network
 Adapter 1
   [x] Enable Network Adapter
   Attached to: NAT
 Adapter 2
   [x] Enable Network Adapter
   Attached to: Host-only Adapter
   Promiscuous Mode: Allow All
 Adapter 3
   [x] Enable Network Adapter
   Attached to: Internal Network
   Name: pubnet
   Promiscuous Mode: Allow All
 - Shared Folders
   + {folder icon}
   F:\sw: ☑ Auto-mount

Linux OS Install

Start

  - Install OS as normal.
  ...
  - [Reboot System]
  - Login as root, next through initital screens.
  - Power off
  - Clone OS (just in case - can deleted after Guest\Add installed).

Install Guest Additions (OEL 8 or later)

 0. Make sure in Settings\General: Advanced -> Shared Clipboard = Bidirectional
 1. Update Linux
    Set /etc/resolv.conf
    yum repolist
    yum search release-el8 
    yum update -y
 2. Reboot.
 3. yum -y install kernel-uek-devel-`uname -r`
 4. Unmount any .iso disks.
 5. Mount\run the latest Guest Additions version .iso (ex: 7.1.8).

Comments

 D:\VirtualBoxes
 *.vbox
 *.vdi

 Linux Version
 cat /etc/system-release
 Oracle Linux Server release 8.10

 Pre-Expand File System
 So does not happen during install or DB creation.
 dd if=/dev/zero of=/tmp/zTmpfile.dat bs=1M count=10240 status=progress
 ls -l /tmp/zTmpfile.dat
 rm /tmp/zTmpfile.dat

Windows 2016

• Windows 2016
  NEW
  https://oracledba.help/index.php/SpecialTopics/VirtualBox6#baseline

  SETTINGS
    General
       • Advanced: Shared Clipboard: Bidirectional
    Hardware
      Base Memory: 9216mb
      • ☐ Floppy (disable)
      • Pointing Device: USB Tablet (to fix bug where mouse disappears)
      • Processors: 2 (minimum for RAC 4).
    Hard Disk: 100 GB
    Video Memory: 128mb
       Display: Default is VMSVGA
                [ ] Enable 3D Acceleration  <-- Important on latest VBox!      
    Controller: IDE  ->  Optical Drive: ->  <Choose Linux ISO for Install>
    Folders: F:\sw: ☑ Auto-mount
    -----------------------------------------------------------------------
    Adapter 1
      [x] Enable Network Adapter
      Attached to: NAT
    Adapter 2
      [x] Enable Network Adapter
      Attached to: Host-only Adapter
      Promiscuous Mode: Allow All
    Adapter 3
      [x] Enable Network Adapter
      Attached to: Internal Network
      Name: pubnet
      Promiscuous Mode: Allow All

  START
  - Accept Language, Time, Keyboard [Next]
  [Install Now]
  - Windows Server 2016 Standard (Desktop Experience) x64
  - License, Accept
  - Custom: Install Windows only (advanced)
  - Where...install Windows?
    Select: Drive 0 Unallocated Space
    [Next]

    Process runs... 3:15
      - Copying...
      - Getting files...
      - Installing features... 
        [Restart]

      - User name: [Administrator]
        Password...must be changed
          [Ok]      
          ******** [tab]
          ******** [Enter]
          [Finish]
      - Login -> Menu Input...Keyboard...Insert: Ctrl-Alt-Del

      - Remove Optimal Drive
      - Load Guest Editions ISO

        -- This PC ... 
           View: File Extentions
           D: VirtualBox Guest Additions: 
              VBoxWindowsAdditions.exe
              Right-Click...RunAs Administrator...[Install]
        -- (x) Reboot Now

        C-L-O-N-E



Disable via Server Manager Settings
---------------------------------------------------------------------------
Open Server Manager.

In the top-right corner, click "Manage" > "Server Manager Properties".

Check the box that says:

"Do not start Server Manager automatically at logon"

Click OK.

Alma 9.x

Create Alma 9 VM -> New
 >> Use default values for everything except specfied.

Name and Operating System
- Name: Alma96_BaseInstall
- Folder: D:\VirtualBoxes
- ISO: F:\sw\iso\OracleLinux\Alma96.iso
  [x] Skip Unattended Installation

Hardware
- Base Memory: 12,288 MB
- Processors: 2
- Hard Disk
  -- 128 GB
- [Finish]


Settings
 - General
   -- Advanced: Shared Clipboard: Bidirectional
                Drag 'n' Drop:    Bidirectional
 - System               
   - [ ] Floppy
 - Display
   Video Memory: 128 MB
   [x] Enable 3D Acceleration    ???? 10/27 did not choose this as remember had to disable to get ORacle GUI working in v8.

 - Storage, Audio, Serial, User Interface, USB = 
   --> Use defaults - leave as-is.

 - Network
   Adapter 1
    [x] Enable Network Adapter
    Attached to: NAT

  Adapter 2
   [x] Enable Network Adapter
   Attached to: Host-only Adapter
   Promiscuous Mode: Allow All

  Adapter 3
   [x] Enable Network Adapter
   Attached to: Internal Network
   Name: pubnet
   Promiscuous Mode: Allow All

 - Shared Folders
   + {folder icon}
   F:\sw: ☑ Auto-mount


====================================================================================================

Note: Press Right-Ctrl to be able to move mouse outside VM.

Start
  - Install OS as normal.

    >>> Terminate Plymouth Boot Screen = paused there about 3 min
  ...
  - [Reboot System]
  - Login as root, next through initital screens.
  - Power off
  - Clone OS (just in case - can deleted after Guest\Add installed).

Install Guest Additions (OEL 8 or later)
 0. Make sure in Settings\General: Advanced -> Shared Clipboard = Bidirectional
 1. Update Linux
    Set /etc/resolv.conf
    yum repolist
    yum search release-el9 
    yum update -y
 2. Reboot.
 3. Unmount any .iso disks. (should already be unmounted)
 4. Mount\run the latest Guest Additions version .iso (ex: 7.1.8).
 5. Shutdown. Then manually start.

 yum install s-nail

 NTP = 10.7.109.203 



 D:\VirtualBoxes
 *.vbox
 *.vdi

 F:\sw



 cat /etc/system-release
 Oracle Linux Server release 8.10

dd if=/dev/zero of=/tmp/zTmpfile.dat bs=1M count=10240 status=progress
ls -l /tmp/zTmpfile.dat
rm /tmp/zTmpfile.dat

Redhat 9.x

Create RH 9 VM -> New
 >> Use default values for everything except specfied.

Name and Operating System
- Name: RH96_BaseInstall
- Folder: D:\VirtualBoxes
- ISO: F:\sw\iso\OracleLinux\RH96.iso
  [x] Skip Unattended Installation

Hardware
- Base Memory: 12,288 MB
- Processors: 2
- Hard Disk
  -- 128 GB
- [Finish]


Settings
 - General
   -- Advanced: Shared Clipboard: Bidirectional
                Drag 'n' Drop:    Bidirectional
 - System               
   - [ ] Floppy
 - Display
   Video Memory: 128 MB
   [x] Enable 3D Acceleration    ???? 10/27 did not choose this as remember had to disable to get ORacle GUI working in v8.

 - Storage, Audio, Serial, User Interface, USB = 
   --> Use defaults - leave as-is.

 - Network
   Adapter 1
    [x] Enable Network Adapter
    Attached to: NAT

  Adapter 2
   [x] Enable Network Adapter
   Attached to: Host-only Adapter
   Promiscuous Mode: Allow All

  Adapter 3
   [x] Enable Network Adapter
   Attached to: Internal Network
   Name: pubnet
   Promiscuous Mode: Allow All

 - Shared Folders
   + {folder icon}
   F:\sw: ☑ Auto-mount


====================================================================================================

Note: Press Right-Ctrl to be able to move mouse outside VM.

Start
  - Install OS as normal.

    >>> Terminate xxx boot screen = paused there a while (I might have hit a key and it continued)
  ...
  - [Reboot System]
  - Login as root, next through initital screens.
  - Power off
  - Clone OS (just in case - can deleted after Guest\Add installed).

Install Guest Additions (OEL 8 or later)
 0. Make sure in Settings\General: Advanced -> Shared Clipboard = Bidirectional
 1. Update Linux
    Set /etc/resolv.conf
    yum repolist
    yum search release-el8 
    yum update -y
 2. Reboot.
 3. yum -y install kernel-uek-devel-`uname -r`
 4. Unmount any .iso disks.
 5. Mount\run the latest Guest Additions version .iso (ex: 7.1.8).

 D:\VirtualBoxes
 *.vbox
 *.vdi

 F:\sw



 cat /etc/system-release
 Oracle Linux Server release 8.10

dd if=/dev/zero of=/tmp/zTmpfile.dat bs=1M count=10240 status=progress
ls -l /tmp/zTmpfile.dat
rm /tmp/zTmpfile.dat