Otu esi elele ma wụnye mmelite na CentOS na RHEL


Ịwụnye mmelite maka ngwugwu ngwanrọ ma ọ bụ kernel n'onwe ya, bụ ọrụ akwadoro nke ukwuu ma baa uru maka ndị nchịkwa usoro; karịsịa ma a bịa na mmelite nche ma ọ bụ patches. Ọ bụ ezie na achọpụtara adịghị ike nchekwa, a ga-emelite sọftụwia emetụtara ka o wee belata ihe egwu nchekwa ọ bụla nwere ike ime na sistemụ niile.

Ọ bụrụ na ị haziebeghị sistemụ gị ka ịwụnye patches nche ma ọ bụ mmelite na-akpaghị aka, mgbe ahụ ịkwesịrị iji aka mee ya. N'isiokwu a, anyị ga-egosi gị otu esi elele ma wụnye mmelite ngwanrọ na nkesa CentOS na RHEL.

Ka ịlele maka mmelite ọ bụla dị maka ngwungwu arụnyere gị, jiri njikwa ngwugwu YUM nwere iwu nwelite mmelite; nke a na-enyere gị aka ịhụ mmelite ngwungwu niile sitere na ebe nchekwa niile ma ọ bụrụ na ọ dị.

# yum check-update
Loaded plugins: changelog, fastestmirror
base                                                                                                                                                 | 3.6 kB  00:00:00     
epel/x86_64/metalink                                                                                                                                 |  22 kB  00:00:00     
epel                                                                                                                                                 | 4.3 kB  00:00:00     
extras                                                                                                                                               | 3.4 kB  00:00:00     
mariadb                                                                                                                                              | 2.9 kB  00:00:00     
updates                                                                                                                                              | 3.4 kB  00:00:00     
(1/2): epel/x86_64/updateinfo                                                                                                                        | 842 kB  00:00:15     
(2/2): epel/x86_64/primary_db                                                                                                                        | 6.1 MB  00:00:00     
Loading mirror speeds from cached hostfile
 * base: mirrors.linode.com
 * epel: mirror.vorboss.net
 * extras: mirrors.linode.com
 * updates: mirrors.linode.com

MariaDB-client.x86_64                                                              10.1.28-1.el7.centos                                                             mariadb 
MariaDB-common.x86_64                                                              10.1.28-1.el7.centos                                                             mariadb 
MariaDB-server.x86_64                                                              10.1.28-1.el7.centos                                                             mariadb 
MariaDB-shared.x86_64                                                              10.1.28-1.el7.centos                                                             mariadb 
NetworkManager.x86_64                                                              1:1.8.0-11.el7_4                                                                 updates 
NetworkManager-adsl.x86_64                                                         1:1.8.0-11.el7_4                                                                 updates 
....

Ka imelite otu ngwungwu ka ọ bụrụ ụdị kachasị ọhụrụ, mee iwu n'okpuru. Na ọmụmaatụ a, yum ga-anwa imelite ngwungwu httpd.

# yum update httpd
Loaded plugins: changelog, fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.linode.com
 * epel: mirror.vorboss.net
 * extras: mirrors.linode.com
 * updates: mirrors.linode.com
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.4.6-45.el7.centos.4 will be updated
--> Processing Dependency: httpd = 2.4.6-45.el7.centos.4 for package: 1:mod_ssl-2.4.6-45.el7.centos.4.x86_64
---> Package httpd.x86_64 0:2.4.6-67.el7.centos.6 will be an update
--> Processing Dependency: httpd-tools = 2.4.6-67.el7.centos.6 for package: httpd-2.4.6-67.el7.centos.6.x86_64
--> Running transaction check
---> Package httpd-tools.x86_64 0:2.4.6-45.el7.centos.4 will be updated
---> Package httpd-tools.x86_64 0:2.4.6-67.el7.centos.6 will be an update
---> Package mod_ssl.x86_64 1:2.4.6-45.el7.centos.4 will be updated
---> Package mod_ssl.x86_64 1:2.4.6-67.el7.centos.6 will be an update
....

Ka imelite otu ngwugwu, iwu na-esote ga-emelite ngwa mmepe gị (C na C++ compiler gbakwunyere ihe ndị metụtara ya).

# yum update "Development Tools"
Loaded plugins: changelog, fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.linode.com
 * epel: mirror.vorboss.net
 * extras: mirrors.linode.com
 * updates: mirrors.linode.com
...

Iji kwalite ngwa ngwa sistemụ gị yana dabere na ha na ụdị kachasị ọhụrụ, jiri iwu a:

# yum update
Loaded plugins: changelog, fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.linode.com
 * epel: mirror.vorboss.net
 * extras: mirrors.linode.com
 * updates: mirrors.linode.com
Resolving Dependencies
--> Running transaction check
---> Package MariaDB-client.x86_64 0:10.1.23-1.el7.centos will be updated
---> Package MariaDB-client.x86_64 0:10.1.28-1.el7.centos will be an update
---> Package MariaDB-common.x86_64 0:10.1.23-1.el7.centos will be updated
---> Package MariaDB-common.x86_64 0:10.1.28-1.el7.centos will be an update
---> Package MariaDB-server.x86_64 0:10.1.23-1.el7.centos will be updated
---> Package MariaDB-server.x86_64 0:10.1.28-1.el7.centos will be an update
---> Package MariaDB-shared.x86_64 0:10.1.23-1.el7.centos will be updated
---> Package MariaDB-shared.x86_64 0:10.1.28-1.el7.centos will be an update
---> Package NetworkManager.x86_64 1:1.4.0-19.el7_3 will be obsoleted
---> Package NetworkManager.x86_64 1:1.8.0-11.el7_4 will be obsoleting
....

Ọ bụ ya! Ị nwere ike ịmasị ịgụ akụkọ ndị a metụtara.

  1. Otu esi etinye ma ọ bụ kwalite gaa na ụdị kernel kacha ọhụrụ na CentOS 7
  2. Etu esi ehichapụ kernel ochie anaghị eji na CentOS, RHEL na Fedora
  3. Etu esi etinye mmelite nchekwa na akpaghị aka na Debian na Ubuntu

Na-edobe sistemụ Linux gị oge niile yana mmelite nchekwa kachasị ọhụrụ yana mmelite ngwungwu izugbe. Ị nwere ajụjụ ọ bụla ị ga-ajụ, jiri ụdị nkọwa n'okpuru maka nke ahụ.