login to your mysql instance as root user and then use this commands to active mysql query logs

SET GLOBAL log_output = 'FILE';
SET GLOBAL general_log_file = 'nameoflogfile';
SET GLOBAL general_log = 'ON';

Continue reading...

is about a locale issue during a foreman setup on CentOS 7.

locale environment variables were bad; continuing with LANG=C

In my case the output of locale -a showed en_US.utf8 but the output of env and the line line in /etc/locale.conf reads different.
en_US.UTF-8 which seams to be wrong or not translated correctly.
Long Story short, e...

Continue reading...

I've seen this message in a vsftpd Logfile.
Default vsftpd limits the connection from one IP Address to 50.
Solution is to add an unlimited value which will be 0 or a higher number of connections as needed.

max_per_ip=0

Continue reading...

Convert vmdk direct to an empty attached Storage

qemu-img convert path_and_name_of_vmdk_file -O raw /dev/devicename

Continue reading...

short but sweet

firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload

Continue reading...