By Franck Pachot

.
If SQL Server, the database for GUI fans, goes to Linux then Oracle, the database for command line fans, can go to Windows. Ok, that’s not new. But I’m not talking about the Windows with media player, animated icons, and The Microsoft Hearts Network. A real server: Windows Server Core. Actually, this is the first time I run something on Windows Core. Is it only command line? Is it hard to set? Do we have to leave those amazing GUIs like netmgr? Let’s try.

The installation starts as another Windows Server 2012R2 installation
VirtualBox_Windows 2012 Server Core_10_06_2016_14_00_02

The beauty of Windows. There is one button. You have a mouse. Just click on that central button.

VirtualBox_Windows 2012 Server Core_10_06_2016_14_00_14

I choose the ‘Core’ installation, with the hope I’ll not need PowerShell to configure it.
VirtualBox_Windows 2012 Server Core_10_06_2016_14_00_57
I’m installing on brand new VirtualBox VM
VirtualBox_Windows 2012 Server Core_10_06_2016_14_02_36
I provision a 30GB disk but need only half of them.
VirtualBox_Windows 2012 Server Core_10_06_2016_14_02_42
Installation is going…
VirtualBox_Windows 2012 Server Core_10_06_2016_14_09_16
And I’m ready to log in.
VirtualBox_Windows 2012 Server Core_10_06_2016_14_17_07

This is the end of the GUI: I’ve only a command line window.

VirtualBox_Windows 2012 Server Core_10_06_2016_14_19_53

I have to setup the network. Easy thanks to sconfig:

VirtualBox_Windows 2012 Server Core_10_06_2016_15_00_25

So… How will I install Oracle? On linux, I can run the runInstaller in silent mode. But here it’s setup.exe

VirtualBox_Windows 2012 Server Core_10_06_2016_15_02_07

Great. Windows Core Server has no GUI for the system but GUI applications can run !

VirtualBox_Windows 2012 Server Core_10_06_2016_15_29_51

I can install the software. and then run DBCA

VirtualBox_Windows 2012 Server Core_10_06_2016_15_59_27

Let’s start the listener

VirtualBox_Windows 2012 Server Core_10_06_2016_16_49_42

and connect to it (I had to disable the firewall with

netsh advfirewall set allprofiles state off

)

VirtualBox_Windows 2012 Server Core_10_06_2016_16_59_99

Here it is. Easy to install and run Oracle Database on a Windows Server without all the overhead of those playful accessories. Yes, Microsoft Windows can be a real server. Is there any reason to run a database on something else than the Core installation?