Categories
Mastering Development System & Network

Not able to install docker on redhat

I searched for many links, they are showing only for centos even though the title is for RHEL also. My OS details: cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.4 (Maipo) uname -r 3.10.0-693.58.1.el7.x86_64 I ran this to add repo sudo yum-config-manager –add-repo https://download.docker.com/linux/rhel/docker-ce.repo THen this sudo yum install docker-ce But giving this error. […]

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
Database Development

How to avoid tempdb spill

I have several tempdb spills in queries which are currently serving business purposes. I am told by online searching that tempdb spills should never be ignored as they can cause performance problems. It’s still a bit unclear to me as to why that is. Since I have also read that SQL Server by itself will […]

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
Mastering Development

big data query mongodb, aggregation, single index or compound index

i am trying to speed up a query that im performing to a collection that contains more than 10 million of documents. An example of document looks like this { nMove: 2041242, typeMove: ‘Sold’, date: “2016-05-18T16:00:00Z”, operation: ‘output’, origin: { id: ‘3234fds32fds42’, name: ‘Main storage’, }, products: [{ id: ‘342fmdsff23324432’, name: ‘Product 1’, price: 34, […]

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: […]

Categories
Linux Mastering Development

Can’t install postgresql ver. 11 client on RHEL7

My system on server is: $ lsb_release -d Description: Red Hat Enterprise Linux Server release 7.5 (Maipo) Generally I have a Dockerized running postgres:11 database on this server and roughly speaking I need to create a database dump from it. By typing: $ sudo yum install postgresql I can install postgresql clinet (that includes pg_dump, […]

Categories
Mastering Development System & Network

I can’t install packages using yum [Errno 5] [Errno 13] Permission denied

I cannot install git package on server. Below is the output of yum command: [root@sbybz221033 ~]# yum update git Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager Resolving Dependencies –> Running transaction check —> Package git.x86_64 0:1.8.3.1-21.el7_7 will be updated –> Processing Dependency: git = 1.8.3.1-21.el7_7 for package: perl-Git-1.8.3.1-21.el7_7.noarch —> Package git.x86_64 0:1.8.3.1-22.el7_8 will be an update […]

Categories
Mastering Development System & Network

i cant install packages using yum [Errno 5] [Errno 13] Permission denied

[root@sbybz221033 ~]# yum update git Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager Resolving Dependencies –> Running transaction check —> Package git.x86_64 0:1.8.3.1-21.el7_7 will be updated –> Processing Dependency: git = 1.8.3.1-21.el7_7 for package: perl-Git-1.8.3.1-21.el7_7.noarch —> Package git.x86_64 0:1.8.3.1-22.el7_8 will be an update –> Running transaction check —> Package perl-Git.noarch 0:1.8.3.1-21.el7_7 will be updated —> Package perl-Git.noarch […]

Categories
Mastering Development

How to find out what instruments is behind a FTDI adapter on Windows?

I am currently developing a Python tool for Windows that is able to lookup all devices connected to a windows pc. It already supports ethernet devices and by now I’m trying to add support for USB and serial devices. For those devices I want to read out their vendor id, product id, serial number and […]