Create VirtualBox Virtual Machine & Install Oracle Linux - Hands-On Experiments for Oracle DBAs
Summary
TLDRThis tutorial series introduces viewers to Oracle technologies, guiding them through setting up an Oracle VirtualBox virtual machine and installing Oracle Linux. Aimed at aspiring or current Oracle DBAs, it covers essential topics like Oracle Database installation, DNS configuration, and Oracle Enterprise Manager. The video demonstrates creating a VM, configuring network settings, and installing Oracle Linux, with a focus on practical, hands-on learning to enhance career prospects and problem-solving skills in real-world scenarios.
Takeaways
- 🖥️ The series 'You, the Oracle Expert' aims to teach Oracle technologies and products such as Oracle RAC, ASM, Exadata, OEM, GoldenGate, Data Guard, and Unix through hands-on experiments.
- 📦 The first tutorial focuses on creating an Oracle VirtualBox virtual machine and installing Oracle Linux OS, essential for those looking to build or enhance their Oracle DBA career.
- 🧠 Staying updated with Oracle technologies and gaining hands-on experience is crucial for building confidence and solving real-world problems, leading to better career opportunities.
- 💾 Before starting, ensure your host computer has at least 50GB of free space, 16GB of RAM, a multi-core processor, and virtualization enabled in the BIOS.
- ⚙️ The demonstration uses a custom-built server with Windows 10 Professional, featuring dual 8-core Xeon processors, 64GB of RAM, and 1TB of SSD storage for optimal performance.
- 📥 The Oracle VirtualBox software is free to download and straightforward to install, with the latest version being 6.1.
- 🔧 The process involves creating a virtual machine, allocating resources, and configuring settings such as memory, processors, and storage for optimal performance.
- 🌐 Networking setup is crucial, with the tutorial demonstrating how to configure a bridged adapter for the virtual machine.
- 💿 Oracle Linux 7.9 is downloaded and installed on the virtual machine, with guidance on setting up the system, including user accounts and network configurations.
- 🔜 The next tutorial will cover installing VirtualBox Guest Additions, resizing virtual disks, changing IP addresses, creating snapshots, and cloning virtual machines.
Q & A
What is the purpose of the 'Oracle Expert' video series?
-The purpose of the 'Oracle Expert' video series is to educate viewers on Oracle technologies and products, including Oracle VirtualBox, Oracle Linux, and other related software, with a focus on hands-on experiments to help viewers become expert Oracle DBAs.
What are some of the Oracle technologies and products covered in the series?
-The series covers Oracle technologies and products such as Oracle VirtualBox, Oracle Linux, Oracle ASM, Exadata, OEM, GoldenGate, Data Guard, and also Unix.
Why is it important for Oracle DBAs to keep up to date with Oracle technologies?
-It is important for Oracle DBAs to keep up to date with Oracle technologies to build confidence, enhance their skills, achieve a brighter career, get better job opportunities, and to solve real-world problems more effectively.
What are the system requirements for the host computer that will be hosting the virtual machines?
-The host computer should have at least 50 GB of free space, at least 16 GB of RAM, a multi-core processor with at least four logical processors, and the virtualization option enabled in the host's BIOS.
What is the recommended configuration for the virtual machine's network adapter in the Oracle VirtualBox?
-The recommended configuration for the virtual machine's network adapter is to use a bridged adapter, which allows the virtual machine to connect to the network as if it were a separate physical device.
How can one verify if the host is ready to install VirtualBox and create virtual machines?
-One can verify the readiness of the host by checking the Task Manager for the number of logical processors, ensuring the virtualization option is enabled, and confirming sufficient memory and storage capacity.
What is the process for downloading Oracle Linux from Oracle's software download page?
-To download Oracle Linux, one must have an Oracle account, visit edelivery.oracle.com, search for 'Oracle Linux', select the desired version and architecture, accept the terms of use, and download the ISO image using the provided download manager.
What are the steps to create a new virtual machine in Oracle VirtualBox?
-To create a new virtual machine in Oracle VirtualBox, go to 'Machine' > 'New', specify the name and folder for the machine, select the type and version of the operating system, allocate memory, create a virtual hard disk with either dynamic or fixed allocation, and configure the settings as needed.
How can one enable the bi-directional clipboard and drag and drop between the host and the virtual machine?
-To enable the bi-directional clipboard and drag and drop, go to the virtual machine's 'Settings', then 'Advanced', and check the options for both features.
What is the significance of installing Oracle Linux 7.9 in the virtual machine for the tutorial?
-Installing Oracle Linux 7.9 in the virtual machine is significant as it provides a platform to demonstrate the setup and configuration of an Oracle environment, which is essential for learning Oracle DBA skills.
What are some of the topics covered in the next video of the series?
-The next video of the series will cover topics such as installing VirtualBox Guest Additions, resizing a virtual disk, changing the IP address and hostname of a virtual host, creating a virtual machine snapshot, and cloning an existing virtual machine.
Outlines
😀 Introduction to Oracle DBA Training Series
This paragraph introduces the Oracle DBA training series, aimed at teaching Oracle technologies and products such as Rack ASM, Exadata, OEM, Golden Gate, Data Guard, and UNIX, with practical experiments using Oracle VirtualBox. The tutorial series is designed to help viewers build a career as an Oracle DBA or enhance their existing skills. It covers topics like creating an Oracle VirtualBox virtual machine, installing Oracle Linux, and configuring various Oracle services. The presenter emphasizes the importance of staying updated with Oracle technologies for career advancement and problem-solving in real-world scenarios. The video also provides system requirements for the host computer, suggesting at least 50 GB of free space, 16 GB of RAM, and a multi-core processor with virtualization enabled.
🛠️ Setting Up Oracle VirtualBox for Oracle DBA Training
The second paragraph guides viewers through the process of downloading and installing Oracle VirtualBox on a Windows host. It details the steps to access the VirtualBox website, select the appropriate version for the host OS, and follow the installation wizard. The presenter then demonstrates how to create a new virtual machine named 'vm linux one' with specific settings, such as allocating 4 GB of memory and creating a 50 GB virtual hard disk with a fixed size. The paragraph also explains how to configure the virtual machine's properties, including enabling bi-directional clipboard and drag-and-drop, and setting up the network adapter with a bridged connection.
🔍 Configuring Virtual Machine Settings and Downloading Oracle Linux
This paragraph focuses on configuring the virtual machine's system settings, such as memory allocation, boot order, and processor options. It also covers how to enable PAE/NX, which is important for running 64-bit operating systems. The presenter then discusses the display settings, opting for VBox VGA without 3D acceleration. Network configuration is highlighted, with a single bridged adapter being enabled. The paragraph concludes with instructions on how to download Oracle Linux from Oracle's eDelivery website, requiring an Oracle account and navigating through the software download process to select the appropriate ISO image for Oracle Linux 7.9.
💿 Installing Oracle Linux on the Virtual Machine
The fourth paragraph describes the process of installing Oracle Linux 7.9 on the newly created virtual machine. It starts with mounting the downloaded ISO image to the virtual machine's optical drive and launching the installation process. The video script outlines the steps for selecting the installation language, agreeing to the license, and configuring the network settings. It also covers the selection of software packages for installation, choosing a minimal installation with additional components for a virtualization host. The paragraph details setting the host name, root password, and creating a user account, concluding with the initial boot sequence and login to the new Oracle Linux installation.
🔄 Completing the Oracle Linux Installation and Initial Setup
This paragraph details the final stages of the Oracle Linux installation, including accepting the license agreement, configuring the system's locale and time zone, and setting up user accounts. The presenter chooses to keep location services on and skips connecting online accounts, opting to focus on the core installation. The user is guided through setting a username, full name, and password for the initial user account. The paragraph concludes with the first login to the Oracle Linux server and the completion of the basic setup, preparing the system for further configuration and use in the Oracle DBA training series.
📺 Wrapping Up and Inviting Viewers for More Oracle DBA Training
The final paragraph serves as a conclusion to the video, summarizing the installation of Oracle Linux 7.9 on a virtual machine and setting the stage for future tutorials. The presenter expresses hope that viewers found the content useful and encourages them to like and subscribe to the channel for additional Oracle DBA training videos. The paragraph creates anticipation for upcoming topics such as installing VirtualBox guest additions, resizing virtual disks, changing IP addresses and hostnames, creating snapshots, and cloning virtual machines.
Mindmap
Keywords
💡Oracle
💡Oracle VirtualBox
💡Oracle Linux
💡Oracle DBA
💡Virtual Machine
💡Installation
💡Configuration
💡Bi-directional Clipboard
💡Oracle Enterprise Manager (OEM)
💡Oracle Golden Gate
💡Exadata
Highlights
Introduction to the series 'You, the Oracle Expert' focusing on Oracle technologies and products.
Emphasis on the importance of staying updated with Oracle technologies for career growth and problem-solving.
Overview of topics to be covered, including Oracle VirtualBox, Oracle Database 18c/19c, DNS configuration, and more.
Requirements for the host computer: at least 50GB free space, 16GB RAM, multi-core processor, and virtualization enabled.
Demonstration of a custom build server with high capacity configuration for hosting virtual machines.
Instructions on enabling virtualization in the host computer's BIOS based on the motherboard's make and model.
Verification process of the host's readiness for VirtualBox installation through Task Manager.
Step-by-step guide to downloading and installing Oracle VirtualBox from virtualbox.org.
Creation of a new Oracle Linux virtual machine in VirtualBox with specific settings for memory and hard disk.
Explanation of the difference between dynamically allocated and fixed size storage for virtual hard disks.
Configuration of the virtual machine's settings, including system options, processor, and network adapter.
Setting up a shared folder and preferences for input in VirtualBox for ease of use.
Downloading Oracle Linux 7.9 from Oracle's software download page with an Oracle account.
Installation process of Oracle Linux 7.9 on the virtual machine, including software selection and host naming.
Instructions for setting the root password and creating a user account during the installation.
Completion of the Oracle Linux installation with acceptance of the license agreement and initial configuration.
Upcoming tutorial topics in the series, such as installing VirtualBox Guest Additions and managing virtual machine snapshots.
Closing remarks encouraging viewers to like, subscribe, and follow for more educational content.
Transcripts
hello viewers welcome to the series you
the oracle expert
where you will learn oracle technologies
and products
such as rack asm exadata oem
golden gate data guard etc and also unix
with hands-on experiments using oracle
virtualbox and start
your journey towards becoming an expert
oracle dba
in today's tutorial of this series we
are going to learn
how to create an oracle virtualbox
virtual machine
and install oracle linux operating
system
if you have a desire to build your
carrier as an oracle dba with unique
skills
or you are already an oracle dba then
it's really important
to keep yourself up to date with the
oracle technologies
and build your confidence with hands-on
experiments with it
this confidence will not only help you
achieve a brighter career
and get better job opportunities but
also it will help you solve real-world
problems
i am preparing this series of videos to
help you achieve your goal
where we will cover the following topics
oracle virtualbox virtual machine
concepts
oracle database 18c and 19c installation
dns or domain name system server
configuration
oracle enterprise manager or oem 13c
installation
oem target discovery promote and
grouping
oem incident rule sets and alert
configuration
oracle real application cluster physical
standby
snapshot standby and active data guard
golden gate replication both uni or
bi-directional configuring a virtual
exa-data environment
please note that each of these topics
may take one or more episodes
for the covers also i will go into only
that much depth
from where you can then take it forward
for the computer that will be hosting
the virtual machines
you may have windows linux or mac
operating system installed
in this demonstration i am using a
custom build server with windows 10
professional install
before we start please make sure that
your host computer has
at least 50 gigs of free space at least
16 gigs of ram or physical memory a
multi-core processor
with at least four logical processors
from where you can take
one or two processors for the virtual
machines
the virtualization option is enabled in
the host
in this demonstration i am using my
personal server
that i made with very high capacity
configuration
this is a windows 10 professional server
with
two eight core geon processors resulting
in 16 total cores
and with hyper trading enabled it has a
total of 32 logical processors 64 gigs
of physical memory
and at least one terabyte of free space
available on a bunch of solid state
drives
or ssds for better performance
i will explain how i made this home
server for all my gaming
oracle unix practice and media related
needs spending less than 1200 dollars
in a future video you can find how to
enable virtualization option
in your host computer's bios based on
the make and model of your motherboard
of your computer the virtualization
option can be found under advanced tab
if the virtualization option in your
bios is not set
then there is a possibility that going
forward you will encounter issues with
your virtual machines
to verify if your host is ready to
install virtualbox
and create virtual machines right click
on the taskbar
and go to the task manager
then go to the performance tab
click on the cpu where you will be able
to see how many logical processors are
there
in my server you'll be able to see there
are 32 logical processors
and the virtualization option is also
enabled
then go to memory it has around 46 gigs
of
memory in use and around gigs of memory
available making it a total of around 64
gigs
so i have enough capacity in my host
machine
to accommodate multiple virtual machines
so let's start with the oracle
virtualbox virtual machine installation
you can download it free from
virtualbox.org
once you are in the virtualbox.org
website click on the download virtualbox
6.1
which is the latest version of
virtualbox software
then based on your host operating system
select the option here in this
demonstration
i am using the windows hosts click on
that windows host
and it will take a few seconds to
download the installation program
the installation is quite
straightforward once you download the
installation program
just click on the downloaded program and
it will start the
virtual box software installation wizard
let it take all the default settings and
click next
click next again it will temporarily
disable the network interfaces
click yes
and click install
it will ask for confirmation to
install the device software from oracle
corporation
click install
and then click finish so once your
installation is done you will get an
interface like this
this is the oracle virtual box software
console
where we will create our virtual
machines
right now there is no machine and you
have a blank pen
at the left your virtualbox interface
will look a little different than mine
because i already have a bunch of
virtual machines created
and grouped under different titles here
so first we'll create one oracle linux
virtual
machine to do that we'll go to machine
new let's put the name of the new
virtual machine as
vm linux one
and you have to specify the machine
folder where
the virtualbox related files will be
copied
and you can choose the location from
here so i have selected
my d drive which i have created for all
my virtual machines the type will be
linux and the version
will be
oracle 64-bit
click next we'll allocate a memory of
4gb 4096
megabytes
click next we'll create a virtual hard
disk now
click create select the first option
that is the vdi virtualbox disk image
click next there are two options here
how the storage will be allocated to the
virtual disk
dynamically allocated and fixed size if
it is dynamically allocated
so it will be initially created with a
minimal size
and it will be extended as and when
required going forward
but that will compromise the performance
a little so
we will select our option as the fixed
size
and the location of the virtual disk
file will be
as specified earlier d colon virtual
machines
and i'm specifying one folder created
for this particular virtual machine that
is the vm linux one
and uh all the files related to this vm
linux one virtual machine will be
created under the folder
vm linux one then
we'll specify the size of the file as 50
gb
create it will take a couple of minutes
to create
the first disk file
so our first virtual machine is created
with the name vm linux1
and it is created under the group
exadata and
i'll simply drag it to the template
group
and it's under the template group now
now we have to define certain properties
of this virtual machine
before we start installing the operating
system
right now it's a blank virtual machine
without any operating systems installed
so when the virtual machine is selected
click on settings
go to advanced and
we will enable the bi-directional
clipboard and drag and drop
from the host to the virtual machine and
virtual machine to the host
and the snapshot folder it's already
taking the default location
it means whenever we are going to create
any snapshots for this particular
virtual machine that snapshot will be
saved in this
folder if you want you can specify a
different folder
description if you want any description
of this virtual machine you can
write it here this encryption will not
enable this encryption at this time
click on the system options
and it is taking the base memory as we
specified during the
beginning steps as 4gb
the boot order is taking as floppy
optical drive and hard disk
let it take that that way
and all the other options let it take
the default ones
under motherboards go to processor
we'll look at two processors here for
this
virtual machine
let the execution kept 100
and enable
pae nx check this option here
under acceleration let it take the
default options
go to display video memory will be 16 mb
monitor count will be one
and the graphic controller will specify
vbox vga do not enable the 3d
acceleration
and in the storage options it has only
one sata interface with one hard disk
that we created with the 50gb size
audio let it take the default options
then the network this is
a very important part here and
it can take up to four different network
interfaces
and for this virtual machine we will
take only one
the first one will enable network
adapter
and the type of the network adapter will
be bridged
adapter and let it take the name
by default as microsoft network adapter
multiplexer driver
click on the advanced options
adapter type it will take automatically
from the system the promiscuous mode
will be
allow all mac address let it take the
default one
cable connected should be on
and this is what the basic configuration
of the
network adapter all other network
adapters will be
in disable state because we need only
one for this virtual machine
usb let it take the default options
shared folder will define a shared
folder later on
and will keep all the other things as it
is
now click ok just ignore this
warning message below in valid settings
detected because this is basically
saying about the
type of the display that we have
selected here but
we'll stick to our this selection vbox
vga
now before we start first of all go to
preferences
under input select a virtual machine tab
and in the host key combination make
sure that you
select some keys which will help you to
switch between the host machine
and the virtual machine in this
demonstration i am using the left window
button
in my keyboard that is the host key
for me to be able to switch between the
host computer
and the virtual machine so if you want
to change it
simply click on that first clear
whatever is there
if you want to change it then press the
button that you want to be your host key
for example when i cleaned it now it is
none it means no keys have been assigned
now i press the left window button
and the left window button has been
selected as my host key
click ok and now we are going to
download oracle linux
from oracle corporation we will go to
oracle's
software download page which is
edelivery.oracle.com
i have given the link to this url in the
description of this video below
and to be able to download oracle
software you must have an account
created with oracle
you sign in with your account and then
in the search box we will put
oracle linux click search
it will give you a list of downloadable
oracle linux iso images
and from here we'll select the oracle
linux 7.9
and it will be added to your queue
then click continue
and in the next page select
the x8664 bit version of this oracle
linux 7.9
and click continue
you have to accept the terms of uses
click continue and it will ask for a
survey
you can simply submit your survey or you
can do it later on
in this space we'll get a lot of options
to install the oracle linux
7.9 we are mainly interested on the
first one
here that says oracle linux release 7
update 9
for x8664 with 4.5 gigs
we'll uncheck all the other boxes here
and select only the first one
click download
and it will download a small program
called
download manager we'll click that
and it will simply ask for the download
location by default it will be your
system's download folder
click next it will take a couple of
minutes to download 4.5 gigs of data
and your download is complete now to
install oracle linux on our virtual
machine we'll select the virtual machine
then go to settings
then go to storage and if you see
that this controller is the first one is
the optical this controller is empty and
here
we will select the downloaded iso image
of
oracle 7.9
this is the file that we downloaded the
first one
click open
and then click ok
and you can simply start
the virtual machine
so this screen is simply asking you to
map your optical device with the virtual
machine
so this is actually the f drive in my
system
so else it is by default selected i'll
simply
click start
the reason behind the error message just
we have seen
is because we mapped the optical drive
after
selecting the iso image so the iso image
was actually cleaned up from here
so all you need to do is to select it
again
now this is populated again
and then we will start installation of
the
oracle linux 7.9 in our partial machine
in this screen it will ask for
confirmation about installation of
oracle linux 7.9
and we will select the first option you
can navigate between the options using
the
up and down arrow buttons in your
keyboard so i selected the first option
install oracle linux 7.9 and press
enter
let's maximize the window
please note that we maximize only the
parent window
but the actual virtual machine window is
still a very small one and we'll fix
this by installing
virtualbox guest additions after our
installation is complete
i will select english united states
it is selected by default and one more
thing i would like to mention here is
when you click
inside this window you are actually
clicking on the virtual machine
so you will not be able to click outside
of this window once you are inside
in my machine the key that will help me
to go out of this virtual machine or
take control to the host machine is the
windows key in my keyboard
and if i click again inside of the
virtual machine then this mouse is
kind of imprisoned between this window
now we'll
simply click continue it will gather
some information and take a couple of
seconds
where we see some kind of exclamation
marks it means it's still working on
that
so installation source has been selected
software selection we have to select the
software options here
and the installation destination
we'll go to the installation destination
and we'll select
our 50 gb virtual hard disk that we
created
click again so that this check mark
comes there
then click done
under software selection will select
everything except the dns name server
and email server
let's go to the minimal installation tab
select everything infrastructure
accept dns and email
we'll select everything file and print
server
let's select everything basic web server
we don't need to install mariadb
let's select everything else
now the postgresql database client is
not needed
let's select the python and web servlet
engine
virtualization host select everything
under this we have already selected
everything and accept dns name server
and email server
click done the next thing we need to do
is to set a name for the host
let's put the host name as
vm linux 1
all in small letters
and enable the ethernet connection
and it has taken an ip addresses 192 168
157
click done
let it complete the remaining tasks of
checking the software dependencies
and installation source
now begin installation
and when the installation is in progress
we can set the root password here
see the root password will be the same
as the host name
just for simplicity and you can change
it later on
so the root password will be vm
linux 1 vm
linux 1. as we set
a very weak password here it's
complaining about
its complexity and just asking us to
confirm that we accept this weak
password
click done and done again
and at this time we will not create any
additional users
because we can anyway take care of that
later on and let the installation
proceed
after the first reboot it will ask for
accepting the license agreement
click on license information
scroll down to the end check that i
accept
check box and click done
then click on finish configuration
so english united states is selected by
default
you can switch off the location services
if you want i'm keeping it on
then the time zone it is selected as new
york
united states you can select your time
zone accordingly
click next
connect your online accounts you don't
have to do that now and you can skip
it
and here you have to specify your
username
full name and the username say i'm
putting my name here
and username will be the same
and click next password
click next and click on the start using
oracle linux server
and it will take a couple of seconds to
give you the initial screen
we'll simply close this first window
and here is your new virtual box virtual
machine
with linux 7.9 installed in the next
video of this series we will learn how
to install virtualbox guest additions
to extend its capabilities resize a
virtual disk
change the ip address of a virtual host
and its hostname create a virtual
machine snapshot cloning an existing
virtual machine etc
so viewers i hope you enjoyed the video
and found it useful
and if you did please hit the like
button and subscribe to my channel
for more similar videos
تصفح المزيد من مقاطع الفيديو ذات الصلة
How to Install Windows Server 2019 in VirtualBox (Step By Step Guide)
ZFS HA marketplace image in OCI
Create Advance PDF Reports in Oracle APEX Comprising Grouping | Chart | Pivot Table - Part 33
Beginner's Guide to Oracle APEX
Basic Configuration tasks in Windows Server 2019
How to Upload PDF, Audio, Video, and other Documents in Oracle APEX - Part 9
5.0 / 5 (0 votes)