Install kernel 4.7 di Cent0S 6 dan 7

0

Secara default CentOS 7 masih menggunakan kernel 3.10, Untuk menginstall kernel 4,7 di CentOS 7 kita perlu menambahkan Repositori ELRepo.

pertama tambahkan ELRepo GPG Key

# rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

Lalu tambahkan repositori ELRepo di CentOS 7

# rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm

untuk CentOS 6

rpm -Uvh http://www.elrepo.org/elrepo-release-5-5.el5.elrepo.noarch.rpm

Mengaktifkan ELRepo fastest mirror dengan menginstall paket dibawah

# yum install yum-plugin-fastestmirror

================================================================================
 Package Arch Version Repository
 Size
================================================================================
Updating:
 yum-plugin-fastestmirror noarch 1.1.31-34.el7 base 30 k

Transaction Summary
================================================================================
Upgrade 1 Package

Total download size: 30 k
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
yum-plugin-fastestmirror-1.1.31-34.el7.noarch.rpm | 30 kB 00:00 
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
 Updating : yum-plugin-fastestmirror-1.1.31-34.el7.noarch 1/2 
 Cleanup : yum-plugin-fastestmirror-1.1.31-25.el7_0.noarch 2/2 
 Verifying : yum-plugin-fastestmirror-1.1.31-34.el7.noarch 1/2 
 Verifying : yum-plugin-fastestmirror-1.1.31-25.el7_0.noarch 2/2

Updated:
 yum-plugin-fastestmirror.noarch 0:1.1.31-34.el7

Complete!

repositori ELRepo telah ditambahkan, selanjutnya install kernl 4.7 dengan perintah

# yum --enablerepo=elrepo-kernel install kernel-ml

Loaded plugins: fastestmirror, langpacks
elrepo-kernel                                            | 2.9 kB     00:00     
elrepo-kernel/primary_db                                   | 1.6 MB   00:04     
Loading mirror speeds from cached hostfile
 * base: mirror.axarva.co.id
 * elrepo: elrepo.mirror.angkasa.id
 * elrepo-kernel: elrepo.mirror.angkasa.id
 * epel: mirror.smartmedia.net.id
 * extras: mirror.axarva.co.id
 * updates: mirror.axarva.co.id
Resolving Dependencies
--> Running transaction check
---> Package kernel-ml.x86_64 0:4.7.5-1.el7.elrepo will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch        Version                    Repository          Size
================================================================================
Installing:
 kernel-ml      x86_64      4.7.5-1.el7.elrepo         elrepo-kernel       39 M

Transaction Summary
================================================================================
Install  1 Package

Total download size: 39 M
Installed size: 175 M
Is this ok [y/d/N]: 

Kernel 4.7 telah terpasang, untuk menggunakannya reboot dan pilih pada opsi kernel 4.7.
untuk mengecek kernel yang dipakai, gunakan perintah

# uname -r

screenshot-from-2016-10-02-20-29-21

Gabung Channel Telegram nothinux untuk update artikel dan informasi terbaru, Klik Disini

Share.

About Author