Quick Install Guide

From Outrun Wiki
Jump to: navigation, search

Overview

Outrun 0.9 Quick Install guide

This guide shows the steps to install Outrun with a minimal Oracle database (version 11.2.0.4.0) on VMware Workstation.

Preparations:

  • Outrun ISO image "outrun-0.9-2.iso" available to be used as VMware Virtual CD Image
  • Oracle RDBMS software, in one of 2 forms:
    • Oracle ISO image "ora-64-112040.iso" to be used as virtual CD image (created from Oracle ZIP files)
    • 3 Oracle ZIP files to be downloaded (requires Oracle support login)
  • Secure Shell client available to connect to the virtual machine
  • FTP client available to connect to the virtual machine

Which clients depend on your host system. For Windows, MobaXterm and FileZilla are available after setup from ftp://<ip-address>/tools/

Creating the Virtual Machine

  1. Create a Virtual Machine:
    1. Choose "I will install the Operating System later"
    2. Guest Operating System: Red Hat Enterprise Linux 6 64-bit
    3. Number of processors and cores: 1
    4. Memory 5120MB
    5. Use Network Address Translation (NAT)
    6. SCSI Controller LSI Logic
    7. Virtual Disk Type: SCSI
    8. Disk size: 32 GiB / Allocate all diskspace now
  2. Edit the VM's VMX file and add the following line:
    Disk.enableUUID = "TRUE"
  3. Add an extra disk of 8GiB (using "allocate all disk space now")
  4. Mount the Outrun ISO image on the virtual CDrom

Installing Linux & Outrun

  1. Boot the machine. You should see the boot menu:
    Error creating thumbnail: File missing
  2. Select "Install Outrun System" or wait for the timeout (it will start installing automatically)
  3. Wait for the postinstall process to complete. The login prompt should show "Outrun for Oracle 0.9 on CentOS release 6.6 (Final)"
  4. Login as root
  5. Start the menu menu
  6. In menu Networking:
    1. set Auto Hostname to "OFF" and set the hostname manual to "outrun"
    2. set DNS Spoof to "ON"
  7. Restart networking via the networking menu
  8. Note the IP address in the status window.

Install Oracle

  1. Log in as root via a remote SSH shell (ssh root@<ipaddress>)
  2. Start the menu again
  3. Verify that you see the hostname "outrun.local"
  4. Go to menu System
  5. Run "Install Oracle package"
  6. Exit the menu and restart it (workaround for an open issue, it reloads the newly installed Oracle menu)
  7. Enter the menu "Install"

If you have the "ora-64-112040.iso" file available, continue. Otherwise, create the image first.

Creating the ISO image
You only need to do this once even if you install Outrun many times.
  • Download from Oracle's Support website the following files:
p13390677_112040_Linux-x86-64_1of7.zip
p13390677_112040_Linux-x86-64_2of7.zip
p13390677_112040_Linux-x86-64_3of7.zip
  • Upload the files to the Outrun FTP server (ftp://ip-address/incoming, use an FTP client for this such as FileZilla, browsers don't upload)
  • Go to main menu - Install and select ISO (Create Oracle ISO CD image)
    • Select the required version: 11.2.0.4.0
    • Select Create and wait a few minutes for the process to complete
  • Download ora-64-112040.iso from ftp://ip-address/incoming
  • Using the FTP client, remove all files from the incoming folder (to free up space for Oracle installation)

Continue the Install process

  1. Mount the Oracle ISO image "ora-64-112040.iso" on the VMware Virtual CDROM
  2. Select "CDROM" (Mount CDROM local CD drive)
  3. Verify that the status window shows "CD Mounted: YES" and "Install CD version: 11.2.0.4"
  4. Verify that the status window shows "Preinstall: OK" (if it shows WARNING you may also continue)
  5. Select response file (menu Response) "11.2" (11.2 EE + Partitioning)
  6. Install both clusterware and database binaries "Both" (Install Grid and DB software)
  7. Configure clusterware for a single instance (menu Single)
  8. Configure ASM (Create ASM instance)

Create ASM diskgroups

  1. Go to main menu - Storage
  2. Add Volume
    1. leave default volume name as "vol1" and submit
    2. Select /dev/sdb (the only option but make sure it's highlighted, and press OK
  3. Check "Disks" and verify that /dev/sdb is reconfigured as /dev/oracleasm/vol1
  4. Go to Main menu - ASM
  5. Show DISKS and verify that "vol1" shows up as candidate
  6. Select Create (diskgroup)
    1. Choose "DATA" as name for the new diskgroup and select Submit
    2. Checkmark [*] vol1 as the volume for the diskgroup, press OK
  7. Choose "List" (List diskgroups) to verify the DATA diskgroup is created (should show up as MOUNTED)

Create Database

  1. Go to main menu - Database
  2. Select Profile "ASM-Minimal" (Minimal ASM - 1 ASM diskgroup)
  3. Select New (Set name for new database)
    1. Set new DB name to "demo", leave password as default "outrun", Submit
  4. Choose "Create" and be patient (creating a database may take a few minutes or more)
  5. Optionally, select "Auto" to restart the database during reboots
  6. Stop and start the database to reload some changed settings