Archive for the ‘Sun Solaris’ Category

Open Solaris 10 sandbox

Monday, July 2nd, 2007

Thanks to those friendly people from who decided it would be fun to bring my Solaris box to its knees by forking and other things to DDOS my Solaris zone. I have learned many ways of enhancing the security of Solaris zones. I have limited the Sandbox zone to 1% of total CPU usage. I have limited the total number of processes to 1000 and I have installed the Solaris Jass security hardening script. I plan to post many of my discoveries in the future. Work has been busy lately and it is on the burner of things to be done along with part 2 of solaris zones.

First Production ZFS server today

Monday, July 2nd, 2007

I have plenty of small business clients and sooner or later they all face one big challenge. They all outgrow the initial 80GB tape drives that we put on their servers. The problem is that most of these are small businesses and most of them could just afford the initial network, and asking them to pony up $2000+ for a new tape drive or worse yet autoloader is out of the question.


Things I Wish I Knew About Solaris When I First Started.

Monday, July 2nd, 2007

Solaris 10 is a very powerful scalable operating system that feels tightly integrated and highly responsive. However for those of us with a strong Linux or FreeBSD background Solaris can feel a little unfamiliar and even downright confusing. This post is made up of a few things I wish I knew before I started my Solaris 10 adventure. I hope it will make things a little easier for those of you wanting to take the plunge into a true enterprise operating system.


1.That annoying backspace!!!!

If you are wondering how to get the backspace key to work in Solaris you can type one simple command. It should make life much easier for you.

#stty erase ^h

The (^h) is what is displayed when you use the backspace key.

2.How do I enable Samba?

To enable Samba simply issue the following commands:

#vi /etc/sfw/smb.conf

Enter your samba config entries here


When Solaris 10 boots it will check /etc/sfw for the smb.conf file, If that file is present it will enable samba automatically.

3. How do I turn the graphical login on and off on bootup?

If you want the gui to not start when the system boots you can issue the following commands.

#/usr/dt/bin/dtconfig –d

The above command will disable auto gui on boot.

#/usr/dt/bin/dtconfig –e

As you can probably guess if –d disables the gui –e enables it.

4. How do I scan for a network card and load the driver?

If you are coming from Linux or FreeBSD the process of loading a network card driver may seem very alien. In order to check for any network cards on the system for which you have drivers you can issue the following commands

#ifconfig –a plumb

The plumb part of the command will look for any network cards for which you have drivers and attempt to attach the driver to the hardware. You can check to see if any cards were found by using the following command.

#ifconfig –a

If any new network cards were found they will now show in the above command. The trick here is to get the network card to load automatically every time the computer starts in order to do this you must create the following file.

#vi /etc/hostname.interface-name

some examples of this are:


Inside this file you need to put the hostname of the computer.

If the hostname is the file should look like the following:

#cat /etc/hostname.vfe0Workstation1#

These Are just some of the things that I have learned that I wish I knew when I started my adventure into Solaris. I will add more little tips to this page as I find more little things to add.

Solaris Zones Part 1

Sunday, June 24th, 2007

So what is a zone?

A zone is analogous to a VMware machine but with some distinct advantages as well as some disadvantages. To start explaining zones let’s start by comparing it to VMware since most people are familiar with VMware. VMware is a software program that runs on a host operating system,. This could be Windows, Linux, or a custom kernel in the VMware ESX series. VMware provides a hardware abstraction layer which it uses to create mini virtual computers. The advantages of this setup are as follows: You can create a custom virtual computer designed for the operating system and application you want to run. This means that you have a very high level of customizability which allows you to tailor the virtual machine to provide the best performance for the program you want to run. VMware also supports ? many different operating systems. You could run VMware on a Linux box and then run Windows 2003 in one virtual machine, and a FreeBSD NFS server in another. From the point of view of the guest operating systems, they believe they are on standalone hardware and are unaware of the host OS and other guest OS’s which may be running.


ZFS filesystem on Solaris

Sunday, June 24th, 2007

Here is a flash video thanks to, which I think explains some of the features of zfs very well. This video should have you wanting more! I am working on a comprehensive tutorial about zfs which should cover this great file system in more detail.

Support Our site