Sei sulla pagina 1di 27

7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide

- A dummy guide - AMIS Oracle and Java Blog

TRENDING Performance! 3 reasons to stick to Java 8 for the moment Search... 

HOME AMIS VISION CAREERS @ AMIS EVENTS ABOUT CONTACT

YOU ARE AT: Home » Database » Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside – A dummy guide

ABOUT AUTHOR

Lucas Jellema
Lucas Jellema, active in IT (and with
Oracle) since 1994. Oracle ACE Director
and Oracle Developer Champion. Solution architect and
developer on diverse areas including SQL, JavaScript,
Kubernetes & Docker, Machine Learning, Java, SOA
and microservices, events in various shapes and forms
and many other things. Author of the Oracle Press book
Oracle Database 12c: How to create a Virtual Box VM with  13 Oracle SOA Suite 12c Handbook. Frequent presenter
on user groups and community events and conferences
Oracle Enterprise Linux inside – A dummy guide
such as JavaOne, Oracle Code, CodeOne, NLJUG JFall
and Oracle OpenWorld.
BY LUCAS JELLEMA ON JUNE 29, 2013 DATABASE, ORACLE, ORACLE 12
View all posts

I have a confession to make. I have not been into Linux very much. When I started my career at Oracle, back in 1994, I had to do a
little bit of development work on a UNIX machine. That’s where I acquired from cd, vi, sed, grep and ls skills. But in later years, on FOLLOW US ON LINKEDIN
my own laptop, I took the easy way out and succumbed to Windows and GUIs. Then I started using Virtual Machines and even they
had Windows as their client operating system most of the times. I have occasionally downloaded Linux based VMs from OTN – and
used as the server side in my development efforts quite happily – and I was supplied with such Linux VMs by several very helpful
POPULAR TAGS
colleagues no many occasions, for example for doing the work in the various beta-programs AMIS is involved in. But I was a little
scared of Linux if truth be told. And the idea of creating a virtual machine by myself seemed preposterous.

Agile analytical function apex api application container cloud


Then the world changed. Primarily because of a colleague who in so many words told me to get a grip. And of course he was right.
service Architecture Azure binding BPEL bpm
And the release of Oracle Database 12c on Linux only (!) was another big stimulus. And after a few days of struggling, googling an
frantically asking around, I have managed to get Oracle Database 12c running in Oracle Enterprise Linux 6.4 based Virtual Box VM.
I feel like I am on top of things. And in hindsight – it was not such a big deal. My decade of hesitation was quite unjustified.
cloud container customization

Database deployment docker DVT


In this article I would like to show you how I got over my threshold – that seemed so high from one end and turned out so low from
the other. Here is how you can get a Virtual Box VM going on OEL in less than one hour.
enterprise manager html5 integration iot Java
The steps are:
javascript jms json kafka kubernetes linux
Download and install Virtual Box (nothing special, just run the install wizard)
Download the Oracle Enterprise Linux 6.4 ISO image (3,5 GB) Note: you can pick other Linux distros as well; not however
maven node oracle cloud oracle xml db OSB paas
that Oracle Database 12c and onwards will not be available for 32 bit Linux! performance tuning plsql provisioning puppet push
Create a Virtual Machine in Virtual Box – provide a name, the intended operating system, some details about the initial hard
disk, configure network properties (I am still struggling a bit here) REST saas Scrum security soa sql Vagrant
Attach a new DVD device – based on the ISO image
virtual box visualization websockets XML
Start the new Virtual Machine; the ‘DVD’ will run the installer for OEL
Instruct the installer wizard what to install (include for example the graphical desktop – sorry, I cannot help myself)
Complete the installer
FOLLOW US ON TWITTER
Reboot the VM and login => the new VM is done
Post installation steps
Export appliance to have it available for reuse
Tweets by @AMISnl
In somewhat more detail:
AMIS, stand out in advanced IT! Retweeted

Robert van Mölken


1. Download and install Virtual Box
@robertvanmolken
Hear and see me present in my #Oracle Code Online
sessions about building a #decentralized #blockchain

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 1/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog
g
Go to http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html and download Virtual Box. Then run the application using Oracle's blockchain cloud service via
installer. No special settings are required. community.oracle.com/community/grou…
@ORCLBlockchain @AMISnl

2. Download the Oracle Enterprise Linux 6.4 ISO image Jul 4, 2019

AMIS, stand out in advanced IT!


Go to https://wikis.oracle.com/display/oraclelinux/Downloading+Oracle+Linux and select a mirror to download the ISO image from.
@AMISnl

The latest The AMIS Oracle Technology Weekly!


paper.li/AMIS_Services/… Thanks to @rexpertalliance
@lucasjellema

Just save the file somewhere on your disk.

3. Create a Virtual Machine in Virtual Box Dynamic tabs with Angular 6+ and ng-bootstra…
technology.amis.nl One of our Angular applications
required the use of dynamic tabs. Since the project
paper.li

Jul 8, 2019

AMIS, stand out in advanced IT!


@AMISnl

New Article : Dynamic tabs with Angular 6+ and ng-


bootstrap ift.tt/32cqh3B by Emmy Hermans

Click on New.

Type the name of the new VM and select the operating system for the machine – Linux and Oracle (64 bit) respectively:

Dynamic tabs with Angular 6+ and ng-bootstra…


One of our Angular applications required the use of
dynamic tabs. Since the project already uses ng-
technology.amis.nl

Jul 5, 2019

AMIS, stand out in advanced IT! Retweeted

Conclusion BV
@Conclusion
Ons label @AMISnl deelt al 15 jaar succesvol kennis
op #technology blog technology.amis.nl Van Deep
Tech tot inspirationeel, over business en processen
Met 3100 expertise artikelen lezen dagelijks duizenden
bezoekers hun enthousiousme, bevindingenen ambities
#AMIS #IT
View image on Twitter

Click Next.

Set the memory size (something you can easily adjust after creating the VM):

Jul 5, 2019

AMIS, stand out in advanced IT! Retweeted

Conclusion BV
@Conclusion

Drie keer een acht voor klanttevredenheid End User

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 2/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog
Management (EUM), Application Management (AM) en
Infrastructure Management (IM). Op alle domeinen een
score hoger dan gemiddeld #blijeklanten
#klanttevredenheid #giarte #outsourcingperformance
@Emerce bit.ly/2Xo057b
View image on Twitter

Jul 4, 2019

Embed View on Twitter


Press Next.

Time to define the storage under our new machine. Select the option to create a virtual hard disk now:
META

Log in

Entries RSS

Comments RSS

WordPress.org

Press Next.

Specify Dynamically Allocated – which basically means that the file created on your host to implement this virtual disk will only grow
to its final size when in the VM the disk space is actually allocated.

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 3/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

Press Next.

Provide a Name and specify a Size for the disk. Because of the dynamic allocation, I have now qualms about increasing the size of
the disk a little. This is something you can not adjust later on – even though you can multiple disks to your vm.

Press Next.

The definition of the VM is presented:

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 4/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

Now comes the part I have been struggling with a lot. The network. I have used the following step – yet whenever the host is not on
line, I do not seem to be able to connect to the host from the guest (the vm) or vice versa (connect to the guest from the host). I
have also had the problem that the IP address in the host kept changing all the time – making it also impossible to establish a good
connection from the host to the guest. My instruction here may not be the final answer: click on settings. Go to Network and change
from the default (NAT) to Bridged Adapter:

Open the Advanced section and set Promiscuous Mode to Allow All. Note: the name of the adapter depends on whatever network
adapter is available in host.

By default, the Network adapter is created in NAT configuration. This is OK for client machines, but we want to use our VM as a
server, so we have to change this into the Bridged adapter.

Next, go to the Storage tab.

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 5/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

4. Attach a new DVD device – based on the ISO image

On the storage tab in the settings dialog, you will see the hard disk we have created earlier on. We now also want to specify a DVD
Device. One that is based on the ISO image. This means that the virtual machine will behave as if a DVD player was attached to the
‘computer’ with the Linux Installation DVD loaded and on auto-start. Click on the Add CD/DVD device icon:

Click on Choose Disk in the next dialog:

Select the .ISO file with the OEL 6.4 install image that you downloaded earlier on

The settings dialog is updated with the DVD device:

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 6/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

5. Start the new Virtual Machine

Click on Start

the ‘DVD’ will run the installer for OEL

6. Instruct the installer wizard

aqqq

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 7/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 8/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

Check the checkbox to Connect Automically:

Click Apply.

Click Next.

Select your location (timezone):

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 9/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

Specify the root password:

Click next:

Because we are using a new, fresh hard disk we can just use all space. If you mark the checkbox Review and modify partitioning
layout, you get an overview of how the installer intends to organize the logical volumes and volume groups:

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 10/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

You do not have to make any changes. Click Next, and after the next screen, click next again.

Accept the next dialog – to write changes to disk (as the disk is still fresh and empty):

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 11/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

Select the type of installation, such as Software Development Workstation:

Make sure the following packages are selected under the category Desktops if you want to have the graphical GNome desktop:

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 12/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

Click on Next. The dependencies are checked.

Now the installation will start.

7. Complete the installer and have the installation run

a lot of packages have to be loaded…

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 13/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

For me it took about 20 minutes.

You next enter the post install wizard (no big decisions, mainly the creation of a new (non-admin) user, for example oracle.

Create a new user:

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 14/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

The system will now reboot.

8. First check and Final post installation configuration steps

After starting up, the following dialog is shown:

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 15/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

Click on user oracle and login with the password set up for that user.

Try to run Firefox – using the icon in the top bar:

If it works, the network adapter eth0 is indeed connected.

Disable the firewall – because this will be a local machine that we probably want to be able to access from the host and other virtual
machines:

You may have to provide the root password to perform this operation. In the next screen, click the big disable icon:

and accept (click Yes) the next dialog:

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 16/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

The VM is now set up, ready for use. For example to install Oracle Database 12c – which will be my next step.

Note: Tim suggests a final step: Disable SELinux by editing the “/etc/selinux/config” file, making sure the SELINUX flag is set as
follows. I am not sure what exactly that entails. It may be a good idea.

edit on June 30th 2013:

8b. Configuring the Host-Only Network

Using Marco’s kind suggestions I was able to establish the connection between the host and the guest VM. Like he said, it was
pretty straightforward.

In the Virtual Box Preferences, the Network tab presents information about Host-Only Networks. I added one, but the default one
served me fine.

I inspected the properties of the default adapter:

This IP address, like Marco said, is the address where the guest VM can access the host.

The DHCP Server tab explains how the Virtual Box DHCP Server for the host only networks dispenses IP addresses. By default, it
starts at 192.168.56.101 – the address that will be assigned to the first VM started up with a host only network adapter.

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 17/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

Now on to the configuration of the VM itself. In addition to the first network adapter – set to bridged to allow the VM to access the
rest of the world – a second adapter is set up for the VM. This one is of type Host-only Adapter and refers to the default Virtual Box
Host-Only Ethernet Adapter.

When next the virtual machine is started, I checked the network situation using the ifconfig command:

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 18/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog
The guest VM has been assigned the 192.168.56.101 IP address through its eth1 network connection. This connection by the way
can be checked as well:

and its properties are:

Finally, on my Windows host machine I would like to refer to the VM by hostname rather than IP-address. I have edited the
WINDOWS/system32/drivers/etc/hosts file and added a line for the IP address 192.168.56.101. Note however that if multiple VMs
are started and they are started in a different order, the IP-addresses will be allocated differently.

After saving this file, I started a new command line window and pinged for host orcl12c:

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 19/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

9. Install Guest Additions

Some interesting interactions between host and Virtual Box vm are available when the Guest Additions are installed in the Linux VM.
This can easily be done using the following procedure.

In the Virtual Box Devices menu, select the option to Install Guest Additions. This will make Virtual Box attach a DVD device to the
VM that will then popup and propose autorun. Accept all dialogs to make the guest additions enabled in the VM.

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 20/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

Now you can enable a shared clipboard between guest and host:

10. Export the VM appliance, to have it available for reuse

The VM we have constructed now, is a perfect starting point for future environment, such as Oracle Database, various Oracle FMW
components, Java EE 7 development work etc.

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 21/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 22/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog
Progress indication is a little flexible..

The final result is a reusable, shippable file:

Resources

Download VirtualBox: http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html.

How to Install Oracle VM VirtualBox and Create a Virtual Machine – http://www.thegeekstuff.com/2012/02/virtualbox-install-create-


vm/

Downloading Oracle Linux – https://wikis.oracle.com/display/oraclelinux/Downloading+Oracle+Linux. One of the mirrors where ISO


image for OEL 6.4 can be downloaded: http://ftp5.gwdg.de/pub/linux/oracle/OL6/U4/x86_64/

Install Oracle Enterprise Linux in Oracle Virtual Box VM – https://blogs.oracle.com/jaapr/entry/sun_ray_server_on_oracle

Using VirtualBox Host-only Networking to run servers in your lap –


https://blogs.oracle.com/fatbloke/entry/virtualbox_vms_with_multiple_vnics

Tim Hall’s instruction on installing Oracle Linux 6: http://www.oracle-base.com/articles/linux/oracle-linux-6-installation.php

Tim Hall’s instructions on installing Oracle Database 12c on top of Oracle Enterprise Linux 6: http://www.oracle-
base.com/articles/12c/oracle-db-12cr1-installation-on-oracle-linux-6.php

Related posts:

1. A short guide to networking in Virtual Box with Oracle Linux inside.


2. Oracle Database 12c: quickly create a virtual machine with OEL 6.4 and Oracle Database 12c (for dummies)
3. Getting my hands on a Virtual Machine with Oracle Database 12.1.0.2 Enterprise Edition – 20-30 minutes from start
to finish
4. Installation of Oracle Enterprise Linux on VMWare
5. Fastest way to a Virtual Machine with JDeveloper 12.1.3 and Oracle Database XE 11gR2 – on Ubuntu Linux 64 bit

dummy host-only network how-to linux oel oracle enterprise linux virtual box

ABOUT AUTHOR

LUCAS JELLEMA   

Lucas Jellema, active in IT (and with Oracle) since 1994. Oracle ACE Director and Oracle
Developer Champion. Solution architect and developer on diverse areas including SQL,
JavaScript, Kubernetes & Docker, Machine Learning, Java, SOA and microservices, events in
various shapes and forms and many other things. Author of the Oracle Press book Oracle SOA
Suite 12c Handbook. Frequent presenter on user groups and community events and conferences
such as JavaOne, Oracle Code, CodeOne, NLJUG JFall and Oracle OpenWorld.

RELATED POSTS

JUNE 17, 2019 0 APRIL 19, 2019 0 APRIL 14, 2019 0

Upgrade Failure as Blessing in Creating a Report of available Extremely convenient way to


Disguise? ASM candidate disks from the run free Oracle Database 18c on

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 23/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog
OEM Repository your laptop – or anywhere else
– using Vagrant & Virtual Box

13 COMMENTS

RAVI NANDIGAM on AUGUST 21, 2015 14:09

Superb post. Your detailed steps saved a lot of time for me in the process of OEL setup.

DEEPAK RAY on FEBRUARY 5, 2015 19:42

Wonderful post… I was able the do the installation and configuration without any issue.. Thanks a lot..

SURESH on AUGUST 30, 2014 06:35

I have been trying to install Linus on Virtual machine by seeing videos, But I could do that with your step by
step post. Thanks a lot.

SRIKANT on AUGUST 24, 2014 05:44

Hi Lucas
Nice post.
Do you have the similar instructions for oracle soa 12c VM, i tried installing but ran into several problems with
my machine. It would be great if you have time to share it.
thank you
Srikant

LUCAS JELLEMA on AUGUST 24, 2014 06:26

Hi Srikant,
Thanks for your reaction. I have leveraged the work done by Edwin Biemond – in a similar
fashion – for creating a SOA Suite 12c environment. Using Vagrant and Puppet and the work
done by Edwin, it is dead easy to get a full blown SOA Suite 12c environment. Please see this
article for details: Rapid creation of Virtual Machine(s) for SOA Suite 12.1.3 server run time
environment – leveraging Vagrant, Puppet and Biemond

HALIL on AUGUST 19, 2014 15:39

Wonderful post, thank you very much

JOHNNIE TAUZIE on AUGUST 16, 2014 12:28

Lucas, You are a good guy to spend time with, Big Up.

RAVI KISHORE on JUNE 21, 2014 15:58

Absolutely shaking explanation Lucas – i tried and installed the above on virtual box 6.5 version without a
single error. But before going through this article. Lucas we met in Hyderabad once during your visit to India
related to Oracle Tour. I am following your books videos and other oracle stuff since then. I gone through the
SOA book aswell. Thanks Lucas once again.

LUCAS JELLEMA on JUNE 21, 2014 16:00

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 24/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog
Hi Ravi,
Thanks for your very kind words! I remember our conversation in Hyderabad. It was important
since your remarks helped me decide to start writing the SOA Suite 12c Handbook after all. By
now, I am about half way through writing it. Thank you for that stimulus.
warm regards
Lucas

COOLATSA on AUGUST 10, 2013 12:02

Thank you so much for this howto, very helpfull !!!

SUNIL on JULY 3, 2013 16:01

I have done a full installation http://kickass.to/oracle-12c-linux-64-virtual-machine-image-t7574823.html

LUCAS JELLEMA on JUNE 30, 2013 14:06

Thanks Marco for your kind words and you excellent explanation of the host-only network. I have tried it out
and it works like a charm. I have subsequently updated the article based on your suggestion and my
findings.
Lucas

MARCO GRALIKE on JUNE 29, 2013 13:31

Great post Lucas!


Although a newbie experience, lots of us struggle with the network bit of VirtualBox the first time around.
What you can do to create a static TCP/IP connection for the outside world is to ADD a second network
adapter with “Host Only-Adapter” which enables you to connect (if it is the first VM machine to get started) to
create an outside connection to you VM environment on TCP/IP connection on TCP/IP address 10.0.1.10
For example via a putty session or via my iTerm Apple console while using:

ssh oracle@10.0.1.10
JDBC connections etc, work also for that host tcp/ip number. For more on VirtualBox network settings and
configuring of those see:
http://christophermaier.name/blog/2010/09/01/host-only-networking-with-virtualbox
Most of the time I have 2 network adapters configured: Adapter 1, Bridged, Adapter 2, Host-only.
Network adapter defaults are configured in the main menu. My host-only adapters are configured on my iMac
with the following settings:

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 25/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 26/27
7/11/2019 Oracle Database 12c: How to create a Virtual Box VM with Oracle Enterprise Linux inside - A dummy guide - AMIS Oracle and Java Blog


   

https://technology.amis.nl/2013/06/29/how-to-create-a-virtual-box-vm-with-oracle-enterprise-linux-inside-a-dummy-guide/ 27/27

Potrebbero piacerti anche