Categories
Uncategorized

Debian – How to read DHCP packets

I am playing with DHCP option 82 so I need to read DHCP packets. The easiest way to do this is to use dhcpdump by Edwin Groothuis because of very simple usage and friendly output.

Categories
Uncategorized

Debian – How to change time zone

This is rarely performed task but an easy one. To change time zone you need to reconfigure tzdata package.

Categories
Uncategorized

Debian – How to replicate data over network using GlusterFS

Recently I needed to replicate data between two Linux servers so I could mitigate potential hardware failure. To achieve this goal I used GlusterFS – an Open Source distributed file system. In this example I will use Debian Wheezy as I want to try more recent version of GlusterFS.

Categories
Uncategorized

PlayOnLinux – Easy way to run Windows apps on Linux

From time to time I play older games on my notebook. I download them from Good Old Games and play on Linux as most of them works and it is easy to check which one are supported using WineHQ website. Recently I installed PlayOnLinux and I like it because it allows to keep and manage all Windows applications in one place.

How to mount software RAID1 member using mdadm

Just a moment ago I connected my old hard drive and realized that it was a RAID member.

Categories
Uncategorized

How to quickly download or upload directory tree over FTP

The fastest way to download or upload directory tree over FTP using just plain console is to execute lftp command.

Categories
Uncategorized

How to determine current run-level using Linux

To print current run-level execute:

$ who -r
run-level 3  2012-01-17 17:06

To print previous and current run-level execute:

$ sudo runlevel
N 3
Categories
SecOps SysOps

How to check established TCP connections

Display established TCP connections inside the terminal.

VLC – quick solution for problems with HTTPS certs

Certificate could not be verified error.