summaryrefslogtreecommitdiff
path: root/doc/installation/elrepo_kernel_inst.rst
blob: a2c3501dc3809e06fac3cd49d805c6357588aa31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.. _elrepo_kernel_inst:

Install kernel from elrepo
==========================

At first need enable ELRepo Repository. To set up ELRepo repository, you need to import its official GPG key and then install ELRepo RPM as follows. Also you can follow original http://elrepo.org/tiki/tiki-index.php instalation guide.

For Centos 7

.. code-block:: sh
  
  rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
  rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm

For Centos 8

.. code-block:: sh
  
  rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
  yum install https://www.elrepo.org/elrepo-release-8.0-2.el8.elrepo.noarch.rpm

Install kernel-ml and kernel-ml-devel
  
.. code-block:: sh

 yum --enablerepo=elrepo-kernel install -y kernel-ml kernel-ml-devel

To show installed kernels run command:

.. code-block:: sh

  awk -F\' '$1=="menuentry " {print $2}' /etc/grub2.cfg

Set installed kernel as default for grub2 bootloader:

.. code-block:: sh

  grub2-set-default 0

Reboot system and check kernel version

.. code-block:: sh

  uname -r

Now you can continue :ref:`install_centos` with modules **vlan_mon** and **ipoe**