{
  "date": "2016-06-10T18:45:43",
  "slug": "oracle-on-windows-server-core",
  "link": "https://www.dbi-services.com/blog/oracle-on-windows-server-core/",
  "title": {
    "rendered": "Oracle on Windows Server Core"
  },
  "content": {
    "rendered": "<h2>By Franck Pachot</h2>\n<p>.<br />\nIf SQL Server, the database for GUI fans, goes to Linux then Oracle, the database for command line fans, can go to Windows. Ok, that&#8217;s not new. But I&#8217;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&#8217;s try.<br />\n<!--more--><br />\nThe installation starts as another Windows Server 2012R2 installation<br />\n<a href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_14_00_02.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_14_00_02.png\" alt=\"VirtualBox_Windows 2012 Server Core_10_06_2016_14_00_02\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-9095\" /></a></p>\n<p>The beauty of Windows. There is one button. You have a mouse. Just click on that central button.</p>\n<p><a href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_14_00_14.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_14_00_14.png\" alt=\"VirtualBox_Windows 2012 Server Core_10_06_2016_14_00_14\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-9096\" /></a></p>\n<p>I choose the &#8216;Core&#8217; installation, with the hope I&#8217;ll not need PowerShell to configure it.<br />\n<a href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_14_00_57.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_14_00_57.png\" alt=\"VirtualBox_Windows 2012 Server Core_10_06_2016_14_00_57\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-9097\" /></a><br />\nI&#8217;m installing on brand new VirtualBox VM<br />\n<a href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_14_02_36.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_14_02_36.png\" alt=\"VirtualBox_Windows 2012 Server Core_10_06_2016_14_02_36\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-9098\" /></a><br />\nI provision a 30GB disk but need only half of them.<br />\n<a href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_14_02_42.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_14_02_42.png\" alt=\"VirtualBox_Windows 2012 Server Core_10_06_2016_14_02_42\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-9099\" /></a><br />\nInstallation is going&#8230;<br />\n<a href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_14_09_16.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_14_09_16.png\" alt=\"VirtualBox_Windows 2012 Server Core_10_06_2016_14_09_16\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-9100\" /></a><br />\nAnd I&#8217;m ready to log in.<br />\n<a href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_14_17_07.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_14_17_07.png\" alt=\"VirtualBox_Windows 2012 Server Core_10_06_2016_14_17_07\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-9101\" /></a></p>\n<p>This is the end of the GUI: I&#8217;ve only a command line window.</p>\n<p><a href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_14_19_53.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_14_19_53.png\" alt=\"VirtualBox_Windows 2012 Server Core_10_06_2016_14_19_53\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-9102\" /></a></p>\n<p>I have to setup the network. Easy thanks to sconfig:</p>\n<p><a href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_15_00_25.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_15_00_25.png\" alt=\"VirtualBox_Windows 2012 Server Core_10_06_2016_15_00_25\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-9103\" /></a></p>\n<p>So&#8230; How will I install Oracle? On linux, I can run the runInstaller in silent mode. But here it&#8217;s setup.exe</p>\n<p><a href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_15_02_07.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_15_02_07.png\" alt=\"VirtualBox_Windows 2012 Server Core_10_06_2016_15_02_07\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-9104\" /></a></p>\n<p>Great. Windows Core Server has no GUI for the system but GUI applications can run !</p>\n<p><a href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_15_29_51.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_15_29_51.png\" alt=\"VirtualBox_Windows 2012 Server Core_10_06_2016_15_29_51\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-9105\" /></a></p>\n<p>I can install the software. and then run DBCA</p>\n<p><a href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_15_59_27.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_15_59_27.png\" alt=\"VirtualBox_Windows 2012 Server Core_10_06_2016_15_59_27\" width=\"300\" height=\"229\" class=\"alignnone size-medium wp-image-9106\" /></a></p>\n<p>Let&#8217;s start the listener</p>\n<p><a href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_16_49_42.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_16_49_42.png\" alt=\"VirtualBox_Windows 2012 Server Core_10_06_2016_16_49_42\" width=\"300\" height=\"229\" class=\"alignnone size-medium wp-image-9107\" /></a></p>\n<p>and connect to it (I had to disable the firewall with </p>\n<pre><code>netsh advfirewall set allprofiles state off</code></pre>\n<p>)</p>\n<p><a href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_16_59_99.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/VirtualBox_Windows-2012-Server-Core_10_06_2016_16_59_99.png\" alt=\"VirtualBox_Windows 2012 Server Core_10_06_2016_16_59_99\" width=\"300\" height=\"138\" class=\"alignnone size-medium wp-image-9108\" /></a></p>\n<p>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?</p>\n",
    "protected": false
  }
}
