How To Update Maximum Number Of Mysql Connections On Linux

There is often necessary to increase the maximum number of MySQL connections in order to prevent “Too Many Connections” error. If you’re on LAMP, you’re welcome to follow one of these ways: For a temporary solution you might want to execute the following query: SET GLOBAL max_connections = 500; This will increase max_connections directive to 500, but will… Read More »

How To Find The Version of Linux You Are Using

Sometimes you need to know what version of the Operating system is installed on your server. This is extremely useful when you order a dedicated server and want to know what is the version of OS on it. A simple command will help you as usual: cat `ls /etc/*{-,_}{release,version} 2>/dev/null | head -n 1` This will show you… Read More »

Roundcube Bug Found in Directadmin: How to Fix

An urgent message came from my hosting service provider. They’re telling me that a vulnerability has been found in Directadmin, and it is related to Roundcube. Since there is no patch available yet, they recommend to do the following to prevent your server going down: # cd /var/www/html # rm -rf roundcubemail-* roundcube # mkdir roundcube # echo… Read More »