ASRock mini – Part 2.

In part 2 I’ll continue my home adventure in replacing Windows XP workstation with Ubuntu 10.04.


Installing Oracle11g R2
In addition to Oracle XE I need full blown Oracle11g R2 Enterprise Edition on my Ubuntu box. There is no shortage of blog articles on the net with installation steps that need to be followed to successfully install Oracle11g R2 on Ubuntu. I installed 11g R2 according to:

The only minor difference in the steps that I needed to sort out by myself was that my target platform is 32-bit and blog author is using 64-bit, thus some variations in packages being installed. Other then that Oracle11g R2 installed and compiled without any errors (I didn’t installed grid infrastructure, so can’t say much about that part!).


Connecting HP ScanJet G2710
Lucid Lynx ships with the Simple Scan (Applications->Graphics), as name applies, simple software for scanning documents. After I turned on HP ScanJet, Simple Scan automatically recognized device and I could start scanning documents. I believe Simple scan is good enough to fulfill average user needs for scanning various forms and documents at home.
Just in case if I ever need more control over scanning preferences I installed Xsane:

$ sudo apt-get install xsane

Xsane had not problem recognizing HP ScanJet G2710. Both, Simple Scan and Xsane supports multi page output to pdf file, feature that I found very useful. The part of configuration (scanner) that I feared the most was surprisingly easy. I’m impressed.


Connecting Samsung ML-2850 laser printer
Adding my network laser printer, Samsung ML-2850 was almost as easy as adding scanner. The only thing I had to do is to open Printing applet System->Administration->Printing, then clicking on Add button, then Network Printer and Find Network Printer where I entered printer hostname. Everything else was configured automatically for me. Since my printer supports duplex print I had to give necessary privileges to my TOH, so that she can tweak with printer preferences (System->Administration->Users and groups->selected TOH->Advanced settings-> User Privileges -> Configure Printers).


Installing Oracle VirtualBox
Installing Oracle VM VirtualBox 3.2.8 was as easy as downloading appropriate deb file for Lucid Lynx. After download ends, package manager will initiate installation. That’s all. VirtualBox become indispensable in my daily work life, replacing my licensed VMWare Workstation for good.


Installing SQL Developer
From Oracle Technetwork (new name for OTN) I downloaded SQL Developer zip file under section SQL Developer for other platforms and Java JDK 6 Update 21 from here. I followed installation instruction for JDK that I found here. Installation steps can be summarized as:

$ cd /home/alesk/Downloads
$ sudo unzip sqldeveloper-2.1.1.64.45-no-jre.zip -d /oracle
$ sudo chown -R oracle:dba /oracle/sqldeveloper
-- I decided to install JDK into $ORACLE_BASE
$ chmod a+x jdk-6u21-linux-i586.bin
$ cd /oracle
$ sudo /home/alesk/Downloads/jdk-6u21-linux-i586.bin
$ sudo chown -R oracle:dba jdk1.6.0_21/
-- SQL Developer can now be launched with command:
$ sh /oracle/sqldeveloper/sqldeveloper.sh
The first time you launch SQL Developer you'll be asked for the path to JDK, in my case I entered /oracle/jdk1.6.0_21.


Installing KomodoEdit
I’m a big fan of ActiveState free editor, KomodoEdit. After downloading I executed the following steps to install KomodoEdit:

$ tar zxvf Komodo-Edit-5.2.4-4343-linux-libcpp6-x86.tar.gz
$ cd Komodo-Edit-5.2.4-4343-linux-libcpp6-x86/
# KomodoEdit was installe into /usr/local/komodo...
$ sudo sh install.sh
# Adding symbolic link to the common path...
$ sudo ln -s /usr/local/komodo/bin/komodo /usr/local/bin/komodo

And that’s all for today. :-)

Posted on 28.08.2010, in Linux, PostgreSQL, etc. and tagged . Bookmark the permalink. 2 Comments.

  1. VirtualBox 3.2.10
    Originally, I didn’t bother to add VirtualBox to deb sources.list, so I decided to fix this before upgrading VirtualBox 3.2.8 to recently released 3.2.10.

    -- add the followin line to /etc/apt/sources.list:
    deb http://download.virtualbox.org/virtualbox/debian lucid non-free

    -- add Oracle public key
    $ wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc
    $ sudo apt-key add oracle_vbox.asc

    -- install VirtualBox
    $ sudo apt-get update
    $ sudo apt-get install virtualbox-3.2

  2. VirtualBox 4.0
    Oracle recently released 4.0 version of VirtualBox. With 4.0 release they changed apt repository from non-free to contrib, so make sure that you update /etc/apt/sources.list:


    $ sudo nano /etc/apt/sources.list
    and replace your old virtualbox repository with the appropriate one, line for the lucid lynx is:
    deb http://download.virtualbox.org/virtualbox/debian lucid contrib

    Then simply update repository and install VirtualBox:

    $ sudo apt-get update
    $ sudo apt-get install virtualbox-4.0

    What’s new in 4.0 release is that Oracle split VirtualBox in base package (that’s what we installed in above steps) and so called VirtualBox Extension Packs that needs to be downloaded and installed separately. Extension pack is shipped under Personal Use and Evaluation License (PUEL), make sure that you read and understand the license. Time will tell if this is not actually the first step from Oracle to try to cash-in on VirtualBox.

    Anyway, don’t confuse VirtualBox Extension Packs with ordinary VirtualBox Tools that are installed inside guests, they’re not the same.

    After I downloaded Extension pack from VirtualBox download area I installed the package by double clicking the downloaded package (Oracle_VM_VirtualBox_Extension_Pack-4.0.0-69151.vbox-extpack). Alternatively, you can open VirtualBox Manager (GUI) and go to File -> Preferences -> Extensions, then click on Add package button and select downloaded pack.
    As of now Extension pack adds support for USB 2.0 Host controller, VirtualBox RDP and PXE ROM support for E1000.