The next hands-on sysadmin workshop is here.

This time it will be 2 full days of hands-on training, where you’ll be working on several lab exercises on a Linux system.

This workshop is for newbies or intermediate users of Linux who would like to become proficient in Linux system administration. Wide range of essential sysadmin topics will be covered including package management, user/group management, various security aspects of Linux, filesystem/storage, several network utilities, system monitoring, etc.
(more…)

How to Install and Configure Linux NTP Server and Client

by Karthikeyan Sadhasivam on June 25, 2014

NTP stands for Network Time Protocol.

It is used to synchronize the time on your Linux system with a centralized NTP server.

A local NTP server on the network can be synchronized with an external timing source to keep all the servers in your organization in-sync with an accurate time.
(more…)

Happy 6th Birthday to The Geek Stuff

by Ramesh Natarajan on June 23, 2014

TGS is 6 years old now.

My daughter Diya doesn’t forget this occasion, as it is time for her to celebrate the birthday of her special toy friend.

Of all the stuffed toy animals she has, Penguin is her favorite. She has named her friend “Penguinee”.

This year, she also added a “Baby Penguin” to her collection.
(more…)

How to Setup Linux Etherchannel Bonding for Network Interface HA

by Karthikeyan Sadhasivam on June 17, 2014

In Linux, using etherchannel bonding you can combine two or more physical network interfaces (NIC) together to create a virtual interface.

The IP address will be configured on this virtual interface. If one of the underlying physical adapters goes down, then the other physical adapter is used to handle the communication traffic.

The following are different types of etherchannel bonding modes:
(more…)

A common idiom in programming is sorting a list. Python makes this a very simple task.

Python provides a built-in sorted() function that accepts an iterable type, and return a sorted list:
(more…)

Converting data types from one to another is a most basic aspect for any programmers.

First, let us start with the basics.

int nNumber;

The following are few things to keep in mind for the above line of code:
(more…)

We have ntbackup in Windows where we can take the “system state backup” for backing up the domain controller.

This tutorial explains how we can backup the Samba configuration, after you’ve setup Samba as active directory domain controller in Linux.

First, we need to understand what files and folders we are going to backup, and what tools we need to scheduled samba backup.

For Samba, we need to backup two database called as LDB and TDB. We are also looking at backing up the configuration files and sysvol .
(more…)

Design pattern generally solves few typical programming challenges and makes it more scalable, reusable and meaningful.

It provides a generalized solution for frequently encountered problems, which typically tends to increase the total number of lines of code a program has to write.

The following are few benefits of understanding and using Design Patterns:
(more…)