Recommendations for Learning Solaris 10?

OK, I think I need a book. How does one go about learning the ins and outs of Solaris 10? My Safari subscription is remarkably sparse on Solaris in general and there appears to be something in the region of bugger-all covering Solaris 10. The recent experience I have is pretty much of Linux and FreeBSD, though in the past couple of years I’ve even shyed away from much sysadmin of them, preferring to use managed services or shared hosting instead. So, what do I want to learn about? Well, some of these topics:

  • Probably a dummies intro to Solaris, from the perspective of an experienced Linux geek (ie a cheat-sheet which says, for example “when you want the equivalent of ps ax, type ps -ef“).
  • Configuring the system to acquire and apply patches.
  • Setting up RAID 1 mirroring of the two disks in the machine. I did this once, long ago, along with lots of other LVM shenanigans with a pair of Sparc Storage Arrays and Solstice Disk Suite.
  • I’d like to play around with these Zone/Container things for separating application parts into their own domain.
  • Locking the server down for going into production. There are lots of strange services running and ports open and this gives me the heebie jeebies. I’d like to know what they all do, what can safely be switched off, and how to firewall the rest from teh Intarweb.

I’d also like some sort of recommendation on best practices for installing additional software on Solaris. I’m going to be wanting Lighttpd, Ruby (along with a bunch of gems, but I’m happy using Rubygems to manage them) and MySQL amongst others. Am I better building things myself and accepting that I’ll have to be aware of updates to these packages and their dependencies? Or is it better to go with some third party packaging system? So far, I’ve found OpenPKG. Are they a good bet? Are there other alternatives that would be better?

Update: Woo! I’ve just found /usr/sfw with a whole load of useful stuff in it, like gcc for instance. Though it took find / -name wget to find it! Adding that to my path is making life feel a little less strange…

  • Annabel

    nope, no new books allowed for a 60 day trial!!

    and anyway you should be doing rubaidh work not playing with noisy boxes!!!

  • http://www.sirena.org.uk/log/ Mark Brown

    apropos is fairly useful for finding things like the patch management stuff. They do have an automated patch download tool (finally!), although it was pretty painful to use.

    The standard Sun packaging place always used to be Sun Freeware.

  • http://number9.hellooperator.net/ Dick Davies

    http://docs.sun.com/

    is really pretty good – look at the solaris 10 collection.

    opensolaris on freenode were in a helpful mood last time I was there too :)

    It’s not the sort of thing you want to read all the way through, but if you’re asking a ‘how do I XXX?’ question, it’s great.

    If you know any good books, let me know (avoid the Osborne Solaris 10 book at all cost, though, it’s absolutely awful).

  • http://www.classiarius.com Wes Williams

    in addition the the aforementioned http://docs.sun.com also use the usenet newsgroups and solars IRC channels for answers to questions you can’t find elsewhere…just please attempt to resolve on your own. the good ‘ole “man” command is priceless.

  • Sean Farrell

    For stuff that gives you packages that are quick to get working and easy to play with I’d have gone with the packages available from the SunFreeware site. Several packages there have been adopted and are distributed with Solaris on the Companion CD http://www.sun.com/software/solaris/freeware

    Big Admin is nice for advice on setting up, securing a system and keeping up to date. http://www.sun.com/bigadmin/home/

  • http://www.wiik.de Thorleif Wiik

    Blastwave with about 1418 software packages will be the better alternative to OpenPKG.

    http://www.blastwave.org/

  • http://blogs.sun.com/levon John Levon

    See:

    http://www.opensolaris.org/os/community/immigrants/

    There you’ll find out why ‘top’ didn’t seem to be there, and why kill -HUP on the ssh daemon wasn’t the ‘right’ thing to do.

    FWIW, we are slowly moving as much as we can from ‘hidden’ paths like /usr/sfw/ into somewhere in the default search path.

  • http://experience.ie Gerard Byrne

    Having fun?

    Unix is like wives/girlfriends – the one you’ve hung around with the longest is the best :-) And new girlfriends tend bite in unusual ways ;-)

    I don’t have any direct Solaris experience but I would suggest slapping webmin up on it so that you can get it to do the sysadmin until you’re ready to get down and dirty. You will want to restrict how/who gets access to webmin though.

    My only non-Linux/FreeBSD experience was with HPUX. What annoyed me in the early stages was the (to me) unusual places config and other things were located. LSB has been good in standardising the location of things in the Linux world. Also, I did not realise just how spoiled we were in the Linux world with all the GNU utils – the /usr/bin is filled with stuff missing but available on other unixes (or should that be eunuches given that they have had their balls cut off!).

    Have fun.

    GB

  • DJ

    Is there much difference between 9 and 10. I am looking for a beginners intro to Solaris 10, and was thinking of getting the Solaris 9 for dummies as a general all-round intro. Any thoughts?

  • http://woss.name/ mathie

    DJ: There are lots of new and exciting features in 10 (and even more in the newer Express releases — ZFS rocks!), but you’ll be able to get the basics from a Solaris 9 book. Lots of the bits I was playing around with seemed familiar even from SunOS 4.1.4, so it can’t have changed that much!

  • DJ

    Mathie: Thanks for the input. I am sure 10 has some cool new stuff, but for a newbie like myself, I need an easy intro so I at least know what the new features mean, or where they are effected. Off I go to the book store…thanks!!