Introduction to Linux IP Routing Fundamentals (Part 1)

by Himanshu Arora on April 9, 2012

Probably you know how to check the existing routes (or even add/modify routes) on Linux using route or netstat command. You migh’ve done that without understanding much about how IP routing works.

This article will help you understand the principles behind the IP routing and how it works.

This is the 1st part in the IP Routing series of articles.
(more…)

{ 8 comments }

In the part I of the Linux Threads series, we discussed various aspects related to threads in Linux.

In this article we will focus on how a thread is created and identified. We will also present a working C program example that will explain how to do basic threaded programming.
(more…)

{ 2 comments }

This article explains how to upgrade Big-IP F5 load balancer LTM software from version 9 to 11 (and from 10 to 11)

There is no direct upgrade path from 9 to 11. So, we have to first upgrade from 9 to 10, and then from 10 to 11. Starting version 10, upgrading F5 is fairly straight forward, as you can do it from the GUI itself (which is explained below).
(more…)

{ 1 comment }

File locking is a mechanism which allows only one process to access a file at any specific time. By using file locking mechanism, many processes can read/write a single file in a safer way.

In this article we’ll explore the different types of Linux file locking and understand their differences using an example program.
(more…)

{ 1 comment }

Suppose we want to add some extra functionality in the Linux kernel.

So the first idea that strikes the mind is to enhance the kernel by adding more code to it, compiling the code and getting the new kernel up.
(more…)

{ 10 comments }

Introduction to Linux Threads – Part I

by Himanshu Arora on March 30, 2012

A thread of execution is often regarded as the smallest unit of processing that a scheduler works on.

A process can have multiple threads of execution which are executed asynchronously.

This asynchronous execution brings in the capability of each thread handling a particular work or service independently. Hence multiple threads running in a process handle their services which overall constitutes the complete capability of the process.
(more…)

{ 9 comments }

How to Setup VirtualBox Guest Additions and Network

by Lakshmanan Ganapathy on March 29, 2012

In the previous article Install & Create Virtual Machine, we explained how to install VirtualBox and create a Guest machine in it.

This article explains how to setup network for a guest machine and installing Guest Additions in a guest machine.
(more…)

{ 9 comments }

How to Setup Chroot SFTP in Linux (Allow Only SFTP, not SSH)

by Ramesh Natarajan on March 28, 2012

If you want to setup an account on your system that will be used only to transfer files (and not to ssh to the system), you should setup SFTP Chroot Jail as explained in this article.

In a typical sftp scenario (when chroot sftp is not setup), if you use sftp, you can see root’s file as shown below.

If you want to give sftp access on your system to outside vendors to transfer files, you should not use standard sftp. Instead, you should setup Chroot SFTP Jail as explained below.
(more…)

{ 8 comments }