When you install a RPM, it checks whether your system is suitable for the software the RPM package contains, figures out where to install the files located inside the rpm package, installs them on your system, and adds that piece of software into its database of installed RPM packages.
The following rpm command installs Mysql client package.
Download the RPMs. This uses the installroot trick suggested here to force a full download of all dependencies since nothing is installed in that empty root.
Yum will create some metadata in there, but we’re going to throw it all away. Note that for CentOS7 releasever would be “7”.
why on CentOS7 this reports things like libssl.so.10(libssl.so.10)(64bit) missing from httpd-tools when openssl-libs-1.0.1e-51.el7_2.2.x86_64.rpm (the provider of that library) is clearly present in the directory.
Still, if you see something obviously missing, this might be a good chance to go back and add it using the same yum install –download only method above.
When offline or after copying the /var/tmp/httpd repo directory to the other server set up the repo there:
Wikitechy Founder, Author, International Speaker, and Job Consultant. My role as the CEO of Wikitechy, I help businesses build their next generation digital platforms and help with their product innovation and growth strategy. I'm a frequent speaker at tech conferences and events.