CentOS, RHEL എന്നിവയിലെ അപ്uഡേറ്റുകൾ എങ്ങനെ പരിശോധിച്ച് ഇൻസ്റ്റാൾ ചെയ്യാം


സോഫ്uറ്റ്uവെയർ പാക്കേജുകൾക്കോ കേർണലിനോ ഉള്ള അപ്uഡേറ്റുകൾ ഇൻസ്റ്റാൾ ചെയ്യുന്നത് സിസ്റ്റം അഡ്മിനിസ്ട്രേറ്റർമാർക്ക് വളരെ ശുപാർശ ചെയ്യപ്പെടുന്നതും പ്രയോജനകരവുമായ ഒരു ജോലിയാണ്; പ്രത്യേകിച്ച് സുരക്ഷാ അപ്ഡേറ്റുകൾ അല്ലെങ്കിൽ പാച്ചുകൾ വരുമ്പോൾ. സുരക്ഷാ കേടുപാടുകൾ കണ്ടെത്തുമ്പോൾ, ബാധിത സോഫ്uറ്റ്uവെയർ അപ്uഡേറ്റ് ചെയ്യണം, അങ്ങനെ മുഴുവൻ സിസ്റ്റത്തിനും സുരക്ഷാ അപകടസാധ്യതകൾ കുറയ്ക്കും.

സെക്യൂരിറ്റി പാച്ചുകളോ അപ്uഡേറ്റുകളോ സ്വയമേവ ഇൻസ്റ്റാൾ ചെയ്യാൻ നിങ്ങളുടെ സിസ്റ്റം കോൺഫിഗർ ചെയ്uതിട്ടില്ലെങ്കിൽ, നിങ്ങൾ അത് സ്വമേധയാ ചെയ്യേണ്ടതുണ്ട്. ഈ ലേഖനത്തിൽ, CentOS, RHEL വിതരണങ്ങളിൽ സോഫ്uറ്റ്uവെയർ അപ്uഡേറ്റുകൾ എങ്ങനെ പരിശോധിക്കാമെന്നും ഇൻസ്റ്റാൾ ചെയ്യാമെന്നും ഞങ്ങൾ നിങ്ങളെ കാണിക്കും.

നിങ്ങളുടെ ഇൻസ്റ്റോൾ ചെയ്ത പാക്കേജുകൾക്കായി ലഭ്യമായ അപ്ഡേറ്റുകൾ പരിശോധിക്കുന്നതിന്, ചെക്ക്-അപ്ഡേറ്റ് സബ്കമാൻഡ് ഉപയോഗിച്ച് YUM പാക്കേജ് മാനേജർ ഉപയോഗിക്കുക; എല്ലാ റിപ്പോസിറ്ററികളിൽ നിന്നുമുള്ള എല്ലാ പാക്കേജ് അപ്uഡേറ്റുകളും ലഭ്യമാണെങ്കിൽ കാണാൻ ഇത് നിങ്ങളെ സഹായിക്കുന്നു.

# 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 
....

ലഭ്യമായ ഏറ്റവും പുതിയ പതിപ്പിലേക്ക് ഒരൊറ്റ പാക്കേജ് അപ്ഡേറ്റ് ചെയ്യുന്നതിന്, താഴെയുള്ള കമാൻഡ് പ്രവർത്തിപ്പിക്കുക. ഈ ഉദാഹരണത്തിൽ, httpd പാക്കേജ് അപ്ഡേറ്റ് ചെയ്യാൻ yum ശ്രമിക്കും.

# 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
....

ഒരു പാക്കേജ് ഗ്രൂപ്പ് അപ്ഡേറ്റ് ചെയ്യുന്നതിന്, താഴെ പറയുന്ന കമാൻഡ് നിങ്ങളുടെ ഡെവലപ്മെന്റ് ടൂളുകൾ (C, C++ കംപൈലർ പ്ലസ് അനുബന്ധ യൂട്ടിലിറ്റികൾ) അപ്ഡേറ്റ് ചെയ്യും.

# 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
...

നിങ്ങളുടെ എല്ലാ സിസ്റ്റം സോഫ്uറ്റ്uവെയറുകളും അവയുടെ ഡിപൻഡൻസികളും ഏറ്റവും പുതിയ പതിപ്പിലേക്ക് അപ്uഗ്രേഡ് ചെയ്യുന്നതിന്, ഈ കമാൻഡ് ഉപയോഗിക്കുക:

# 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
....

അത്രയേയുള്ളൂ! ഇനിപ്പറയുന്ന അനുബന്ധ ലേഖനങ്ങൾ വായിക്കാൻ നിങ്ങൾ ആഗ്രഹിച്ചേക്കാം.

  1. CentOS 7-ൽ ഏറ്റവും പുതിയ കേർണൽ പതിപ്പ് എങ്ങനെ ഇൻസ്റ്റാൾ ചെയ്യാം അല്ലെങ്കിൽ അപ്uഗ്രേഡ് ചെയ്യാം
  2. CentOS, RHEL, Fedora എന്നിവയിലെ പഴയ ഉപയോഗിക്കാത്ത കേർണലുകൾ എങ്ങനെ ഇല്ലാതാക്കാം
  3. ഡെബിയൻ, ഉബുണ്ടു എന്നിവയിൽ സുരക്ഷാ അപ്uഡേറ്റുകൾ സ്വയമേവ എങ്ങനെ ഇൻസ്റ്റാൾ ചെയ്യാം

ഏറ്റവും പുതിയ സുരക്ഷയും പൊതുവായ പാക്കേജ് അപ്uഡേറ്റുകളും ഉപയോഗിച്ച് നിങ്ങളുടെ Linux സിസ്റ്റം എപ്പോഴും അപ് ടു ഡേറ്റ് ആയി നിലനിർത്തുക. നിങ്ങൾക്ക് എന്തെങ്കിലും ചോദ്യങ്ങൾ ചോദിക്കാനുണ്ടോ, അതിനായി താഴെയുള്ള കമന്റ് ഫോം ഉപയോഗിക്കുക.