A short guide on how to install mysqltuner on directadmin powered server. MySQLTuner-perl a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability.
If you want to set individual settings for PHP on a server with Directadmin and Custombuild 2, then for php-fpm and php-fastcgi you can use the following instructions.
If after a recent update of nginx you faced the issue with starting it and see an error: Starting nginx: nginx: [emerg] BIO_new_file("/etc/nginx/ssl.crt/dhparams.pem") failed. Here is a guide on how to solve it.
Diffie-Hellman key exchange is a popular cryptographic algorithm that allows Internet protocols to agree on a shared key and negotiate a secure connection. It is fundamental to many protocols including HTTPS, SSH, IPsec, SMTPS, and protocols that rely on TLS.
Here you can see a short guide on how to configure Nginx as a reverse proxy to support WebDAV, CalDav, CardDAV methods: PROPFIND, OPTIONS, PUT, DELETE, MKCOL, COPY, MOVE, which as of today are disabled in nginx from CustomBuild/Directadmin by default.
A sample on how to save a SSL certificate and key from a PHP script using Directadmin API call to CMD_API_SSL.
Since custombuild 2 gives us opportunity to have a reverse-proxy NGINX Apache on a server and that's quite easy to start using it, we need a small customization to get content cached with Varnish (do you really need it?).
To reduce a number of false alarms and email notifications from CSF/LFD on a Directadmin powered server we need to add some trusted services into an exception list which is stored in /etc/csf/csf.pignore.
Custombuild 2 allows us to have a reverse-proxy NGINX + Apache on Directadmin powered server without a need for any 3rd party scripts or plugins, addons. That's quite easy to start using it.
Should you need to dump mysql proccess list with cron here you can find a nice script to do it. Please feel free to use it on your server, if default mysql slow queries logging is not enough for your purposes.