First hands-on Oracle Solaris 11

After Oracle took over SUN and they dropped OpenSolaris I stopped using or even looking at it. Now a customer is keen on going the Solaris way and I have a chance to get my hands on it (again). I dont have a SUN SPARC sitting here but Oracle continues to support i386 architecture and they have both the iso file with the text installer and  even a ready to run virtual appliance ready to download (link). Oracle released version 11 of Solaris on 2011 November 9. Did you know SUN’s first OS goes back to 1982 as Sun UNIX 0.7 ?

I am not sure what happen to Solaris Express 11 which disappeared completely from Oracle’s website. Will there be another Express version for “free”/development/evaluation use ?

Import Appliance

Imported Oracle Solaris 11

Booting Solaris 11 first time

Booting Solaris 11 first time

Solaris 11 Login

Solaris 11 Desktop

First impressions

  • It starts up with 1GB memory and 1 CPU. On a Ubuntu 11.10 with 8GB running on AMD II X4 965 it takes about 2min to the login screen.
  • Using the Gnome desktop it is easy to navigate for an Ubuntu user.
  • MPO disabled because memory is interleaved. (Wiki explanation)
  • Changing the settings to 2 CPU makes it extreme sluggish slow or even dont start at all
  • After this experience I decided to install with 2 CPU’s and 4GB from the scratch using the iso image.
    This failed first, after installation boot up takes some 5 minutes

    I could fix this by
    a) add a second virtualbox interface adapter (host-only)
    b) modify /etc/hosts to something like 127.0.0.1 solaris name.domain.com loghost
    Now the boot time to console takes 40 seconds.

Additional Tasks:
I need to install JDK 7, Glassfish 3.1.1 and Oracle 11g

JDK 7 (manual)

  • Download from Oracle

    jdk-7u1-solaris-i586.tar.Z
    jdk-7u1-solaris-x64.tar.Z
    zcat jdk-7u1-solaris-x64.tar.Z |tar xf –
    zcat jdk-7u1-solaris-i586.tar.Z |tar xf –
    pkgadd -d . SUNWj7rt SUNWj7dev SUNWj7cfg SUNWj7man SUNWj7dmo SUNWjavadb-client SUNWjavadb-common SUNWjavadb-core SUNWjavadb-demo SUNWjavadb-docs SUNWjavadb-javadoc SUNWjavadb-service
    pkgadd -d . SUNWj7rtx SUNWj7dvx SUNWj7dmx
     

    Change the link  /usr/java to jdk/latest !

JDK 7 (Package Manager)

  • Start the package manager

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s