Friday, 9 November 2012

How to run fdisk in non-interactive batch mode

Fdisk is a command-line utility for disk partition management on computer operating systems including Linux. It's not common that you want to automate fdisk (i.e., running fdisk in a batch mode), since (re)-partitioning your system is a rare thing, and you are typically dealing with a very small number of partitions at once. However, if you are trying to automate virtual machine (VM) provisioning, partitioning and formatting (VM's hard drives) in batch mode may no longer be so unrealistic.Read more »

Thursday, 8 November 2012

How to install software packages in non-interactive batch mode on Debian/Ubuntu

If you are a system admin, you may have wondered how to install a list of software packages in one shot. Manually installing software programs on multiple Linux systems would be a tedious job, and your time can be better spent elsewhere. If you seek to install software packages in non-interactive batch mode, you can check out this guideline. This is for Debian/Ubuntu systems.Read more »

Wednesday, 7 November 2012

How to install VMware Player on Ubuntu Desktop

VMware Player is a closed-source multi-platform virtualization software that is freely distributed by VMware. VMware Player has a convenient graphical user interface for virtual machine (VM) management, and with built-in NAT/bridged networking, there is no hassle in configuring VM networking, unlike other hypervisors such as KVM and Xen. Installing VMware Player on Ubuntu Desktop is straightforward, except that there are some caveats to take care of, which will be described in the following.Read more »

Tuesday, 6 November 2012

How to install tcpreplay on Linux

Tcpreplay is a suite of command-line utilities that are used to "replay" previously captured packet dumps in a real network. In order to use tcpreplay, you first need to capture live network traffic using packet capture tools such as tcpdump, rewrite TCP/IP packet headers of the captured packets appropriately (usually MAC and IP addresses), and then re-inject the packets on to any arbitrary network under consideration.Read more »

Monday, 5 November 2012

How to build a custom kernel module or device driver for XenServer

Citrix allows one to build any custom kernel module or hardware driver for XenServer, by offering Driver Development Kit (DDK). A DDK is essentially a virtual machine with all the kernel headers and development tools needed to extend the XenServer kernel. The following guide is on how to use DDK to compile a custom kernel module or hardware driver for XenServer.Read more »

Friday, 2 November 2012

How to find recently modified files on Linux

There are various occasions where you would like to search for files that have been changed/created in your Linux system recently or within any time frame. For example, as a system admin, you have done some configuration on your Linux system, but forgot where it was saved. You want to verify whether/how your Linux file system has been tampered with by someone recently. If you would like to find recently updated files on Linux, you can use find command as follows.Read more »

Thursday, 1 November 2012

How to enable Korean language input keyboard on Ubuntu

If you would like to use foreign language input on Ubuntu, there are two ways to enable foreign language input. One method is using Smart Common Input Method platform (SCIM), and the other one is to use Intelligent Input Bus (iBus).Read more »