Installing Solaris 10 on the SunFire V100 UltraSPARC server is very easy and straightforward. However, if you install the “Core” version of the distribution there are some surprises out there. So I decided to document my own installation procedure as well as subsequent “setup” steps that I use to get the server into a reasonable working state.
For my purposes I find that the CD-ROM based installation process is quite adequate. Solaris 10 is available as a free download from Sun. Only the first CD needs to be downloaded and burned to complete a “Core” install. Be sure to choose the Sparc option for the V100.
I suggest using the “Core” installation option for machine destined to be used as servers as it is extremely minimal and takes the approach of forcing you to individually install packages that you will use instead of expecting you to remove or disable packages that you are not going to use.
Post Installation Steps:
Once we have the system installed and restarted we can log in and begin adding in the necessary packages to make the system truly useful. Since we are installing from CDROM the easiest thing to do is to continue working from the CDROM. If you have first installation CD out of the drive replace it now and let’s set up our system to always have our CDROM available to us.
On the SunFire V100 the CDROM is attached as the slave on the secondary IDE controller. Therefore we know that it will be located at /dev/dsk/c0t3d0s0 which makes our lives much easier. First we must make an appropriate mount point and then we can mount the CDROM device there. We will do this with a simple, temporary mount command and then we will show how to add this to the /etc/vfstab in order to make the mount permanently available which will save time and effort in the future.
# mkdir /mnt/cdrom
# mount -F hsfs /dev/dsk/c0t3d0s0 /mnt/cdrom
This creates the mountpoint at /mnt/cdrom which is a very convenient place for it and then mounts the cdrom device to that location. The “-F hsfs” option tells your system that the mount will use the High Sierra File System which is the CDROM filesystem. To make a permanent mount we would add the following line to the /etc/vfstab configuration file:
/dev/dsk/c0t3d0s0 - /mnt/cdrom hsfs - no -
This vfstab entry will not cause the CDROM device to be continually mounted but it will allow you to mount the CDROM in the future by simply using the following easy to remember command:
# mount /mnt/cdrom
Now that we have mounted our CDROM device we should have access to our installation CD which was, in my case, Solaris 10 8/7 CD #1. If this is still in the drive then we should be able to install some much needed software – the SSH server – with the following command:
# pkgadd -d /mnt/cdrom/Solaris_10/Product/ *ssh*
This provides our SSH server software which will, once we get it configured, allow us to access the server remotely without the use of the LOM. We will also want to install SSH client software so that we are able to establish SSH, SCP and SFTP sessions out or away from our Solaris server. This software is located on the Solaris 10 8/7 CD #2. Also on the second CD is the SUNWbash package which provides the BASH shell. You will definitely appreciate having BASH installed once you have worked with it for any length of time.
# pkgadd -d /mnt/cdrom/Solaris_10/Product/ *ssh* SUNWbash
Once you have SSH available as both a server and as a client the machine will be ready for use as a blank slate where networking services can be added as you need them.