In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article focuses on "how to use yum commands to upgrade plug-ins in the CentOS system". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to use yum commands to upgrade plug-ins in CentOS systems.
The security upgrade of the server is necessary, so here is a yum plug-in: yum-plugin-security for security upgrade.
1. Yum-plugin-security is installed by default on the general system. If not, enter the command to install yum-plugin-security:
$sudo yum install yum-security
two。 If it is red hat 6, a updateinfo command has been added. This command is used to view a list of software that can be safely updated (view only, not update). Enter the following command:
The code is as follows:
$sudo yum updateinfo list security
Output:
The code is as follows:
Loaded plugins: security, versionlock
CVE-2013-1619 security gnutls-2.8.5-10.el6_4.1.x86_64
CVE-2013-1493 security java-1.6.0-openjdk-1:1.6.0.0-1.57.1.11.9.el6_4.x86_64
CVE-2013-0809 security java-1.6.0-openjdk-1:1.6.0.0-1.57.1.11.9.el6_4.x86_64
CVE-2013-0268 security kernel-uek-2.6.39-400.17.2.el6uek.x86_64
CVE-2013-0268 security kernel-uek-firmware-2.6.39-400.17.2.el6uek.noarch
CVE-2012-4929 security openssl-1.0.0-27.el6_4.2.x86_64
CVE-2013-0166 security openssl-1.0.0-27.el6_4.2.x86_64
CVE-2013-0169 security openssl-1.0.0-27.el6_4.2.x86_64
Updateinfo list done
For red hat or centos version 5.x, use the following command to view a list of software that can be safely updated:
The code is as follows:
$sudo yum list updates-security
To upgrade packages that require security updates, enter the command:
The code is as follows:
$sudo yum update-security
The output is as follows:
The code is as follows:
Loaded plugins: security, versionlock
Setting up Update Process
Resolving Dependencies
Limiting packages to security relevant ones
5 package (s) needed (+ 0 related) for security, out of 17 available
-> Running transaction check
-> Package gnutls.x86_64 0RU 2.8.5-10.el6 will be updated
-> Package gnutls.x86_64 0RU 2.8.5-10.el6_4.1 will be an update
-> Package java-1.6.0-openjdk.x86_64 1purl 1.6.0.0-1.56.1.11.8.el6_3 will be updated
-> Package java-1.6.0-openjdk.x86_64 1purl 1.6.0.0-1.57.1.11.9.el6_4 will be an update
-> Package kernel-uek.x86_64 0RU 2.6.39-400.17.2.el6uek will be installed
-> Package kernel-uek-firmware.noarch 0RU 2.6.39-400.17.2.el6uek will be installed
-> Package openssl.x86_64 0vl 1.0.0-27.el6 will be updated
-> Package openssl.x86_64 0vl 1.0.0-27.el6_4.2 will be an update
-> Finished Dependency Resolution
-> Running transaction check
-> Package kernel-uek.x86_64 0RU 2.6.39-300.17.3.el6uek will be erased
-> Package kernel-uek-firmware.noarch 0RU 2.6.39-300.17.3.el6uek will be erased
-> Finished Dependency Resolution
Dependencies Resolved
=
Package Arch Version Repository Size
=
Installing:
Kernel-uek x8631 64 2.6.39-400.17.2.el6uek ol6_UEK_latest 27m
Kernel-uek-firmware noarch 2.6.39-400.17.2.el6uek ol6_UEK_latest 3.5m
Updating:
Gnutls x8634 2.8.5-10.el6_4.1 ol6_latest 345k
Java-1.6.0-openjdk x86 "64 1purl 1.6.0.0-1.57.1.11.9.el6_4 ol6_latest 25m
Openssl x8634 1.0.0-27.el6_4.2 ol6_latest 1.4m
Removing:
Kernel-uek x8631 64 2.6.39-300.17.3.el6uek @ ol6_UEK_latest 99 M
Kernel-uek-firmware noarch 2.6.39-300.17.3.el6uek @ ol6_UEK_latest 5.0m
Transaction Summary
=
Install 2 Package (s)
Upgrade 3 Package (s)
Remove 2 Package (s)
Total download size: 57 M
If you enter y for Is this ok [y]: / /, you will confirm the upgrade.
End!
At this point, I believe you have a deeper understanding of "how to use the yum command upgrade plug-in in the CentOS system". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.