This article will show you following topics:

How To Install Oracle Solaris 11

Copying and Creating Oracle Solaris 11 Package Repositories

Exploring package repositories using IPS on Oracle Solaris 11

Setting up a Solaris 11 Local Package Repository

Adding and Updating Oracle Solaris 11 Software Packages

Setup Gnome Desktop Environment

Before you install,you must download following iso files from oracle websites:

i).Solaris 11 Installation iso file:sol-11-1111-text-x86.iso

ii).Oracle Solaris 11 11/11 Repository Image:

    sol-11-1111-repo-full-iso-a.zip

    sol-11-1111-repo-full-iso-b.zip

After Creating Oracle Solaris 11 Package Repositories then you can add or remove package.

Use following command-line instructions to create a full ISO p_w_picpath:

On Linux Or Unix:

p_w_picpath

On Windows:

p_w_picpath

Solaris 11 Installation:

1.Boot your machine from solaris 11 media:

Learning Oracle Solaris 11 In Fast Truck_第1张图片

2.Select the keyboard layout:

Learning Oracle Solaris 11 In Fast Truck_第2张图片

3.Select default system language:

Learning Oracle Solaris 11 In Fast Truck_第3张图片

4.Select “Install Oracle Solaris”:

Learning Oracle Solaris 11 In Fast Truck_第4张图片

5.Welcome page,enter “F2”to continue:

Learning Oracle Solaris 11 In Fast Truck_第5张图片

6.Discovery system present disks:

7.Create Partitions:

By default,solaris 11 use zfs filesystem,so select “Use the whole disk”.

Learning Oracle Solaris 11 In Fast Truck_第6张图片

8.Setup hostname Network:

Learning Oracle Solaris 11 In Fast Truck_第7张图片

Learning Oracle Solaris 11 In Fast Truck_第8张图片

9.Setup DNS Name Service:

Learning Oracle Solaris 11 In Fast Truck_第9张图片

Learning Oracle Solaris 11 In Fast Truck_第10张图片

Learning Oracle Solaris 11 In Fast Truck_第11张图片

Learning Oracle Solaris 11 In Fast Truck_第12张图片

10.Setup Time Zone:

Learning Oracle Solaris 11 In Fast Truck_第13张图片

11.Create a user account and Define root password:

If you don't create any nomal user,you won't login to the system.By default,system deny root user to login.In solaris 11,user's password must have 6 characters at least .

12.Installation Sumary:

Learning Oracle Solaris 11 In Fast Truck_第14张图片

Installing process:

Learning Oracle Solaris 11 In Fast Truck_第15张图片

Learning Oracle Solaris 11 In Fast Truck_第16张图片

After installation,enter “F8”to reboot your machine:

Grub interface:

Learning Oracle Solaris 11 In Fast Truck_第17张图片

System Console:

Learning Oracle Solaris 11 In Fast Truck_第18张图片

Copying and Creating Oracle Solaris 11 Package Repositories:

1.Create a destination to save package repositories:

Learning Oracle Solaris 11 In Fast Truck_第19张图片

2.Copy the Repository Files:

If you use the rsync command, be sure to specify /media/SOL11REPO_FULL/repo(with no trailing slash character) and not /media/SOL11REPO_FULL/repo/. if you want to copy the repo directory and not just the files and subdirectories in the repo directory.

Learning Oracle Solaris 11 In Fast Truck_第20张图片

Using the tar command as shown in the following example can be a much faster way to move the repository from the the lofi mounted file systemto a ZFS file system.

Learning Oracle Solaris 11 In Fast Truck_第21张图片

3.Build a Search Index:

p_w_picpath

Exploring package repositories using IPS on Oracle Solaris 11

Before you begin, you must download following Oracle Solaris 11 Support Certificate files from here.

p_w_picpath

Using pkg command to display Publisher Information:

Learning Oracle Solaris 11 In Fast Truck_第22张图片

1.Create a directory inside of /var/pkg to store the key and certificate:

p_w_picpath

p_w_picpath

Learning Oracle Solaris 11 In Fast Truck_第23张图片

2.Using following command to add the publisher:

p_w_picpath

3.To see the packages supplied by this publisher, try:

Learning Oracle Solaris 11 In Fast Truck_第24张图片

After that,using pkg command to display Publisher Information again:

Learning Oracle Solaris 11 In Fast Truck_第25张图片

Adding and Updating Solaris 11 Package:

By default,you can't use desktop session,so i'll install gnome package:

Learning Oracle Solaris 11 In Fast Truck_第26张图片

Shit,this process is too slow.

Setting up a Solaris 11 Local Package Repository

The /application/pkg/server is not enabled by default in a fresh Solaris 11 installation.You can use following command to display:

Learning Oracle Solaris 11 In Fast Truck_第27张图片

Change pkg/server properties“pkg/inst_root”value to your local copy of the repo folder and the port number to an unused port 9999:

p_w_picpath

Enable pkg/server:

p_w_picpath

To start using this repository, we will need to set the client up to point to this repository.

change default repository:

Learning Oracle Solaris 11 In Fast Truck_第28张图片

Learning Oracle Solaris 11 In Fast Truck_第29张图片

Now,you can use your local repository to install packages,it's very faster than you use oracle online repository:

Learning Oracle Solaris 11 In Fast Truck_第30张图片

Setup Gnome Desktop Environment

 

In a multiuser environment such as SunRay, a server provides the desktop environment to clients. The desktop environment provided to the clients can be optimized for better performance and usability. The optimizations for the desktop environment are available in the group/feature/multi-user-desktop p_w_picpath packaging system (IPS) package. You must install this IPS package to enable the optimizations for the desktop.

Install the group/feature/multi-user-desktop package:

Learning Oracle Solaris 11 In Fast Truck_第31张图片

After installation,you must reboot your machine,you'll see following view.But you can't use root user login directly.

Learning Oracle Solaris 11 In Fast Truck_第32张图片

Learning Oracle Solaris 11 In Fast Truck_第33张图片

That's all for this article!!!

For more information:

1.Oracle Solaris 11 Information Library

2.Setting up a Solaris 11 Express Local Package Repository

3.Creating a simple Solaris 11 IPS package