How to Add Memory, vCPU, Hard Disk to Linux KVM Virtual Machine

by Karthikeyan Sadhasivam on February 10, 2015

In our previous article of Linux KVM series, we explained how to Install Linux KVM and create a Guest VM.

But, once you’ve created a Guest VM, you need to know how to perform some of the routine maintenance activities on the VM.

This tutorial will explain how to perform the following Linux KVM VM activities:

  1. Add Memory to VM
  2. Add vCPU to VM
  3. Add Disk to VM
  4. Save VM Configuration
  5. Delete a VM


7 Steps to Build a RPM Package from Source on CentOS / RedHat

by Karthikeyan Sadhasivam on February 4, 2015

Sometimes you might have access to an open source application source code but might not have the RPM file to install it on your system.

In that situation, you can either compile the source code and install the application from source code, or build a RPM file from source code yourself, and use the RPM file to install the application.

There might also be a situation where you want to build a custom RPM package for the application that you developed.

This tutorial explains how to build a RPM package from the source code.

The first hands-on Linux sysadmin workshop for this year is here.

Iā€™m excited to announce that the registration for the Los Angeles Linux Sysadmin workshop is now open.

When you start writing your code in C, C++ or any other programming language, your first objective might be to write a program that works.

After you accomplished that, the following are few things you should consider to enhance your program.

  1. Security of the program
  2. Memory consumption
  3. Speed of the program (Performance Improvement)


Question: On my DELL PowerEdge server, in the front panel, I see this error message: W1228 Raid controller battery capacity <24hr error message. But, everything seems to be working fine on the server. What should I do to fix this issue? Is this something I should be worried about?

Answer: In most situations, the solution to the problem is to replace the RAID battery, as it is dying or dead.

12 CUPS lpadmin Command Examples to Setup Printers on Linux

by Karthikeyan Sadhasivam on January 12, 2015

CUPS stands for Common UNIX Printing System.

lpadmin is a command line tool used to configure printer and class queues provided by CUPS.

A system running CUPS is a host that can accept print jobs from client computers, process them, and send them to the appropriate printer. It can also be used to set the server default printer or class.

This tutorial explains how to add a new printer, setup printer options, and manage printers on Linux environment using lpadmin command examples.

The 1st live hands-on Linux sysadmin workshop for this year is here.

This time, it will be in Los Angeles. This is two days of hands-on training, where all the participants will work on several well structured lab exercises on a Linux system.

How to Configure VMware vSwitch from ESX / ESXi Command Line

by Karthikeyan Sadhasivam on January 8, 2015

In both VMware ESX and ESXi host, vSwitches can be configured either from the GUI or from the command line.

vSwitch is also known as vSphere standard switch.

The CLI configuration are very helpful when you are installing multiple ESX servers and planning to script the vSwitch configuration.

This article explains how to configure vSwitch from CLI using esxcfg-vswitch command examples.