Updating rpm commands
Make sure that your firewall allows configuring RHSM, for more information see How do I access RHSM (yum) through a firewall? General information on RHSM can be found in Red Hat Network Subscription Management, while FAQ for Changes to Red Hat's Entitlement Platform with RHEL 6.1 and 5.7 provides a quick overview and a comparison with RHN.
Refer to FAQ for Changes to Red Hat's Entitlement Platform with RHEL 6.1 and 5.7 and What's the difference between management services provided by Red Hat Network (RHN) Classic and Red Hat Subscription Management (RHSM)? To register your system either trough the GUI or form the command line follow the instructions in the Using and Configuring Red Hat Subscription Manager guide.RPM is a RPM Package Manager (originally called Red Hat Package Manager).Both Novell Suse Linux and Red Hat Linux support (Fedora Linux) uses rpm.Mandatory Groups: base core file-server print-server Optional Groups: backup-client backup-server debugging directory-client guest-agents ha hardware-monitoring java-platform large-systems network-file-system-client performance remote-system-management resilient-storage Loading "installonlyn" plugin Loading "security" plugin Setting up repositories Reading repository metadata in from local files Extra Packages Deny Hosts.noarch 2.6-python2.4 installed VMware Tools.i386 6532-44356 installed john.i386 220.127.116.11-3.el5installed kernel.i686 2.6.18-8.1.15.el5 installed kernel-devel.i686 2.6.18-8.1.15.el5 installed lighttpd.i386 1.4.18-1.el5installed lighttpd-fastcgi.i386 1.4.18-1.el5installed psad.i386 2.1-1 installed rssh.i386 2.3.2-1.2.el5installed Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.* epel: * extras: centos.* updates: centos.setup-2.8.71-7.el7.noarch : A set of system configuration and setup files Repo : base Matched from: Filename : /etc/passwd setup-2.8.71-7.el7.noarch : A set of system configuration and setup files Repo : @base Matched from: Filename : /etc/passwd Loaded plugins: fastestmirror Cleaning repos: base epel extras updates Cleaning up everything Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos Cleaning up list of fastest mirrors Loaded plugins: fastestmirror Cleaning repos: base epel extras updates Cleaning up everything Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos Cleaning up list of fastest mirrorsrepo id repo name status base/7/x86_64 Cent OS-7 - Base 9591 epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 12155 extras/7/x86_64 Cent OS-7 - Extras 327 nginx/x86_64 nginx repo 313 updates/7/x86_64 Cent OS-7 - Updates 1573 repolist: 23959Repo-id : nginx/x86_64 Repo-name : nginx repo Repo-status : enabled Repo-revision: 1511279401 Repo-updated : Tue Nov 21 2017 Repo-pkgs : 313 Repo-size : 143 M Repo-baseurl : Repo-expire : 21600 second(s) (last: Sat Dec 23 2017) Filter : read-only:present Repo-filename: /etc/yum.repos.d/repolist: 313 The author is the creator of nix Craft and a seasoned sysadmin, Dev Ops engineer, and a trainer for the Linux operating system/Unix shell scripting.In order to install an RPM package you must first have the RPM package you are trying to install on your system.