Getting rid of “kernel:nf_ct_ftp” messages

Sometimes firewall drops nf_ct_ftp messages to console and disturbs the work during increased amount of traffic to FTP port. [crayon-5883efedb2cf0429975947/] Those messages may be redirected by creating a file /etc/rsyslog.d/iptables.conf with contents: [crayon-5883efedb2cfc051727312/] Then restart rsyslog daemon, and all those messages should [...]

Read more

How-to: open/close the luks partition

The title is pretty self-explanatory :) To open the luks partition: [crayon-5883efedaab41072020221/] And to close it: [crayon-5883efedaab4a145173204/] [...]

qemu-kvm: -chardev pty,id=charserial0: Failed to create chardev

This error was received on CentOS 7, at the beginning of the install command: [crayon-5883efedab102545827094/] The fix is to edit /etc/fstab find the devpts line and [...]

Booting KVM VM from CD image

You may list Your all KVM VM with command: [crayon-5883efedab98f100122879/] Edit the config file: [crayon-5883efedab999475393340/] Add the following lines to the [...]

Script: populating the domainips file for the exim automatically (DirectAdmin)

Script for populating /etc/virtual/domainips records for the exim. Exim configuration change is described here It takes IP that is assigned to that domain in Directadmin [...]

How-to: Sending emails using IP address per domain in exim (Directadmin)

To be able to send mails via different IP per domain, You need to do the following changes in the /etc/exim.conf file: Find the "remote_smtp:" part, and add line [...]

php5-fpm socket permission denied.

After updating the system, one error occured, despite that everything worked before. [crayon-5883efedac6db523914331/] The reason of it is that despite the defined [...]

changing mysql to innodb_file_per_table=1 with lvm and replication almost without downtime

This conversion was made with mysql 5.5, but it should work with older versions, as replications on mysql were introduced since mysql 3.23.15. Don't forget the Disclaimer [...]