Archive for 2007

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.

More…

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

#reboot?

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:

Hostname.rtls0Hostname.vfe0

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

If the hostname is workstation1.techinvasion.net 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.

Linux Distro OS-tan Wallpapers

Tuesday, June 26th, 2007

An OS-tan is an anime character representing a particular OS. Here is one artists rendition of a dozen Linux distro OS-tan made for desktop background use, including Linux-tan. The sizes are up to 1600X1200. The Ubuntu-tan is amazing!

read more | digg story

IP Filter and FreeBSD

Monday, June 25th, 2007

IPF is a very robust firewall included in FreeBSD by default. This is a statefull firewall with logging capabilities that can also be used to NAT a local network in situations where the FreeBSD box is the router. The best way to get IPF working is to compile the kernel with support built in. Although the default kernel has support through the use of loadable modules, compiling the options into the kernel provide a more flexible and robust system.

(more…)

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.

(more…)

ZFS filesystem on Solaris

Sunday, June 24th, 2007

Here is a flash video thanks to http://www.opensolaris.org, 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.
(more…)

Blog Migrated

Sunday, June 24th, 2007

I just upgraded the blog, It has been migrated from a 800mhz FreeBSD based system to a 2ghz Sun Solaris 10 based system with ZFS storage. The web server is also running in its own isolated container/zone. In migrating I have decided not to import all of the old articles, Instead? I will go through them and pick the best ones to include here.

Stay Tuned More to come!

Support Our site