Linux System Administration

Installation prerequisites

Debian LogoIt is said that the installation of Debian Linux is know as one of the hardest among all Linux Distributions. In this article we will see that this is just a myth, in fact it is very easy, even for beginners. All you need is basic understanding of disk partitioning techniques and a downloaded/burned netinstall image which suits the hardware architecture you intend to install onto Debian Linux, and a internet connection. Of course there are other requirements, such as a working PC with a CD-ROM drive and free/unpartitioned space on your hard disk. :'''NOTE:''' Do not download all Debian GNU/Linux 4.0 installation disks! You only need the first CD or go to netinstall CD.




Beginning of the installation

Make sure you set your BIOS to boot from the CD-ROM. Once you boot Debian, it will welcome you with an Introductory Screen similar to the one below.

Debian Etch Introductory Screen

At this stage you can navigate with the function keys F1-F10:

Read more ...

In many occasions I have tried to search for key words and get a results form a country which is not the one I’m searching from.

For example if I try to Google search from Australia and entering a a URL of I’m automatically redirected to the since my IP address reveals that my location is Australia. The trick is to pass a &gl= variable from the URL.

for example to get a United States results I will enter url:
United Kingdom:

Sometimes it is easier to do: however this does not work with

Here is a simple program to display image attributes like width, height, size and etc. This program assumes that you have OpenCV library alredy installed on you system.

#include <iostream>
#include <iomanip>
#include "cv.h"
#include "highgui.h"

using namespace std;

int main( int argc, char** argv )


// Create an IplImage object *image 
IplImage *image = cvLoadImage( argv[1]);

// Display Image Attributes by accessing a IplImage object's data members

cout << left << setfill(' ') <<  setw(15) << "Image filename:" << argv[1] << endl;

cout << setw(15) << "Width:" <<  image->width << endl;
cout << setw(15) << "Height:" <<  image->height << endl;

cout << setw(15) << "Pixel Depth:" <<  image->depth << endl;
cout << setw(15) << "Channels:" <<  image->nChannels << endl;

cout << setw(15) << "Width Step:" <<  image->widthStep << endl;
cout << setw(15) << "Image Size:" <<  image->imageSize << endl;

return 0;

Compile with:

g++ `pkg-config opencv --cflags --libs` imageattr.cpp -o imageattr


./imageattr re_dsc00056.jpg
Image filename:re_dsc00056.jpg
Width: 1148
Height: 644
Pixel Depth: 8
Channels: 3
Width Step: 3444
Image Size: 2217936

Page 17 of 73

Free Linux eBooks

Do you have the right skills?

Our IT Skills Watch page reflects an up to date IT skills demand leaning towards the Linux and Unix environment. We have considered a number of skills and operating systems.

See the result...

Go to top