fbpx

Server Setup

Stock CentOS kernel in OVH

by ,


We have by far the largest RPM repository with NGINX module packages and VMODs for Varnish. If you want to install NGINX, Varnish, and lots of useful performance/security software with smooth yum upgrades for production use, this is the repository for you.
Active subscription is required.

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

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

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