Feb 032011
 

tux-apacheSometimes it can be useful with a simple CGI to show the contents of a directory, or run a command with some parameters.
If you are a programmer you probably will think at a elegant and practical solutions in Java, Ruby or PHP, but for a system administrator may be convenient to make a simple bash program, a language he’s using everyday.

Let’s see how to use the bash we use usually on the terminal in a CGI program. Continue reading »

Flattr this!

Feb 012011
 

Open source is very dedicated to sharing information, comparing and learning, then in this article i will recommend some readings of open books that you can download, read and if you want print freely.

cathederbazar

The Cathedral and the Bazaar

Available in many languages; This is a great essay on the difference between the open source model of software development, and the closed source model employed by commercial software vendors. It is a great read that is as true as when it was written, to the present day today. Continue reading »

Flattr this!

Jan 292011
 

tuxThe script command is part of the util-linux-ng package and so should be available already installed in any distribution, or you should be able to easily add it.

What’s script ?

From his man page:



Script makes a typescript of everything printed on your terminal. It is useful for students who need a hardcopy record of an interactive session as proof of an assignment, as the type script file can be printed out later with lpr.

Continue reading »

Flattr this!

Jan 272011
 

tux-rhYesterday I followed the online event Virtual Experience, presented by Red Hat.

The event was presented in 4 main areas :Red Hat Enterprise 6, Cloud Computing, Virtualization and Jboss, for an idea of the sessions available take a look here.

I followed some of the sessions and from what I saw I had the impression that Cloud is the key word (or fashion) that is often repeated even in talks about  other  topics,  RH  surely   is betting a lot there, but  we are still in the early phases and there are enabling technologies, but the solutions must be built ad hoc on your infrastructure.

Continue reading »

Flattr this!

Jan 192011
 

bandwOne element that is often not know, or that should be measured after a problem statement or after a change in the infrastructure is the network . But how do you accurately measure the speed between two servers?

Someone use ftp, scp or other file transfer protocols, these can give some indication, but probably you’ll measure the limit of your disks or CPU.

In this article I will show you 3 way to measure the bandwidth from the command line, without using the disks.
Continue reading »

Flattr this!