?

Log in

No account? Create an account

Solaris, HOW-TO, It works... Really...

« previous entry | next entry »
Aug. 3rd, 2007 | 11:42 am

Get a machine to run Solaris.

Download main Solaris install.

Discover that the version you really want it is called Express... or
maybe Open Solaris... or something...

Install (pray you have a CDROM).

Then look for GNU packages.

Which means one of:

1) Getting some binaries, from somewhere on the internet, that have a
compiler, and then download from ftp.gnu.org all of the source for
all of the binaries you want. Recompile everything into /usr/local/.
For GCC you may need to do this twice.

2) Get SFW packages from Sun... which are sort of useful, and have
"most" of what you need. Those the versions are all old. See comment
one about recompiling everything from scratch off of ftp.gnu.org

3) Find a tool called pkg-get. It is mostly awesome, though it has a
weird scheme for GCC. It also has old packages.

Once you have the above working?

Then start playing with your PATH variable. You will need to juggle:

/opt/csw
/opt/SUNWspro
/usr/sfw
/usr/ccs
/usr/local

By default your user account was probably not setup with bash (don't
worry, the root user is screwed as well... so its not like the
sysadmin in root is having much fun), so you will need to change your
shell as well. What is the first command I've noticed that Solaris
sysadmins type when they login to root? "bash"

We won't even get into installing Perl modules, because at this point
you probably have two versions of it installed (and MySQL.... two at
last count).

Emacs vs vi? Well neither are really there. Sure... there is a ghost
of what vi was like well over a decade ago, and Emacs... once the
above is done you will probably have a couple of copies of it
installed, until then you will get to learn to hate vi all over again.

I wonder if Apple could buy Sun. They could provide lessons in UNIX
development and direction.

Link | Leave a comment |

Comments {10}

(no subject)

from: _justanotherme_
date: Aug. 4th, 2007 12:38 am (UTC)
Link

"I wonder if Apple could buy Sun. They could provide lessons in UNIX
development and direction. "

Wow talk about a harsh comment :)

Reply | Thread