Create and install linux debian package for missing perl module with dh-make-perl

Sometimes you encounter situation when you need a perl module to support your program but perl module is not available from standard linux repositories. Installing perl module from source code is not always good idea so what would be the best is to create package for a particular module using dh-make-perl command. In my case [...]

Get list of the installed packages from debian distributions for documentation

When documenting my server installation I needed to have a list of packages installed on my server. dpkg –get-selections is great help but it returns values/packages each on separate line including “installed” keyword. This command returns list of installed packages in the single block separated with single space:
dpkg –get-selections | awk ‘{ print $1; }’| [...]

Ubuntu-gutsy/hardy-Ethernet (nVidia MCP55 forcedeth) not working

This is a know issue in Ubuntu Linux ( gutsy , hardy ) with nVidia MCP55 Ethernet card.  This  card uses forecedeth module. forecedeth module  is loaded, network card seem to be up and running however it can not ping outside the box. Here is a quick fix for this problem, as a root [...]

Linux Debian-Ubuntu/KDE-Howto Print to a PDF file from firefox using cups-pdf

Here is a small howto print to a PDF file using KDE and firefox. First we need to install cups PDF support:
apt-get install cups-pdf
Then navigate you with mouse to:
KDE -> Control Center -> Select Peripherals -> Printers
From here we need to add new printer click on:
ADD -> Add Printer/Class ( do not select Add [...]

Enable amarok mp3 codec support with ubuntu linux package

By default mp3 support is not enabled for amarok music player. In order to enable amarok mp3 codec support on ubuntu linux you need to install the following package:

apt-get install libxine1-ffmpeg
Once package and its prerequisites are installed may need to restart amarok.

Convert virtual machine from vmware.vmdk to virtualbox.vdi

Easiest way to convert virtual machine from vmware.vmdk to virtualbox.vdi is to use these two tools: qemu and vditool
Navigate to you vmware machine which you would like to convert. Then run following command:
qemu-img convert -f vmdk vmware.vmdk -O raw virtualbox.bin
then you need to download vditool from:
http://www.virtualbox.org/download/testcase/vditool
make vditool executable:

chmod +x vditool
Use vditool to convert virtual images:
./vditool [...]

vditool: error while loading shared libraries: libstdc++.so.5

I have recently run into a problem when I was trying to convert vmware virtual machine to virtualbox using vditool. Apparently having the latest software is not always good idea. vditool is complaining that it is missing libstdc++.so.5 library. I have only installed libstdc++.so.6 which is there by default. libstdc++.so.5 belongs to gcc-3.3-base compiler.
Here is [...]

virtualbox.org – The following signatures couldn’t be verified because the public key is not available

This is for those who are trying to install virtualbox via debian apt-get tool and are having this error message on the screen:
Reading package lists… Done
W: GPG error: http://www.virtualbox.org etch Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 390EC3FF927CCC73
W: You may want to run apt-get update to correct [...]

Disable terminal bell – Debian / Ubuntu

Terminal bell setting for debian and ubuntu are located in /etc/inputrc . Use your favorite editor to open /etc/inputrc file and search for line:
# set bell-style none
change it to:
set bell-style none
Note: you need to exit current terminal to allow changes to take place!

Configure Multiple Virtual IP Addresses on linux

Creating virtual IP address is very easy task. All we need is root access to the ifconfig command. This commands will create virtual ip addresses on eth0-> eth0:0 and eth0:1 network interface:
ifconfig eth0:1 192.168.148.143
ifconfig eth0:2 192.168.148.144