{"id":1875,"date":"2012-11-28T23:50:34","date_gmt":"2012-11-28T22:50:34","guid":{"rendered":"http:\/\/www.plagosus.net\/blog\/?p=1875"},"modified":"2012-12-06T14:02:50","modified_gmt":"2012-12-06T13:02:50","slug":"dealing-with-oracle-linux-installation-problems","status":"publish","type":"post","link":"https:\/\/www.plagosus.net\/blog\/tech\/software\/dealing-with-oracle-linux-installation-problems\/","title":{"rendered":"Dealing with Oracle Linux Installation problems"},"content":{"rendered":"<p style=\"text-align: justify;\">As I&#8217;m old <a href=\"http:\/\/www.plagosus.net\/blog\/tag\/fedora\/\">Fedora Linux<\/a> user, I was excited about <a href=\"http:\/\/lwn.net\/Articles\/527130\/\" target=\"_blank\">yesterdays Beta release<\/a> of this popular community distribution. But as you know it&#8217;s beta version of blading edge\u00a0distro\u00a0and\u00a0Spherical Cow is still pretty buggy, so I wanted to try something more\u00a0RedHat-ish while waiting for the final release.<\/p>\n<p style=\"text-align: justify;\">Because I&#8217;m not a fan of CentOS, and RHEL is something you don&#8217;t see in production\u00a0every day, I decided to try the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Oracle_Linux\" target=\"_blank\"><strong>Oracle Linux<\/strong><\/a> (formerly known as\u00a0<em>Oracle Enterprise Linux<\/em>) which is almost the same as CentOS, but\u00a0repackaged and freely distributed by\u00a0<a title=\"Oracle Corporation\" href=\"http:\/\/en.wikipedia.org\/wiki\/Oracle_Corporation\">Oracle<\/a>. There was at least tree features I wanted to check in Oracle&#8217;s distribution of RHEL:<\/p>\n<ul>\n<li>Stable\u00a0<a href=\"http:\/\/www.kde.org\/community\/whatiskde\/softwarecompilation.php\" target=\"_blank\"><strong>KDE Software Compilation<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/www.oracle.com\/technetwork\/articles\/servers-storage-admin\/uek-rel2-getting-started-1555632.html\" target=\"_blank\">Unbreakable Enterprise Kernel<\/a><\/li>\n<li><a href=\"https:\/\/btrfs.wiki.kernel.org\/index.php\/Main_Page\" target=\"_blank\"><strong>Btrfs<\/strong><\/a> (<em>B-tree file system<\/em>) aka\u00a0<em>Butter Filesystem<\/em><\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.oracle.com\/us\/technologies\/linux\/overview\/index.html\" target=\"_blank\"><strong>Oracle Linux<\/strong><\/a> can be downloaded through <a href=\"https:\/\/edelivery.oracle.com\/linux\" target=\"_blank\">Oracle&#8217;s E-delivery service<\/a> or from a <a href=\"https:\/\/wikis.oracle.com\/display\/oraclelinux\/Downloading+Oracle+Linux\" target=\"_blank\">variety of mirror sites<\/a>, and can be deployed and distributed without cost. If you&#8217;re downloading it directly from Oracle, you have to create free Oracle account first.<\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.plagosus.net\/blog\/wp-content\/uploads\/2012\/11\/oracle-linux-kde-screenshot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1884\" title=\"Oracle Linux KDE\" src=\"http:\/\/www.plagosus.net\/blog\/wp-content\/uploads\/2012\/11\/oracle-linux-kde-screenshot-640x400.png\" alt=\"\" width=\"640\" height=\"400\" srcset=\"https:\/\/www.plagosus.net\/blog\/wp-content\/uploads\/2012\/11\/oracle-linux-kde-screenshot-640x400.png 640w, https:\/\/www.plagosus.net\/blog\/wp-content\/uploads\/2012\/11\/oracle-linux-kde-screenshot-300x188.png 300w, https:\/\/www.plagosus.net\/blog\/wp-content\/uploads\/2012\/11\/oracle-linux-kde-screenshot-768x480.png 768w, https:\/\/www.plagosus.net\/blog\/wp-content\/uploads\/2012\/11\/oracle-linux-kde-screenshot.png 1280w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<h2 style=\"text-align: justify;\">Installation<\/h2>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-1894\" title=\"Oracle Linux Logo\" src=\"http:\/\/www.plagosus.net\/blog\/wp-content\/uploads\/2012\/11\/oracle_linux_penguin_with_logo.png\" alt=\"\" width=\"200\" height=\"236\" \/>First thing i noticed is that this particular distro is not well documented online, at least not by community, so I hoped that Red\u00a0Hat&#8217;s books, and community articles about CentOS, with my Fedora experience can jump-in, in case of any trouble. It wasn&#8217;t so simple as I hoped and I lost a few hours more than expected, so that&#8217;s the reason why I&#8217;m writing this at the first place &#8211; to share my experience with installation of Oracle Linux.<\/p>\n<p style=\"text-align: justify;\">There is no optical drive anymore on my computer because I replaced it with a SSD drive so I downloaded a netinstall ISO for Oracle Linux. It&#8217;s 198MiB so you can put it on USB flash drive. In order to boot the netinstall ISO from USB, you have to use Fedora&#8217;s <a href=\"https:\/\/fedorahosted.org\/liveusb-creator\/\" target=\"_blank\"><strong>LiveUSB Creator<\/strong><\/a>.\u00a0UNetbootin isn&#8217;t working (as expected) so you have to go with Fedora&#8217;s tool. Next important thing is to download iso for DVD install medium and copy it to the root of USB drive (after making it bootable with LiveUSB Creator). I tried just with <strong>netinstall<\/strong> but got stuck because I was unable to google <strong>source URL<\/strong> from my phone, and there was no Internet connection because WiFi drivers wasn&#8217;t installed. Anyway, boot your computer from USB and choose Hard drive as installation source. For source path enter &#8220;\/&#8221; (without quotes) because your DVD ISO is in the root of your USB &#8220;hard drive&#8221; and proceed to the next installer screen. I prefer KDE instead of Gnome so I chose Desktop installation, where I unchecked Gnome, and checked KDE as a desktop environment.\u00a0Rest of the installation process is almost the same as RHEL and usual Linux distributions so there shouldn&#8217;t be any\u00a0uncertainties.<\/p>\n<p style=\"text-align: justify;\">If your BIOS detected your\u00a0USB\u00a0drive as &#8220;sda&#8221; device, there is option to change BIOS order of drives on the\u00a0boot loader\u00a0configuration screen at the end of installation\u00a0process. Just put your hard drive as first device and setup\u00a0boot loader\u00a0target to that device. In my case, that was &#8220;sdb&#8221;.<\/p>\n<h2>Repositories<\/h2>\n<p style=\"text-align: justify;\">For Fedora, I prefer <a href=\"http:\/\/rpmfusion.org\/\" target=\"_blank\">RPM Fusion<\/a> as <a href=\"https:\/\/blogs.oracle.com\/wim\/entry\/setting_up_oracle_linux_6\" target=\"_blank\">additional repository<\/a>, but things are little bit different in the\u00a0Enterprise Linux world.\u00a0You need to enable <strong><a href=\"http:\/\/fedoraproject.org\/wiki\/EPEL\" target=\"_blank\">EPEL<\/a><\/strong> on RHEL 5 &amp; 6 or compatible distributions like CentOS and Oracle before you enable RPM Fusion for EL. See the Fedora Project wiki for instruction <a href=\"http:\/\/fedoraproject.org\/wiki\/EPEL\/FAQ#howtouse\" target=\"_blank\">how to enable EPEL<\/a>. I did that so you can skip it and just copy\/paste next commands in the Konsole:<\/p>\n<p style=\"text-align: justify;\">[bash]<br \/>\n# rpm -Uvh http:\/\/download.fedoraproject.org\/pub\/epel\/6\/i386\/epel-release-6-7.noarch.rpm<br \/>\n[\/bash]<\/p>\n<p style=\"text-align: justify;\">Now you can add <strong>RPM Fusion<\/strong> as additional repository by entering:<\/p>\n<p style=\"text-align: justify;\">[bash]<br \/>\n# yum localinstall &#8211;nogpgcheck http:\/\/download1.rpmfusion.org\/free\/el\/updates\/6\/i386\/rpmfusion-free-release-6-1.noarch.rpm http:\/\/download1.rpmfusion.org\/nonfree\/el\/updates\/6\/i386\/rpmfusion-nonfree-release-6-1.noarch.rpm<br \/>\n[\/bash]<\/p>\n<p style=\"text-align: justify;\">Next is\u00a0<strong>ATrpms<\/strong> repo. Download the latest atrpms-repo rpm from <a href=\"http:\/\/dl.atrpms.net\/el6-x86_64\/atrpms\/stable\/\" target=\"_blank\">http:\/\/dl.atrpms.net\/el6-x86_64\/atrpms\/stable\/<\/a> and install it with:<\/p>\n<p style=\"text-align: justify;\">[bash]<br \/>\n# rpm -Uvh atrpms-repo*rpm<br \/>\n[\/bash]<\/p>\n<p style=\"text-align: justify;\">Additional <a href=\"http:\/\/wiki.centos.org\/AdditionalResources\/Repositories\" target=\"_blank\">repositories for CentOS<\/a> are working for Oracle Linux too, but keep in mind that\u00a0EPEL, RPMforge, and ATrpms <a href=\"https:\/\/www.centos.org\/modules\/newbb\/viewtopic.php?topic_id=35407#forumpost152691\" target=\"_blank\">do not play well together<\/a> so keep them disabled unless you need some package from it.\u00a0The best repo for Multimedia is probably\u00a0RPMforge\u00a0although some prefer ATrpms, but I needed\u00a0ATrpms for my Wi-Fi card drivers.<\/p>\n<p style=\"text-align: justify;\">Update the system by executing:<\/p>\n<p style=\"text-align: justify;\">[bash]<br \/>\n# yum update<br \/>\n[\/bash]<\/p>\n<h2 style=\"text-align: justify;\">Networking and Wi-Fi<\/h2>\n<p>First thing I needed is make my wireless connection working so I can put away my LAN cable and use my notebook freely as usual.<\/p>\n<p>[bash]<br \/>\n[brankko@blackbook ~]$ \/sbin\/lspci | grep Broadcom<br \/>\n04:00.0 Network controller: Broadcom Corporation BCM4312 802.11b\/g LP-PHY (rev 01)<br \/>\n08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10)<br \/>\n[\/bash]<\/p>\n<p>I could not compile the <a href=\"http:\/\/www.broadcom.com\/support\/802.11\/linux_sta.php\" target=\"_blank\">Broadcom driver module<\/a>\u00a0because of some changes in Oracle&#8217;s kernel and I had no time to mess with patching drivers so I found easy way to fix it by installing both driver and kernel module from\u00a0ATrpms (In Fedora, they are available at\u00a0RPM Fusion).<\/p>\n<p>[bash]<br \/>\n# yum install broadcom-wl\u00a0broadcom-wl-kmdl-2.6.32-279.14.1.el6.x86_64<br \/>\n[\/bash]<\/p>\n<p>Reboot the computer and Wi-Fi\u00a0should be working. At this moment there is no proper\u00a0kmdl version available for the newest UEL kernel, so I&#8217;m using regular\u00a0<em>2.6.32-279<\/em>.<\/p>\n<h2>Google Chrome<\/h2>\n<p>For newest Google Chrome Web browser, create a new repo file:<\/p>\n<p>[bash]<br \/>\n# nano \/etc\/yum.repos.d\/google-chrome.repo<br \/>\n[\/bash]<\/p>\n<p>And paste this inside<\/p>\n<p>[bash]<br \/>\n[google-chrome]<br \/>\nname=google-chrome<br \/>\nbaseurl=http:\/\/dl.google.com\/linux\/chrome\/rpm\/stable\/x86_64<br \/>\nenabled=1<br \/>\ngpgcheck=1<br \/>\n[\/bash]<\/p>\n<p>And istall it with:<\/p>\n<p>[bash]<br \/>\n# yum install google-chrome-stable<br \/>\n[\/bash]<\/p>\n<h2>Multimedia<\/h2>\n<p style=\"text-align: justify;\">It&#8217;s true that Oracle Linux is server oriented, but if you have X you&#8217;ll need some basic multimedia\u00a0functionalities.<\/p>\n<p>For Flash player, you need to add Adobe&#8217;s repo and install Flash plugin:<\/p>\n<p>[bash]<br \/>\n# rpm -ivh http:\/\/linuxdownload.adobe.com\/adobe-release\/adobe-release-x86_64-1.0-1.noarch.rpm<br \/>\n# rpm &#8211;import \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-adobe-linux<br \/>\n# yum check-update<br \/>\n# yum install flash-plugin libcurl<br \/>\n[\/bash]<\/p>\n<p>To add video codecs you have to do this:<\/p>\n<p>[bash]<br \/>\n# wget http:\/\/www1.mplayerhq.hu\/MPlayer\/releases\/codecs\/all-20110131.tar.bz2<br \/>\n#\u00a0mkdir -p \/usr\/lib\/codecs<br \/>\n#\u00a0tar -jxvf all-20110131.tar.bz2 &#8211;strip-components 1 -C \/usr\/lib\/codecs\/<br \/>\n#\u00a0wget http:\/\/www1.mplayerhq.hu\/MPlayer\/releases\/codecs\/mplayer-codecs-20061022-1.x86_64.rpm<br \/>\n#\u00a0rpm -ivh mplayer-codecs-20061022-1.x86_64.rpm<br \/>\n#\u00a0wget http:\/\/www1.mplayerhq.hu\/MPlayer\/releases\/codecs\/mplayer-codecs-extra-20061022-1.x86_64.rpm<br \/>\n#\u00a0rpm -ivh mplayer-codecs-extra-20061022-1.x86_64.rpm<br \/>\n[\/bash]<\/p>\n<p>That&#8217;s the basic installation of Oracle Linux. For more advanced stuff, you are on your own.<\/p>\n<p><strong>UPDATE<\/strong>: If you net <span style=\"text-decoration: underline;\">how-to instructions for netinstall for Oracle Linux<\/span>, it&#8217;s <a title=\"how-to instructions for netinstall for Oracle Linux\" href=\"http:\/\/docs.oracle.com\/cd\/E19593-01\/html\/821-2520\/gizim.html\" target=\"_blank\"><strong>here<\/strong><\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I&#8217;m old Fedora Linux user, I was excited about yesterdays Beta release of this popular community distribution. But as&#8230;<\/p>\n","protected":false},"author":2,"featured_media":1884,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53],"tags":[228,39,90,91,46,226,227],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.plagosus.net\/blog\/wp-json\/wp\/v2\/posts\/1875"}],"collection":[{"href":"https:\/\/www.plagosus.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.plagosus.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.plagosus.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.plagosus.net\/blog\/wp-json\/wp\/v2\/comments?post=1875"}],"version-history":[{"count":0,"href":"https:\/\/www.plagosus.net\/blog\/wp-json\/wp\/v2\/posts\/1875\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.plagosus.net\/blog\/wp-json\/wp\/v2\/media\/1884"}],"wp:attachment":[{"href":"https:\/\/www.plagosus.net\/blog\/wp-json\/wp\/v2\/media?parent=1875"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.plagosus.net\/blog\/wp-json\/wp\/v2\/categories?post=1875"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.plagosus.net\/blog\/wp-json\/wp\/v2\/tags?post=1875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}