Solaris Installation Guide on VMware Workstation

Oracle Solaris 0 Comments

Solaris installation guide will be the first in a series of tutorials designed to build an Oracle Solaris environment where we can discuss and learn step by step. This install will be based on Solaris 11.3.
The final goal will be to discuss more advanced topic like Oracle solaris cluster, network virtualization, patch management and advanced system administration tasks.
So let’s start with the foundation, a clean solaris installation, this will be the template that we will use to clone our future solaris hosts.

First we need to download the correct solaris iso image hosted on www.oracle.com, we need to register for an account and then we have to download this iso image as shown here:

donwload solaris iso

We have chosen a text based installer, because it’s lighter, and we need to avoid any graphic before installing the vmware tools on the machine.

All the necessary steps for this solaris installation guide are shown on the images below.

Now let’s prepare our template.

Solaris Installation Steps on a VMware Virtual Machine

This suppose that we created a virtual machine with the following configuration and that we have attached the iso image we downloaded earlier.

solaris virtual machine config

Boot the VM and follow this steps:

installation menu

1- Choose the keyboard layout

solaris keyboard layout

2- Select the installation language

solaris installation language
3- Press F2 at the welcome screen

 welcome screen
4- Choose Local Disks and press F2

local disks selection
5- The installer will propose a default disk layout based on the new GPT format, it will then create a partition table as shown. Continue by pressing F2

disks partition format
6 -Choose “Use the entire disk” and press F2

disks selection local
7- Keep the default hostname and press F2

solaris hostname
8- Keep the default network configuration and press F2

defaut network configuration
9- The next screens ask for the local and date format, we will keep the default on each screen

solaris installation date format solaris installation time zone

 

 

 

 

 

 

 

 

 

 

 

 

solaris installation time format 02 solaris installation year format

 

 

 

 

 

 

 

10- Select the keyboard layout

 installation keyboard layout

 

 

 

 

 

 

 

 

 

11- Choose a password for the root user account and create a new user. By default, we will not be able to login using the root account as it will be created as a role, this is a security concept in Solaris. We will use our new created account and then switch to the root account using su or using sudo if we need to.

root password

 

 

 

 

 

12- Press F2 on the next two screen (registration)

solaris installation support registration network solaris installation support registration

 

 

 

 

 

 

 

 

13- On the final screen, an installation summary is displayed, press F2 to start the installation.

solaris installation summary

 

 

 

 

 

 

solaris installing

 

 

 

 

This was a text based solaris installation guide which mean we will not be welcomed by the graphical interface as we don’t need it right now.
After the installation is finished, press F8 to reboot the host.

VMware Tools installation

Go to your VMware Workstation console: VM -> Install VMware Tools…

Here is a one liner that originally was meant for Linux system, it will silently install vmware tools and accept the default option for our installation. I have modified it to work for our solaris installation guide.

root@solaris:~# VMW_TOOLS=$(ls /cdrom/vmwaretools | grep .gz) && cp -f /cdrom/vmwaretools/${VMW_TOOLS} /tmp/ && cd /tmp && eject && tar -zxvf /tmp/${VMW_TOOLS} && /tmp/vmware-tools-distrib/vmware-install.pl -d default && rm -rf vmware-tools-distrib/ && rm -f /tmp/${VMW_TOOLS} && cd ~

Creating the base template

We will create a snapshot, set our virtual machine on template mode  and then create our linked clone for space optimization.

Shutdown the virtual machine and take a snapshot.

solaris vm snapshot

Go to the VM properties and enable template mode.

solaris template

With this in place, we can use this virtual machine as a source for our future (linked clone) hosts without sacrificing our storage space.

Find this useful! Be Sociable, Share your Knowledge!

Leave a Reply

Your email address will not be published. Required fields are marked *