Juzhax Technology

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

mount: unknown filesystem type overlay

You need Linux kernel 3.14++ to use overlayFS. I need to use overlayFS because Docker recommend to use it The devicemapper storage driver is deprecated in Docker Engine 18.09, and will be removed in a future release. It is recommended that users of the devicemapper storage driver migrate to overlay2. It doesn’t work So, I try to update the newest Continue reading “mount: unknown filesystem type overlay”

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 Continue reading “nginx: [emerg] open() “/usr/local/directadmin/data/users/apache/nginx_php.conf” failed”

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 Continue reading “System error ‘[security.WindMcryptCbc.encrypt] extension ‘mcrypt’ is not loaded.’.”

How to change pkgcloud Openstack from Keystone API v2 to v3 for OVH

From my previous post, it gives example for php-opencloud for Openstack. You may using pkgcloud for nodeJS, so here is the example settings that you may need. If you are using pkgcloud and was using API v2, you should update the code to v3. The documents doesn’t provide detail for the setting on OVH. So Continue reading “How to change pkgcloud Openstack from Keystone API v2 to v3 for OVH”