Centos 6 – Recompile Apache Suexec

Published on Author gryzli1 Comment

By default Centos 6 has Apache (2.2.x) which comes with suexec preinstalled. The suexec module itself could be found here: /etc/httpd/modules/mod_suexec.so There is also a suexec wrapper binary, which is by default installed here: /usr/sbin/suexec   0. What is the problem with default suexec ? Imagine you want to activate Suexec for some of your… Continue reading Centos 6 – Recompile Apache Suexec

(Fedora) Lenovo Thinkpad T440 T450 T460 – Fix Trackpoint Scrolling And Left Button

Published on Author gryzliLeave a comment

The Problem I was using Fedora 23 happily with my old Thinkpad T520 and all of my trackpoint “stuff” was working just fine. After buying a new T460, suddenly I faced some trackpoint-related problems: First: The middle trackpoint button stopped scrolling anything Second: The left trackpoint button stopped working for marking text (only double-clicks were… Continue reading (Fedora) Lenovo Thinkpad T440 T450 T460 – Fix Trackpoint Scrolling And Left Button

Cpanel – Disable eximstats and truncate database from commandline

Published on Author gryzliLeave a comment

Few words about Eximstats Eximstats is a cPanel service, which is used to gather all kind of statistics for your incoming/outgoing email correspondence. The initial idea of such service is very nice, but after some time there arise some problems: The eximstats database tends to grow enormously ( especially if you have high-volume mail traffic)… Continue reading Cpanel – Disable eximstats and truncate database from commandline

Nginx – Hardening SSL security by protecting from well-known attack vectors

Published on Author gryzliLeave a comment

Recently bunch of SSL attacks pop out, some of which get lot of public attention: Heartbleed Beast attack Crime attack Freak attack Poodle …..and so on ….   Disabling SSLv3 and SSLv2 and Excluding Weak Cipher-Suites   If you want to protect your Nginx from the biggest part of these attacks, you can add the… Continue reading Nginx – Hardening SSL security by protecting from well-known attack vectors

MySQL – Creating stored procedures

Published on Author gryzliLeave a comment

Stored Procedures in MySQL are the typical primer for great ideas and bad implementation. Even that I have stored procedures, because of their performance penalties, recently I had to write one. The procedure itself was very simple, but there were some catchy stages I would like to describe in case I need to write such… Continue reading MySQL – Creating stored procedures

Lua – The beginning in lua programming

Published on Author gryzliLeave a comment

Lua is fast, light-weight and powerfull scripting language. If we trust the creators website, Lua must be the fastest interpreted programming language, which is a big reason to love it.   Lua Programming – The basis The is no “line ending delimiters” in lua ,but if you like, you can use “;” as delimiter. The line… Continue reading Lua – The beginning in lua programming

ModSecurity – Using Lua scripts with ModSecurity

Published on Author gryzliLeave a comment

If you decide to use ModSecurity ‘s support of  Lua, here you can find some usefull tips to consider. Short story … At the time of writing this article, the current ModSecurity version is 2.9.0, which provides plenty of functionalities. However if you want to go deep into web application filtering or maybe you need to… Continue reading ModSecurity – Using Lua scripts with ModSecurity

Cpanel – Making persistent changes to Dovecot

Published on Author gryzliLeave a comment

Need to make persistent changes to Dovecot config under cpanel ? If by some reason you need to make persistent changes to Dovecot and you are running cPanel here is how to do it. Keep in mind that when using cPanel, if you try to make a direct change to the Dovecot configuration file, which… Continue reading Cpanel – Making persistent changes to Dovecot

Make Your WordPress At Least 3x Faster By Migrating To Nginx + PHP-FPM

Published on Author gryzliLeave a comment

If you want to make your WordPress at least 3x faster , then you should definitely read below…. Yesterday I woke up, and my first thought was – I need to make my WordPress blog faster !   Caring about performance ! That’s a great idea and most of the time, there is bunch of… Continue reading Make Your WordPress At Least 3x Faster By Migrating To Nginx + PHP-FPM