Categories
Uncategorized

How to make iptables configuration persistent using systemd

Make iptables configuration persistent using systemd file with additional possibility to disable firewall after defined period of time.

Categories
Uncategorized

How to make iptables configuration persistent using custom service file

Make iptables configuration persistent using custom service file with additional features like configurable wait time, so you can safely interrupt execution and test mode that will disable firewall after defined period of time.

Categories
Uncategorized

How to upgrade pip on Debian Wheezy

Debian Wheezy provides an ancient version of pip utility for installing Python packages. To put it very simply, it does not work anymore as it is not using HTTPS protocol, but fortunately this issue can be quickly fixed.

Categories
Uncategorized

How to regenerate the boot configuration for mdadm

Alteration of the software RAID arrangement often requires an update to the boot configuration of the mdadm utility for management of Software RAID.

Categories
Uncategorized

How to install missing init system helpers

The init-system-helpers package that provides a helper tools for all init systems is not available in primary Debian Wheezy repositories. You need to use wheezy-backports repository to install it on that operating system.

Categories
Uncategorized

How to setup operating-system-level virtualization solution

Build your first VServer on Debian Wheezy using psand.net public repository.

Categories
Uncategorized

How to use chkconfig on Debian Wheezy

I have already described chkconfig utility in
CentOS – How to manage system services
blog post, but today I want to mention that you can also use it to manage services on Debian Wheezy.

Categories
Uncategorized

How to exclude data from certain tables during PostgreSQL backup

I often want to omit data from certain tables during PostgreSQL database backup. Today I will look into this and post my findings for further reference.

Categories
SysOps

How to terminate active ssh sessions

Several months ago I have shortly described how to close a non-responsive ssh session, which comes in handy at times. Today I will describe how to close every active ssh session by inspecting existing pseudoterminals.

Categories
SysOps

How to inspect PostgreSQL queries

Sometimes I want to inspect and verify queries made by an application or hunt a bug that involves more complex queries. The essential part of this process requires altering PostgreSQL server configuration to log SQL statements.