Server Setup

Stock CentOS kernel in OVH

by ,


We have by far the largest RPM repository with dynamic stable NGINX modules and VMODs for Varnish 4.1 and 6.0 LTS. If you want to install NGINX, Varnish and lots of useful modules for them, this is your one stop repository to get all performance related software.
You have to maintain an active subscription in order to be able to use the repository!

OVH provides value for money dedicated servers. In fact, they are so cheap, that if your projects ougrows Linode VPS,
I can recommend OVH for going dedicated, most of the time.

However, the OVH by default installs its own kernels.
Those kernels may be “cut down” by lacking some stock kernel features.

Shiny example if with FirewallD giving such errors on an OVH kernel:

iptables-restore: unable to initialize table 'security'

So if you were unlucky and did not choose “native kernel” during the initial install,
here is how to get the stock kernel when your server is already up and running.

Install the missing bootloader stuff

yum reinstall grub2-efi grub2-efi-modules  shim
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg

Changes in OVH manager

Click on “Boot” -> “Modify”, then choose “Boot from the hard disk”, then confirm the change.
Trigger reboot by selecting Reboot alongside Status.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.