Linux Tips

How to add multiple IPs to a single ethernet card in CentOS from CLI

When you you wish to run multiple services bound to different IPs possibly under different subnets from a single machine the simple way is to create multiple virtual adapters tied to a single physical card. The following instructions are for CentOS but should also work for RedHat and Fedora.

How to unrar and combine multiple RAR files in Ubuntu

Rar used to be a favorite compression format when the compressed files were to be split into multiple pieces to fit into legacy external storage devices like Floppy, Zip disk, CD etc. WinRAR is a popular GUI application that can rar and unrar files in the rar format. If however you come across rar files that are split into multiple parts then you can extract and combine them as follows

How to open .eml files and included attachments in Ubuntu or any other GNU Linux distro

If you are a regular GNU Linux user there is a very good chance that you will come across emails forwarded to you as .eml files once in a while. .eml is the extension used for files saved as emails from Microsoft outlook or outlook Express. It is normally just a matter of opening these files with gedit as the files are plain text files unless they have attachments. If the attached .eml files themselves have attachments you run into the problem of actually having to open these base64 encoded attachments. The default set of applications in Ubuntu does not directly allow you to do this but there is an easy work around for this problem.

How to fix hash sum mismatch and size mismatch errors from apt-get / apt-cacher

We run apt-cacher to save bandwidth in our intranet. All Ubuntu systems in our office uses the apt-cacher server to update and upgrade. Recently we started getting the hash sum mismatch and size mismatch errors. After some dabbling with the settings and the files we figured out a simple solution for this problem.
Syndicate content