General Kernel Practices On CentOS

Home » Asterisk Users » General Kernel Practices On CentOS
Asterisk Users 9 Comments

Hello,

I’m used to install Asterisk on Debian stable platforms.

A customer is asking how I would proceed on a CentOS platform.

After a short research (see [1] as an example), I’m wondering what are general kernel practices on CentOS regarding Asterisk and when targeting stability:

– Is it recommended to upgrade kernel version(s) (ie moving from linux 3.10
to 4.3) just after OS installation ?

Best regards

9 thoughts on - General Kernel Practices On CentOS

  • CentOS 7 works well with Asterisk. Install latest CentOS7 with updates install asterisk

    I am running FreePBX on CentOS 7.

    Ron

  • Hello Ron, Which kernel do you run Asterisk/Freepbx with ?
    Cheers

    2017-12-14 16:57 GMT+01:00 Ron Wheeler :

  • It currently runs Linux 3.10.0-693.5.2.el7.x86_64 on x86_64 which I
    believe is the latest CentOS 7.

    I apply updates as they are issues by the CentOS team.

    I just installed the latest FreePPBX from https://www.freepbx.org/downloads/ on bare hardware. This included Sangoma’s version of CentOS 7 build 1701. After the install, I apply updates as they are issues by the CentOS team.

    Works fine.

    Ron

  • Linux x.y.com 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC
    2017 x86_64 x86_64 x86_64 GNU/Linux I try to keep up with the latest versions of everything.

    Ron

  • Olivier

    If you installed asterisk from source, you need to recompile it after kernel version upgrade.

    This will compile & install asterisk modules with latest installed kernel sources.

  • Asterisk needs nothing from the specific version (certainly not with respect to minor version changes).

  • That only applies to DAHDI, not Asterisk.

    I add exclude=*kernel* to /etc/yum.conf so the kernel doesn’t get upgraded accidentally and break DAHDI.

  • The Ubuntu (though not the Debian) dahdi package uses dkms and thus will automatically build as you install (install? boot to the?) new kernel.