Installing Solaris and configuring Kerberos : A tutorial


13 Mar  

A friend of mine asked me to write about the differences between Linux and Unix variants like Solaris. I think it is better to do that after covering a couple of tutorials on Solaris (including installation, configuration, network security and so on).

In this tutorial I will show you how to install Solaris 10 in your system (Please note that we are going to install Solaris 10 but NOT OpenSolaris).

 

Obtaining Live CD

 

You can either write to Oracle and request for a Solaris 10 OS or you can download the iso image from here. (Please note that it is a 2.4 GB file). Once you have done that, write the image to a DVD/R as usual and boot your system from the DVD.

This will give you three options and you can go for the first one.

 

Solaris installation

 

Then, it will enter into a verbose mode and start showing you the license details.

 

Solaris license in console

 

and ask you to select the installation mode. You can either select 1 or 3. If you want a GUI based installer, go for 1. But if you like the command line mode select 3.

 

Solaris install options

 

For this tutorial, I’m going for 1. The installer will then perform some more configurations (mostly network specific).

 

Solaris - network interface config

 

Then, you need to choose your keyboard layout:

 

Solaris - keyboard layout

 

Here comes the buggy part. If you are fortunate, the GUI based installer will work for you. And will display a sample window:

 

Solaris - GUI installation

Then you can choose you language from that window itself:

 

Solaris - language selection

 

If not, you are stuck with the console. But you don’t have to worry. The only difference is that you can’t use your mouse in this mode (all the configuration related stuffs are going to be same).

 

Another bug is that sometimes, the console fails to recognise the input: (In this case, you have to restart the system and give it another shot)

 

 Solaris - consol installtion error 

 

Now the installer will gather information about the hardware:

 

Solaris installer

 

In the next step, you need to select the option ‘Networked’ in order to do the network specific configurations.

 

 Solaris networking

 

In most of the cases DHCP is the protocol to be used:

 

Solaris dhcp for networking

 

You may enable IPv6 in your machine in the next stage:

 

Solaris ipv6

 

The next step is very critical if you are installing in this in a server. It allows you to configure Kerberos (the network authentication protocol) in your system.

 

Please note that I’m going to use the installed system as a local server, hence I need to configure this as well. In your case (if you are going to use this a desktop system), please select ‘No’. You can also skip the Kerberos specific steps as well.

 

Solaris Kerberos  options

In the next stage I can enter the default realm for Kerberos (by configuring Kerberos, I can use Kadmin, Klist, Kinit, Kdestroy and Kpasswd )

 

Solaris Kerberos realm

 

Now I need to specify the admin server:

 

Solaris Kerberos  admin

 

Since Kerberos  is used for authentication, we need ‘key distribution centres’ for the domain:

 

Solaris Kerberos  key distribution

 

This part is also NOT required for desktop users. You can select ‘None’ in this case as well.

But I’m going to use DNS as the name service for the domain:

 

Solaris name service

 

It also allows me to configure the domain name:

 

Solaris dns

 

and DNS server address (IP):

 

Solaris  server ip

 

In the next stage, go for the option – ‘Use the NFS v4 domain derived by system’:

 

Solaris  nfsv4

 

Now, enter the time zone specific details

 

Solaris time zone

 

 Solaris country

 

 Solaris - time settings

 

Solaris allows you to select a ‘root’ password during the installation stage. 

 

Solaris  - root password

 

And it also allows you to ‘disable’ remote services (In my case I am going to use them. In most cases, you may also need them). 

 

Solaris - remote access

 

  The installer will switch to the console and perform the configurations.

 

Solaris - install console

 

You can set the installer options in the next step:

 

Solaris  - installer options

 

Select CD/DVD in this step:

 

Solaris - DVD

 

Solaris  install

 

Accept the license:

 

Solaris license

 

And select ‘default install’ option:

 

Solaris - install types

 

Now the installer will show the installation specific information. You need to review it and click ‘Install Now’. The installer will then start installing the operating system:

 

Solaris installation

 

Once the installation is over, click ‘Reboot Now’ :

 

Solaris - reboot

 

Select ‘Solaris 10’ from the GRUB menu:

 

Solaris - GRUB

 

You can see that the system is creating a new RSA key. Solaris is one of the few operating systems that perform this properly during the first boot up.

 

Solaris RSA key

 

If you have already created a new user account, login using that. You may also login as root, if required.

 

Solaris login window

 

Now you are in Solaris 10 platform.

 

Solaris 10 desktop

 

If you want to add a new user, open terminal and issue:

 

useradd -d /export/home/aasis -m -s /bin/sh -c “Aasis Vinayak” aasis

 

Here you can specify the username, login shell and actual name of the user.

 

Solaris terminal

 

Done! Enjoy your Solaris 10…

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay

Tags: , ,


TechBlog on Facebook

Comments (1)

 

  1. [...] first thing that I did was changing the look and feel of the [...]'; digg_skin = ''; In the last tutorial we saw the installation steps and configuration of Solaris 10 operating system. In this edition, I [...]

Leave a Reply