{"id":51,"date":"2024-09-02T12:42:50","date_gmt":"2024-09-02T10:42:50","guid":{"rendered":"https:\/\/evdv.nl\/?p=51"},"modified":"2025-01-19T23:25:18","modified_gmt":"2025-01-19T22:25:18","slug":"installing-oracle-linux-8-on-hyper-v","status":"publish","type":"post","link":"https:\/\/evdv.nl\/index.php\/2024\/09\/02\/installing-oracle-linux-8-on-hyper-v\/","title":{"rendered":"Installing Oracle Linux on Hyper-V"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">For developing APEX applications I use a virtual machine with Linux on it containing an Oracle APEX environment. This includes the following components:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Microsoft Hyper-V<\/strong><\/li>\n\n\n\n<li><strong>Oracle Linux 8 including Gnome UI<\/strong><\/li>\n\n\n\n<li>Database FREE 23AI<\/li>\n\n\n\n<li>ORDS 24.2<\/li>\n\n\n\n<li>APEX 24.1<\/li>\n\n\n\n<li>SQL Developer 23.1<\/li>\n\n\n\n<li>Visual Studio Code (optional)<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">In this article I will explain how to install and configure the operating system on your server, which are the first two components (in bold).<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"672\" height=\"298\" data-id=\"88\" src=\"https:\/\/evdv.nl\/wp-content\/uploads\/2024\/09\/Oracle-Linux-APEX-overview-3.png\" alt=\"\" class=\"wp-image-88\" srcset=\"https:\/\/evdv.nl\/wp-content\/uploads\/2024\/09\/Oracle-Linux-APEX-overview-3.png 672w, https:\/\/evdv.nl\/wp-content\/uploads\/2024\/09\/Oracle-Linux-APEX-overview-3-300x133.png 300w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Side note: These are alternative ways to use Oracle APEX:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Request a workspace on apex.oracle.com (free)<\/li>\n\n\n\n<li>Run APEX on Oracle Cloud (free and paid options)<\/li>\n\n\n\n<li>Download a VirtualBox Appliance (free)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Let us continue setting up our server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\"><span class=\"ez-toc-section\" id=\"Requirements\"><\/span>Requirements<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First things first; we need (virtual) hardware to run our server on. So let&#8217;s first look at some pc requirements for running a virtual server:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Windows Pro or Enterprise<\/li>\n\n\n\n<li>Hyper-V enabled<\/li>\n\n\n\n<li>50GB of available diskspace<\/li>\n\n\n\n<li>8GB of memory (minimum)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/techcommunity.microsoft.com\/t5\/educator-developer-blog\/step-by-step-enabling-hyper-v-for-use-on-windows-11\/ba-p\/3745905\">This article<\/a> can help you setup Hyper-V on your computer. Of course there are alternatives for virtualization software like VirtualBox and VMware if you can not use Hyper-V.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can use an old computer instead of a virtual machine<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\"><span class=\"ez-toc-section\" id=\"Create_virtual_machine\"><\/span>Create virtual machine<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Required downloads:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Oracle Linux R8 installation ISO from the <a href=\"https:\/\/yum.oracle.com\/oracle-linux-isos.html\">yum repository<\/a>. A boot ISO file is fine.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Follow these steps to create the virtual machine:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On your Windows computer, click Start and type &#8220;Hyper-V&#8221;.<\/li>\n\n\n\n<li>Start Hyper-V Manager.<\/li>\n\n\n\n<li>Click the Quick Create&#8230; button under Actions.<\/li>\n\n\n\n<li>Do not select an operating system from the list. Use the Local installation source option instead.<\/li>\n\n\n\n<li>Uncheck &#8220;This virtual machine will run Windows&#8221;.<\/li>\n\n\n\n<li>Click Change installation source&#8230; and select the Oracle Linux R8 ISO file.<\/li>\n\n\n\n<li>Click More options, give your Virtual Machine a name, like &#8220;APEX Development Server&#8221;.<\/li>\n\n\n\n<li>The Network Default Switch setting is fine in most cases.<\/li>\n\n\n\n<li>Click Create Virtual Machine.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">After the virtual machine is created successfully, we change some settings:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click Edit Settings.<\/li>\n\n\n\n<li>On the left, click memory and change RAM to 8192 MB and uncheck Enable Dynamic Memory.<\/li>\n\n\n\n<li>Optionally you can make the following changes:\n<ul class=\"wp-block-list\">\n<li>Change the default number of virtual processors.<\/li>\n\n\n\n<li>The name for the virtual machine can be changed (if you forgot at step 7).<\/li>\n\n\n\n<li>I usually disable checkpoints until after installation of OS and software.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click OK to save your settings.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\"><span class=\"ez-toc-section\" id=\"Install_Oracle_Linux\"><\/span>Install Oracle Linux<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Connect to the Virtual Machine and click Start.<\/li>\n\n\n\n<li>Select &#8220;Install Oracle Linux 8.xx&#8221; with your arrow keys and type Enter.<\/li>\n\n\n\n<li>Select a language to use during installation (default: English (United States)) and click Continue.<\/li>\n\n\n\n<li>This is the installation summary page. Follow these steps:\n<ul class=\"wp-block-list\">\n<li>First click Network &amp; Host Name, change the hostname if you want (for example: apex.local), click apply and turn on the Ethernet (eth0) adapter. Click Done.<\/li>\n\n\n\n<li>Then click Software Selection, select Workstation and click Done.<\/li>\n\n\n\n<li>Then click Installation Destination, select Custom for Storage Configuration and click Done.<\/li>\n\n\n\n<li>In the Manual Partitioning screen, click the &#8220;Click here to create them automatically&#8221; link.\n<ul class=\"wp-block-list\">\n<li>Change the &#8220;\/&#8221; partition (root) Desired Capacity from 70GB to 32GB.<\/li>\n\n\n\n<li>Change the swap partition Desired Capacity to 8 GiB.<\/li>\n\n\n\n<li>Change the &#8220;\/home&#8221; partition mount point to &#8220;\/opt\/oracle&#8221;<br>change Desired Capacity to 100 GiB and<br>change Name from &#8220;home&#8221; to &#8220;opt_oracle&#8221; and<br>Click Update Settings.<\/li>\n\n\n\n<li>Click Done and then Accept Changes.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Set a password for root.<\/li>\n\n\n\n<li>User Creation: Create the Oracle user.\n<ul class=\"wp-block-list\">\n<li>Full name: Oracle<\/li>\n\n\n\n<li>User name: oracle<\/li>\n\n\n\n<li>Check: Make this user administrator<\/li>\n\n\n\n<li>Give the user a password and click Done.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click Begin Installation. This will take a while.<\/li>\n\n\n\n<li>When the installation is done, click Reboot System.<\/li>\n\n\n\n<li>Click License Information, I accept the License agreement, Done and Finish Configuration.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>For developing APEX applications I use a virtual machine with Linux on it containing an Oracle APEX environment. This includes the following components: In this article I will explain how to install and configure the operating system on your server, which are the first two components (in bold). Side note: These are alternative ways to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/evdv.nl\/index.php\/wp-json\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/evdv.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/evdv.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/evdv.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/evdv.nl\/index.php\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":17,"href":"https:\/\/evdv.nl\/index.php\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":125,"href":"https:\/\/evdv.nl\/index.php\/wp-json\/wp\/v2\/posts\/51\/revisions\/125"}],"wp:attachment":[{"href":"https:\/\/evdv.nl\/index.php\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/evdv.nl\/index.php\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/evdv.nl\/index.php\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}