Dealing with Oracle Linux Installation problems / plagosus / blog

Dealing with Oracle Linux Installation problems

As I’m old Fedora Linux user, I was excited about yesterdays Beta release of this popular community distribution. But as you know it’s beta version of blading edge distro and Spherical Cow is still pretty buggy, so I wanted to try something more RedHat-ish while waiting for the final release.

Because I’m not a fan of CentOS, and RHEL is something you don’t see in production every day, I decided to try the Oracle Linux (formerly known as Oracle Enterprise Linux) which is almost the same as CentOS, but repackaged and freely distributed by Oracle. There was at least tree features I wanted to check in Oracle’s distribution of RHEL:

Oracle Linux can be downloaded through Oracle’s E-delivery service or from a variety of mirror sites, and can be deployed and distributed without cost. If you’re downloading it directly from Oracle, you have to create free Oracle account first.

oracle linux kde screenshot 640x400 Dealing with Oracle Linux Installation problems

Installation

oracle linux penguin with logo Dealing with Oracle Linux Installation problemsFirst thing i noticed is that this particular distro is not well documented online, at least not by community, so I hoped that Red Hat’s books, and community articles about CentOS, with my Fedora experience can jump-in, in case of any trouble. It wasn’t so simple as I hoped and I lost a few hours more than expected, so that’s the reason why I’m writing this at the first place – to share my experience with installation of Oracle Linux.

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’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’s LiveUSB Creator. UNetbootin isn’t working (as expected) so you have to go with Fedora’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 netinstall but got stuck because I was unable to google source URL from my phone, and there was no Internet connection because WiFi drivers wasn’t installed. Anyway, boot your computer from USB and choose Hard drive as installation source. For source path enter “/” (without quotes) because your DVD ISO is in the root of your USB “hard drive” 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. Rest of the installation process is almost the same as RHEL and usual Linux distributions so there shouldn’t be any uncertainties.

If your BIOS detected your USB drive as “sda” device, there is option to change BIOS order of drives on the boot loader configuration screen at the end of installation process. Just put your hard drive as first device and setup boot loader target to that device. In my case, that was “sdb”.

Repositories

For Fedora, I prefer RPM Fusion as additional repository, but things are little bit different in the Enterprise Linux world. You need to enable EPEL on RHEL 5 & 6 or compatible distributions like CentOS and Oracle before you enable RPM Fusion for EL. See the Fedora Project wiki for instruction how to enable EPEL. I did that so you can skip it and just copy/paste next commands in the Konsole:

# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm

Now you can add RPM Fusion as additional repository by entering:

# yum localinstall --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

Next is ATrpms repo. Download the latest atrpms-repo rpm from http://dl.atrpms.net/el6-x86_64/atrpms/stable/ and install it with:

# rpm -Uvh atrpms-repo*rpm

Additional repositories for CentOS are working for Oracle Linux too, but keep in mind that EPEL, RPMforge, and ATrpms do not play well together so keep them disabled unless you need some package from it. The best repo for Multimedia is probably RPMforge although some prefer ATrpms, but I needed ATrpms for my Wi-Fi card drivers.

Update the system by executing:

# yum update

Networking and Wi-Fi

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.

[brankko@blackbook ~]$ /sbin/lspci | grep Broadcom
04:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10)

I could not compile the Broadcom driver module because of some changes in Oracle’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 ATrpms (In Fedora, they are available at RPM Fusion).

# yum install broadcom-wl broadcom-wl-kmdl-2.6.32-279.14.1.el6.x86_64

Reboot the computer and Wi-Fi should be working. At this moment there is no proper kmdl version available for the newest UEL kernel, so I’m using regular 2.6.32-279.

Google Chrome

For newest Google Chrome Web browser, create a new repo file:

# nano /etc/yum.repos.d/google-chrome.repo

And paste this inside

[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1

And istall it with:

# yum install google-chrome-stable

Multimedia

It’s true that Oracle Linux is server oriented, but if you have X you’ll need some basic multimedia functionalities.

For Flash player, you need to add Adobe’s repo and install Flash plugin:

# rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
# yum check-update
# yum install flash-plugin libcurl

To add video codecs you have to do this:

# wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2
# mkdir -p /usr/lib/codecs
# tar -jxvf all-20110131.tar.bz2 --strip-components 1 -C /usr/lib/codecs/
# wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022-1.x86_64.rpm
# rpm -ivh mplayer-codecs-20061022-1.x86_64.rpm
# wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20061022-1.x86_64.rpm
# rpm -ivh mplayer-codecs-extra-20061022-1.x86_64.rpm

That’s the basic installation of Oracle Linux. For more advanced stuff, you are on your own.

UPDATE: If you net how-to instructions for netinstall for Oracle Linux, it’s here.

Podeli sa prijateljima...facebook Dealing with Oracle Linux Installation problems5twitter Dealing with Oracle Linux Installation problems12google Dealing with Oracle Linux Installation problems5linkedin Dealing with Oracle Linux Installation problems3

10 Responses to “Dealing with Oracle Linux Installation problems”

  1. [...] Dealing with Oracle Linux Installation problems / plagosus / blog   If you enjoyed this article, please consider sharing it! [...]

  2. I for all time emailed this webpage post page to all my contacts, because if like to read it next my friends will too.|

  3. Thank you for some other informative web site. Where else may just I get that kind of info written in such a perfect manner? I have a mission that I’m just now working on, and I have been on the look out for such info.

  4. Generally I do not read post on blogs, but I wish to say that this write-up very pressured me to take a look at and do so! Your writing taste has been surprised me. Thank you, quite great article.

  5. My brother recommended I may like this web site. He used to be totally right.

    This publish truly made my day. You can not believe simply how a

    lot time I had spent for this information! Thank you!

  6. This is the perfect website for anyone who hopes to understand this topic.

    You know a whole lot its almost tough to argue with
    you (not that I personally will need to…HaHa).
    You certainly put a brand new spin on a subject
    that’s been discussed for years. Great stuff, just wonderful!

  7. mobile games says:

    Hey there are using WordPress for your blog platform? I’m new to the blog world but
    I’m trying to get started and create my own. Do you require any coding expertise to make your own blog?
    Any help would be greatly appreciated!

  8. I have read so many articles on the topic of the blogger lovers however
    this piece of writing is really a pleasant paragraph, keep it up.

  9. I visit daily some websites and blogs to read articles,
    but this webpage offers quality based articles.

    my page game of thrones season 3

  10. Jodie says:

    I truly love your blog.. Very nice colors & theme. Did you create this web site yourself?
    Please reply back as I’m hoping to create my very own website
    and would like to learn where you got this from or just what the theme
    is called. Many thanks!

Leave a Reply