Trying to install git in a RHEL Rackspace Dedicated Server, but am getting the following after typing in this command: yum install git
Curl error (7): Couldn't connect to server for
https://rhui.rackspace.com/pulp/mirror//content/dist/rhel8/rhui/8/x86_64/appstream/os
[Failed to connect to rhui.rackspace.com port 443: Connection refused]
Could this be a firewall issue? This is from a clean build. I have the same problem with trying to do a yum install openssl-dev
Curl is installed, but not sure why it's refusing to connect. Is there anyways to get the files on the server linked to a repository on bitbucket through git? This seems like this should be pretty basic stuff to me. Not sure why it's even trying to connect to a rackspace url? Apologies if this is a dumb question, but have looked everywhere for help on this and doesn't seem to be anything online about this. The videos I watched show it working as expected. I even tried installing the dependencies and can't get that to work either yum install git-core
I have also tried the following:
wget https://github.com/git/git/archive/v2.33.1.zip
unzip v2.33.1.zip
cd git-2.33.1/
make prefix=/usr/local all install
This method works up until the last line where it states no such file or directory #include <openssl/ssl.h>
. Than looking up that figured I need to get openssl-dev installed, but not sure if that's leading me down a rabbit hole. Really just want to get git installed on this server if possible?
Ok, it seems I get the 443 Connection refused error anytime I try to install anything with yum
, or dnf
e.g.:
yum groupinstall 'Development Tools'
provides the same error pointing to the same url.