Categories
Linux Mastering Development

why pip version isn’t the latest when installing pip via yum

we try to install the latest version of pip by the following ( we have rhel 7.6 server with python 2.7 ) yum install python27-python-pip Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager rhel-7-server-rpms | 3.5 kB 00:00:00 rhel-server-rhscl-7-rpms | 3.4 kB 00:00:00 (1/6): rhel-7-server-rpms/7Server/x86_64/group | 631 kB 00:00:00 (2/6): rhel-7-server-rpms/7Server/x86_64/updateinfo | 3.9 MB 00:00:01 (3/6): rhel-server-rhscl-7-rpms/7Server/x86_64/group […]

Categories
Mastering Development System & Network

Cloudera Manager installation Failed with Could not contact CDS load balancer issue

I am trying to install cloudera manager in Putty and getting the error that "Loaded plugins: amazon-id, rhui-lb, search-disabled-repos, Could not contact any CDS load balancers: rhui2-cds01.us-east-1.aws.ce.redhat.com "

Categories
Linux Mastering Development

failure: repodata/repomd.xml from libnvidia-container: [Errno 256] No more mirrors to try

I followed the instructions from https://developer.nvidia.com/cuda-80-ga2-download-archive sudo rpm -i cuda-repo-rhel7-8-0-local-ga2-8.0.61-1.x86_64-rpm sudo yum clean all sudo yum install cuda Now I get this error at the last step: [jalal@goku GoodNews]$ sudo yum install cuda [sudo] password for jalal: Loaded plugins: aliases, changelog, copr, fastestmirror, kabi, langpacks, nvidia, priorities, product-id, search-disabled-repos, subscription- : manager, tmprepo, verify, versionlock […]

Categories
Linux Mastering Development

yum + how to captured all rpm that was installed by yum update

we performed upgrade from rhel 7.2 to rhel 7.6 the upgrade was by yum update ( from redhat repertoires ) subscription-manager release –set=7.6 subscription-manager repos –enable "rhel-*-optional-rpms" –enable "rhel-*-extras-rpms" –enable "rhel-ha-for-rhel-*-server-rpms" and then we performed yum update we can see also the update from yum history yum history Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager ID […]

Categories
Linux Mastering Development

Using yum versionlock to only allow patch updates?

I am running RHEL7.6 and I need to lock my bind install to 9.11. Currently, we are at 9.11.4, and I would like to take any additional patches for 9.11 that are released. I found the yum versionlock plugin, but after what I thought would just lock it to major.minor, it appears to lock the […]

Categories
Mastering Development System & Network

yum update doesn’t update the package

I’m on RHEL 7. Security team suggested me to update curl and dbus packages. When I try yum update , it says Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. No packages marked for update I verified that the packages are old […]

Categories
Linux Mastering Development

32-bit libraries GCC for RHEL/CentOS 7

yum groupinstall “Compatibility Libraries” Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager There is no installed groups file. Maybe run: yum groups mark convert (see man yum) Warning: Group compat-libraries does not have any packages to install. Maybe run: yum groups mark install (see man yum) No packages in any requested group available to install or update […]

Categories
Mastering Development System & Network

no kubelet kubeadm kubectl packages

I am going through the kebernetes install docs (https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/) and I am at the point where I am suppose to install the kubelet, kubeadm and kubectl RPMs. I created this yum repo: [root@stg-003 ~]# cat /etc/yum.repos.d/kubernetes.repo [kubernetes] name=Kubernetes baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-$basearch enabled=1 gpgcheck=1 repo_gpgcheck=1 gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg exclude=kubelet kubeadm kubectl Then I execute this yum command: [root@stg-003 ~]# […]

Categories
Linux Mastering Development

after `yum clean all` , am getting `cannot use yum` on RHEL 7

While i was working on RHEL7/Centos , i was facing installation issues with yum since it couldnot find any mirrors for php , so i thought cleaning the cache would help so performed this command below. yum clean all After this tried installing php. yum install php it gave me the following error. Loaded plugins: […]

Categories
Linux Mastering Development

what is the right way to install ansible on rhel machines 7.6 version

we want to installs the ansible OFF-LINE on rhel 7.6 machine ( refrence – https://www.linuxschoolonline.com/how-to-install-ansible-offline-on-centos-or-redhat/ ) Ansible needs the following prerequisites to be present on the system python-crypto python-httplib python-jinja2 python-keyczar sshpass so we install by yum all the requested rpm’s as we can see its failed about Error: Package: python-keyczar-0.71c-8.mga7.noarch (/python-keyczar-0.71c-8.mga7.noarch) Requires: python2.7dist(pyasn1) Error: […]