Archive for the 'Linux' Category

 

 

May 01 2013

Change Linux Keyboard

Published by under Linux

One can change the current session keyboard mapping with loadkeys. To load the French keyboard map, simply run loadkeys fr   Available keymaps can be found in /lib/kbd/keymaps/ You can even create your own

No responses yet

Nov 30 2012

IPTables Traffic Redirection on Linux

Published by under Linux

Whether you need to redirect telnet or ssh connections through a server because you don’t have direct access to your final destination or you’re planning a web server migration, traffic forwarding comes in handy in many situations.This is easily achieved on Linux distributions that come with IPtables. Yes, iptables isn’t just for ACL rules, but […]

No responses yet

Jan 14 2011

Multipath on iSCSI Disks and LVM Partitions on Linux

Published by under Linux,Storage

Here are a few steps to configure iSCSI disks on Linux. Although I set this up on a Redhat Enterprise connected to an HP MSA 2012i, the whole configuration remains generic and can be applied to any SAN.I will add another post to check how both Linux and Windows perform on the same iSCSI device, […]

No responses yet

Aug 12 2010

Backup a Directory when Modified

Published by under Backup,Linux

I use this script to keep a full local backup of my tftp directory hosted on Linux. It keeps the archive only if some of the files were modified. It lets me restore in a quicker way than using a heavy backup software, which can be used beside to secure the backup elsewhere.The shell script […]

No responses yet

Feb 09 2010

Display Network Stats on Linux with Iptables

Published by under Linux

As for any firewall, iptables is able to do network statistics reporting. the -v (–verbose) option along with the list switch (-L) show packets and bytes counters.Network stats are available on a per rule basis. Here is an example on the INPUT chain:   In this example, you could split the RELATED and ESTABLISHED state rule […]

No responses yet

« Prev - Next »