Showing posts with label solaris. Show all posts
Showing posts with label solaris. Show all posts

Friday, July 11, 2008

A perfect New Year Gift from Sun Microsystems - A Free Solaris Media Kit

A few weeks back, I had shared with you the news of Sun Microsystems distributing free Media Kit consisting of the latest build of Solaris 10 operating system. I had placed an order for a media kit at their website and guess what, a couple of days back, I received my copy of Sun's free media kit.

The media kit is a fabulous DVD case consisting of three DVDs - a copy of Solaris 10 6/06 build operating system for the x64/x86 platform, a copy of Solaris 10 6/06 build operating system for the SPARC platform and finally a DVD containing Java software goodies which include Sun Studio 11, Sun Java Studio Enterprise 8 and Netbeans ver 5.0.

Fig: Sun Media Kit DVD case

Fig: DVD case opened

Fig: The Media Kit contains 3 DVDs

I was successful in installing Solaris 10 on my machine from the DVD and the installation went without a hitch. Solaris 10 comes with a graphical GUI installer as well as a text based installer. Sun specifies the minimum recommended memory requirement for running Solaris 10 to be 512 MB. I was able to successfully install the OS on a machine with 256 MB memory. In fact, if your machine has just 256 MB RAM, Solaris automatically selects the text based installer. For machines with at least 512 MB RAM, it uses the graphical installer. And if your machine has less than 256 MB RAM, it refuses to install on your machine. Solaris 10 bundles with it two desktops - Common Desktop Environment (CDE) and the more popular Java Desktop which is really the Gnome Desktop running on top of a Java framework. Solaris 10 also comes with two X servers, them being the Xsun Server and the more common Xorg server and you can choose one over the other at the time of installation.

You can look forward to a review of Solaris 10 on this site in the near future. But for now, you may whet your appetite by viewing a couple of photos I took of the Sun Media Kit ;-). And those who haven't yet placed an order for the Free Media kit can do so at Sun's website - but before that, just make sure that your machine has the required memory to run this robust operating system.

Free Open Solaris starter kit

Two months back, I had gustily bought the news of the free Sun Solaris media kit which consisted of a set of 3 DVDs which contained the Solaris OS for the Sparc and Intel architectures as well as Java software goodies. And as a follow up, I had posted a couple of photos of the media kit I received as well. Now it is OpenSolaris which is handing out free DVDs. But the OpenSolaris give away is more exciting for a number of reasons.

The OpenSolaris media kit, which they chose to call the starter kit consists of a set of two DVDs and a mini book. You heard right, they have also included a booklet which contain a collection of tutorials and documentation which will be of use to OpenSolaris neophytes. The DVDs will contain apart from the Solaris Express, the community built images of three distributions of OpenSolaris namely Nexenta OS, Belenix and SchilliX as well as OpenSolaris source code. You will also find the Sun Studio compilers included in the offering. You can order your copy of the starter kit here. I may also add that you need to register first to place the order.

In all respects these are very good times for Solaris users as Sun Microsystems is going on a limb to sustain the excitement towards its software products by developers and users alike and ensure that its legacy does not wither away. A good move in these fast changing times. Now I am waiting for the day when they will release Solaris under the GPL v3 license.

Tuesday, June 17, 2008

Review of Sun Solaris 10

For 10; the robust Unix from the past, I have posted news of the free Solaris media kit and its pictures as well as published news of Open Solaris starter kit give away.

With Sun releasing Solaris source code under the CDDL license and naming it Open Solaris, a number of clones of Solaris have cropped up in the past two years or so, such as Nexenta, Belenix and SchilliX. But Sun also provides Solaris in the form of Solaris Express incorporating the latest advances. And Solaris Express acts as a sand box with many new features eventually make their way into Solaris OS after a period of incubation.

Even though Solaris was originally designed for SPARC (Scalable Processor Architecture) hardware, it also supports Intel platforms. This has thrown open the doors for the hordes of Solaris enthusiasts who couldn't afford a SPARC based computer, to install Solaris on their PC and take it for a run.

Once you get hold of the CD/DVD containing Solaris 10, the next step is to install it. Installing Solaris from CD/DVD is a very simple and straight forward process. As long as you have a minimum of 256 MB , you can go ahead with installing it. But any less memory means you will have to upgrade your PC memory before you can start installing Solaris.

I did not encounter any problems at the time of installation. And in no time, I was able to install Solaris and boot into it. Solaris 10 bundles with it mainly two desktops - them being Common Desktop Environment (CDE) and the Java Desktop System which is actually the Gnome desktop built on top of the Java framework.

Solaris CDE PanelFig: CDE Panel - can be iconized

Solaris 10 ScreenshotFig: Java Desktop System Menu

Those who are coming from a KDE/Gnome/Windows background might initially be put off by the CDE. But after working in it for some time, I found the CDE to be a very functional desktop. To put it succinctly, it has some elements of the AfterStep window manager in GNU/Linux with lots of additional useful features.

In CDE, each component including the Panel can be minimized to the Desktop and all minimized applications are neatly arranged as icons on the Desktop. CDE also saves the state of a running application when you log out. And when you log back in, the application is automatically opened and displayed in its previous position.

Sun provides each Solaris user a choice of subscribing to the Sun Connection. It is a paid subscription and once you join it, you can use the Sun update manager to provide you suggestions, automatically manage updates, prioritize and keep a history of updates. OR you can also choose to apply the updates manually without any assistance. You can also download the latest patches and driver updates at sunsolve.sun.com.

Solaris Management Console 2.11
Considering that Java language is being developed by Sun, it is no surprise that it plays a very important role in Solaris. For instance, to do system administration tasks, Solaris has an all-in-one GUI toolkit in Solaris Management Console which has been developed using Java.

While it is also possible to use commands to achieve system and network administration tasks, to be the preferred way. Here you can know about the status of your system such as your system information, processes running, logs, performance and so on. More over, it contains options to do almost all system administration tasks such as managing users, system configuration, managing services, storage, devices and hardware.

Solaris Management Console uses the concept of a toolbox to provide a view of various system administration tools or applications within a common user interface. It has three components namely :
  1. SMC client called the console
  2. SMC server
  3. SMC console toolbox editor
To start the SMC toolbox editor or the SMC client, you run the following command :
$ /usr/sadm/bin/smc
As you can see, you need not be logged in as root to open the SMC. But to view all tools, it asks for authorization.

Similarly to check the status of the SMC server, you run the following command as root :
# /etc/init.d/init.wbem status
Suppose I want to mount a disk partition in Solaris. It is a piece of cake and is as simple as opening up SMC, then navigating to Storage -> Mounts and shares -> Mounts. Here select from the menu, Actions -> Add NFS mount. And follow the instructions. Similarly there are tools to create and manage RAID volumes.

Solaris 10 System Management consoleFig:

While the number of software bundled with Solaris 10 is no where near that offered by GNU/Linux such as Debian, it does come with a useful set of programs such as the text editor, music player, web browser and so on which makes it a practical solution as a Desktop OS.

To spell out some of the unique software Sun bundles with Solaris 10, you get the advanced StarOffice productivity suite which is build upon Open Office.org, a card game called JSpider developed using Java, a Java based media player, a disk analyser 'JDiskReport' which is a free graphical disk report utility; also developed using Java. JDiskReport enables you to visually understand how much space the directories and files consume on your disk drives.


JGraphPad diagraming softwareFig: A diagramming software

Disk Analyzer in SolarisFig: Get a graphical view of the disk space occupied by your files.

Solaris also has support for popular browser plugins for Java, Adobe Acrobat Reader, Realplayer and Flash player (ver 7.0). You can download the plugins here.

Apart from the software bundled with the official Solaris CDs/DVD, Sun also makes available a collection of GPLed software compiled to be run in Solaris, which you can download from the Sun Freeware webpage.

One thing which I found really strange was the fact that Solaris comes with Mozilla ver 1.7 web browser and not Firefox. So if you are too attached to using Firefox, you are out of luck, unless you succeed in compiling Firefox from source.

Another aspect of Solaris that is really endearing is the excellent set of online documentation which has been made available by Sun. In fact I do not know of any Linux distribution which has even half the quantity of documentation as that made available by Sun Microsystems for Solaris. The Solaris documentation is available at docs.sun.com where each and every technical aspect of Solaris is covered. You can also download whole sets of documentation and guides in PDF format for offline use too. This could be a reason why there are not that many Solaris textbooks in print as you find on GNU/Linux.

Even though Solaris has not attracted the same level of evangelism as Linux has succeeded to attract, it does not have any dearth of followers. There are a large number of websites which cater to providing Solaris specific packages of a variety of software not officially made available by Sun Microsystems. The notable among them being the following :

Blastwave.org - This is a website which provides a slew of GPLed packages for Solaris. The USP of this website is that it provides an easy way of installing its packages on Solaris - some what similar to the apt-get method used in Debian Linux. The script pkg-get that they provide automatically does dependency checking and installs the latest packages that you require. I was really surprised to find GNUCash ver 2.0 among the packages that they offer - some thing which I haven't yet been able to get for Slackware.

SunFreeware.com - This is another humongous (Should I say the largest?) unofficial repository available for Solaris specific packages. And this site is very popular among the Solaris users and administrators alike.

While reviewing Belenix, I had noted the advantages Solaris has over GNU/Linux. Apart from what I had listed, Solaris also has a new advantage which is the "Secure by default" tag that Sun has provided it. The latest version of Solaris comes with all the ports closed by default.

I believe this is an operating system which holds a lot of promise as a Desktop OS. And if the people steering Sun Microsystems take the right decisions (hint: GPL ???), it just might take the fancy of a large section of IT savvy public, enough to motivate many of them to start developing Free software for Solaris.

Linus Torvalds vs Jonathan Schwartz - clash of two titans ?

The fire started when Linus Torvalds wrote a reply to a mail in the Linux kernel mailing list where he pondered on Sun Microsystem's true intentions in willing to release Solaris under a GPLv3 licence and how the rise of Linux has hurt Solaris and how Sun doesn't want to help Linux.

In his own words, this is what Linus said (and I quote parts of the mail):

They may like open source, but Linux _has_ hurt them in the marketplace. A lot.

They want to use Linux resources (_especially_ drivers), but they do *not* want to give anything back (especially ZFS, which seems to be one of their very very few bright spots).

So to Sun, a GPLv3-only release would actually let them look good, and still keep Linux from taking their interesting parts, and would allow them to take at least parts of Linux without giving anything back (ahh, the joys of license fragmentation).

Jonathan Schwartz the president and CEO of Sun Microsystems has written a reply on his blog to Linus Torvalds explaining Sun's true intentions and why it is taking so long for Sun to release Solaris under GPLv3.

But most of all, from where I sit, we should put the swords down - you're not the enemy for us, we're not the enemy for you. Most of the world doesn't have access to the internet - that's the enemy to slay, the divide that separates us. By joining our communities, we can bring transparency and opportunity to the whole planet. Are we after your drivers? No more than you're after ZFS or Crossbow or dtrace - it's not predation, it's prudence. Let's stop wasting time recreating wheels we both need to roll forward.
You may also be interested in reading the comment made on Jonathan Schwartz's blog by OpenBSD founder Theo de Raadt.

Tuesday, June 3, 2008

Installing Solaris 10 on an under $300 machine

Solaris is perceived to be a heavy weight operating system in terms of the kind of resources (read hardware) that is required to install and use it. And when you hear the word Solaris, you at once visualize Sun Blades and Sun fire servers costing upwards of a few thousand dollars.

But it is possible to install Solaris 10 on a machine which costs under $300 if the machine is build with carefully chosen parts as shown by Christian Joaquin Cruz.

He selected parts with the following specifications to build his test machine :
  • Motherboard - Intel D201GLY "Little Valley" Mini-ITX
  • Hard drive - Maxtor 300GB PATA 16mb-buffer drive
  • Memory - DDR 1GB pc6400 single-module 800MHz
  • Optical drive - Sony DRU-170C
  • Case - CoolerMaster Elite 340 mATX Case
  • Power supply - RaidMaster 380w Power Supply
  • Case fan - LD 80mm
And it cost him $279 before taxes. After installing Solaris 10 on this machine, he concludes ...
The machine, after installation of all the drivers, networking and apache configuration, was very functional and able to serve up web pages on my local network quite well. Secure Shell connections worked straight out-of-the-box, as did hot-plug-in detection of USB thumbdrives. The CD/DVD reader/burner was compatible with Solaris, but Sun has omitted the inclusion of a graphical CD/DVD burner application. The upshot of this is that you have to use the commands mkisofs and cdrw to use this functionality (or download a compatible GUI based application).

In most respects I am quite pleased at the results. It's quite a cool box for the very low amount of time and money invested.
Read the full findings of Christian Joaquin Cruz in taking his newly built under $300 Solaris box on a test drive. [Print version]