April 2020

Update CentOS 7 kernel in OVH

I need to update newer version of CentOS 7 kernel to allow my server to use Docker with OverlayFS. Identify the server kernel Navigate to the boot directory Download the kernel Regenerate grub2 Reboot the server

Remove Query String in Nginx

I’ve removed and uninstall the some plugins, and I would like to prevent it display some error or 404, so I apply this way to nginx.conf redirection. If you want to redirect permanent, then you can use 302.

nginx: [emerg] open() “/usr/local/directadmin/data/users/apache/nginx_php.conf” failed

Upgarding DirectAdmin, and hit with this error. What I found from Google 1.60.1 fixes it (it was backported to 1.60 about an hour ago too, so, those latest releases not affected). It should have affected boxes only with additional free IPs and nginx. I have updated directadmin to latest version 1.61 but still Nginx not …

nginx: [emerg] open() “/usr/local/directadmin/data/users/apache/nginx_php.conf” failed Read More »

System error ‘[security.WindMcryptCbc.encrypt] extension ‘mcrypt’ is not loaded.’.

I don’t like error, but I have to fix the error, I note down here to do reference. I’m using CentOS 7, I think cause by upgraded from PHP 5 to PHP 7. I’m using DirectAdmin. What I found from internet The mcrypt extension has been abandonware for nearly a decade now, and was also …

System error ‘[security.WindMcryptCbc.encrypt] extension ‘mcrypt’ is not loaded.’. Read More »