{"id":155,"date":"2007-10-07T13:34:39","date_gmt":"2007-10-07T12:34:39","guid":{"rendered":"http:\/\/www.spikesoft.ch\/?p=155"},"modified":"2007-10-14T17:34:19","modified_gmt":"2007-10-14T16:34:19","slug":"install-oracle-11g-entreprise-edition-on-mac","status":"publish","type":"post","link":"https:\/\/www.spikesoft.ch\/?p=155","title":{"rendered":"Install Oracle 11g Entreprise Edition on Mac"},"content":{"rendered":"<p>After a long time without any technical article on this blog, I finally decide to publish a new one.<\/p>\n<p>I lost an incredible amount of time trying to install Oracle 11g in a virtual machine on my MacBook Pro. What I can defenitively say is DO NOT USE Parallels as virtualisation solution (there is some incredible limitations on the RAM and some bugs with certain OS) but instead use <a href=\"http:\/\/www.vmware.com\/products\/fusion\/\" target=\"_blank\">VMWare Fusion<\/a>. Not only VMWare does not have all theses incredible bugs but it also performs a lot better than Parallels. The only drawback is that it&#8217;s not easy at all to resize a virtual hard drive in VMWare and you do not have the possibility to auto extend the virtual hard drive on demand.<\/p>\n<p>Enough about the various solution of virtualisation and let&#8217;s drill down into our main theme.<\/p>\n<p>Most of my inspiration come from the <a href=\"http:\/\/ivan.kartik.sk\/oracle\/install_ora11gR1_elinux.html\" target=\"_blank\">Ivan Kartik<\/a> blog, when no special instruction are required I will refer to her instructions.<\/p>\n<p><u><strong>01. Prerequisite<\/strong> <\/u><\/p>\n<ul>\n<li>A Macintosh with an Intel processor  and at least 1.5 Gb of RAM<\/li>\n<li>VMWare Fusion software installed (download it <a href=\"http:\/\/www.vmware.com\/download\/fusion\/eval.html\" target=\"_blank\">here<\/a>)<\/li>\n<li>The 3 first CD of Oracle Unbreakable Linux (availabale <a href=\"http:\/\/edelivery.oracle.com\/linux\" target=\"_blank\">here<\/a>, be sure to download the <em>Enterprise Linux Release 5 Media Pack for x86 (32 bit)<\/em> version)<\/li>\n<li>Oracle 11g zip file (available <a href=\"http:\/\/www.oracle.com\/technology\/software\/products\/database\/index.html\" target=\"_blank\">here<\/a>)<\/li>\n<\/ul>\n<p><u><strong>02. Prepare a VMWare Instance<br \/>\n<\/strong><\/u><\/p>\n<ol>\n<li>Create a new virtual machine in VMWare with the same parameters as presented in the following screenshots.<\/li>\n<li><a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/vmware1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/vmware1.jpg\" height=\"303\" width=\"400\" \/><\/a><\/li>\n<li><a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/vmware0.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/vmware0.jpg\" width=\"400\" \/><\/a><\/li>\n<li><a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/vmware3.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/vmware3.jpg\" width=\"400\" \/><\/a><\/li>\n<li><a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/vmware4.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/vmware4.jpg\" width=\"400\" \/><\/a><\/li>\n<li><a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/vmware5.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/vmware5.jpg\" width=\"400\" \/><\/a><\/li>\n<li>Modify the virtual machine settings according to the following screenshots.<\/li>\n<li><a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/vmware6.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/vmware6.jpg\" width=\"400\" \/><\/a><\/li>\n<li><a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/vmware7.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/vmware7.jpg\" width=\"400\" \/><\/a><\/li>\n<li>Start the virtual machine.<\/li>\n<\/ol>\n<p><u><strong>03. Install Entreprise Linux<\/strong><\/u><\/p>\n<ol>\n<li> Choose to install in graphic mode by hitting <em>enter.<\/em><\/li>\n<li>Skip the CD verification.<\/li>\n<li>On each each install screen accept the proposed parameters (at the exception of course of the keyboard mapping where you&#8217;ll select the one coresponding to your keyboard).<\/li>\n<li>[Update it seems that this step it not necessary in order to interface correctly the virtual machine with the Mac. Feel free to skip it.] Stop at the Newtork Devices Configuration screen. Proceed as follow:\n<ul>\n<li>Click the <em>Edit<\/em> button.<\/li>\n<li>Uncheck the <em>Use dynamic IP configuration (DHCP)<\/em> checkbox.<\/li>\n<li>Check the <em>Enable IPv4 support<\/em> checkbox.<\/li>\n<li>Uncheck the <em>Enable IPv6 support<\/em> checkbox.<\/li>\n<li>Enter in the <em>Address<\/em> field an meanigful address (free and reachable from your domain).<\/li>\n<li>Fill <em>Prefix (Netmask)<\/em> field with the sub-domain.<\/li>\n<li>Give a meaningful hostname to your installation.<\/li>\n<\/ul>\n<\/li>\n<p><a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu0.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu0.jpg\" width=\"400\" \/><\/a><br \/>\n<a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu1.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu1.jpg\" width=\"400\" \/><\/a><br \/>\n<a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu2.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu2.jpg\" width=\"400\" \/><\/a><\/p>\n<li>Stop at the following installation screen and choose <em>Customize now<\/em>. <a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu3.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu3.jpg\" width=\"400\" \/><\/a><\/li>\n<li>In the next screen select the following packages by clicking the <em>Optional packages<\/em> button. Proceed according to the following rule: if you have to check a whole new set then check only the indicated package(s) and uncheck the others, if the set is already checked then just check the additional package(s) (such that the others are kept their previous state):\n<ul>\n<li><em>elfutils &#8211; 0-125-3.el5.i386<\/em> in Development, Development Tools<\/li>\n<li><em>unixODBC &#8211; 2.2.11-7.1.i386<\/em> in Server, MySQL Database<\/li>\n<li><em>compat-libstdc++-33 &#8211; 3.2.3-61.i386<\/em> in Base System, Legacy Software Support<\/li>\n<li><em>compat-db &#8211; 4.2.52.1.i386<\/em> in Base System, Legacy Software Support<\/li>\n<li><em>sysstat &#8211; 7.0.0-3.el5.i386<\/em> in Base System, System Tools<a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu4.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu4.jpg\" width=\"400\" \/><\/a><\/li>\n<\/ul>\n<\/li>\n<li>Click af few more time <em>Next<\/em> and the installation begins. Just follow the instruction and change the CD when you&#8217;re asked to do so (by clicking on the CD icon and selecting the next .iso file).<\/li>\n<li>When asked to do so reboot.<a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu5.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu5.jpg\" width=\"400\" \/><\/a><\/li>\n<li>After reboot click <em>Forward<\/em> till you reach the <em>SELinux<\/em> screen where you change the setting to disabled.<a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu6.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu6.jpg\" width=\"400\" \/><\/a><\/li>\n<li>At the <em>Date and Time<\/em> screen you can choose to synchronize your clock with an NNTP server.<\/li>\n<li>At the screen <em>Create User<\/em> do not create a new user (we will do so later) and get rid of the warning.<\/li>\n<li>Click a few more time <em>Forward<\/em> and then reboot when asked to do so.<\/li>\n<li>Login as root and mount the .iso of the second CD.<\/li>\n<li>Open the <em>Computer<\/em> icon and double click the <em>CD-RW\/DVD-R Drive<\/em> Icon.<a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu7.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu7.jpg\" width=\"400\" \/><\/a><\/li>\n<li>Open the <em>Terminal <\/em>application and issue exactly the following commands:<\/li>\n<pre>\r\ncd \/media\/Enterprise\\ Linux\\ cd\\ 2\\ 20070613\/Server\/\r\nrpm -ivh elfutils-libelf-devel-0.125-3.el5.i386.rpm\r\n         elfutils-libelf-devel-static-0.125-3.el5.i386.rpm\r\nrpm -ivh libaio-devel-0.3.106-3.2.i386.rpm\r\nrpm -ivh unixODBC-devel-2.2.11-7.1.i386.rpm<\/pre>\n<p><a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu8.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu8.jpg\" width=\"400\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu9.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/olu9.jpg\" width=\"400\" \/><\/a><\/ol>\n<p><u><strong>04. Prepare the OS for database installation<\/strong><\/u><\/p>\n<ol>\n<li>From this point you can follow the instruction of <a href=\"http:\/\/ivan.kartik.sk\/oracle\/install_ora11gR1_elinux.html#st1\" target=\"_blank\">Ivan<\/a> till Download &amp; Install section at the exception of the first point that should be.\n<pre>\r\ngroupadd dba\r\nuseradd -g dba oracle\r\npasswd oracle<\/pre>\n<p><a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/term01.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/term01.jpg\" width=\"400\" \/><\/a><\/li>\n<li>When Ivan employ the term <em>Edit<\/em>, I personally recommend you to use the nano editor. With that in mind the point 2 will look like the following. <a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/term02.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/term02.jpg\" width=\"400\" \/><\/a> The parameter <em>kernel.shmmax<\/em> and <em>kernel.shmmni<\/em> are already present in the file then just update them.<a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/term03.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/term03.jpg\" width=\"400\" \/><\/a><\/li>\n<\/ol>\n<p><u><strong>05. Install Oracle 11g Entreprise Edition<\/strong><\/u><\/p>\n<ol>\n<li>Reboot the virtual machine an login as <em>oracle<\/em> user.<\/li>\n<li>Drag and drop the oracle 11g database zip file to the virtual machine desktop.<a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/orainst01.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/orainst01.jpg\" width=\"400\" \/><\/a><\/li>\n<li>Issue the following commands in the terminal:\n<pre>\r\ncd \/home\/oracle\/Desktop\r\nunzip linux_11gR1_database.zip\r\ncd databse\r\n.\/runInstaller<\/pre>\n<\/li>\n<li><a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/orainst02.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/orainst02.jpg\" width=\"400\" \/><\/a><\/li>\n<li>When you get the following error message correct the path where you want to save the <em>oraInventory<\/em> directory. I choose <em>\/home\/oracle<\/em><a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/orainst03.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/orainst03.jpg\" width=\"400\" \/><\/a><a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/orainst04.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/orainst04.jpg\" \/><\/a><\/li>\n<li>When you reach the <em>Product &#8211; Specific Prerequisite Cheks<\/em> you should only have the network configuration check that do not execute. Check it by hand and then click <em>Next<\/em>.<a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/orainst06.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/orainst06.jpg\" width=\"400\" \/><\/a><\/li>\n<li>Now the installation really begin. It can be a bit long but at the end a you will get a window that ask you to run two scripts in root mode.<a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/orainst07.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/orainst07.jpg\" width=\"400\" \/><\/a><\/li>\n<li><a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/orainst08.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/orainst08.jpg\" width=\"400\" \/><\/a><\/li>\n<li>Enjoy, you can finally use your 11g database.<a href=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/orainst09.jpg\"><img decoding=\"async\" src=\"http:\/\/www.spikesoft.ch\/wordpress\/upload\/2007\/10\/orainst09.jpg\" width=\"400\" \/><\/a><\/li>\n<\/ol>\n<p><u><strong>06. Further work<\/strong><\/u><\/p>\n<p>You can add some spit and polish to you installation by following the instruction from Ivan in her section called <a href=\"http:\/\/ivan.kartik.sk\/oracle\/install_ora11gR1_elinux.html#st3\" target=\"_blank\">Post-Installation Tasks<\/a>.<\/p>\n<p>In a <a href=\"http:\/\/www.spikesoft.ch\/?p=186\">next article<\/a> I&#8217;ll show you how you can configure your virtual machine such that you can acces the database from the Mac side. That is you can hide your virtual machine and use your favorite Mac tools to connect to your database as if it was on a server.<\/p>\n<p><u><\/u><u><\/u><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After a long time without any technical article on this blog, I finally decide to publish a new one. I lost an incredible amount of time trying to install Oracle 11g in a virtual machine on my MacBook Pro. What &hellip; <a href=\"https:\/\/www.spikesoft.ch\/?p=155\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[],"class_list":["post-155","post","type-post","status-publish","format-standard","hentry","category-macintosh","category-oracle"],"_links":{"self":[{"href":"https:\/\/www.spikesoft.ch\/index.php?rest_route=\/wp\/v2\/posts\/155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.spikesoft.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.spikesoft.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.spikesoft.ch\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.spikesoft.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=155"}],"version-history":[{"count":0,"href":"https:\/\/www.spikesoft.ch\/index.php?rest_route=\/wp\/v2\/posts\/155\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.spikesoft.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.spikesoft.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.spikesoft.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}