Installing Red Hat Enterprise Linux 7
Introduction
Downloading the RHEL image
The RHEL repositories can be studied on the site
rhel.org
The list of x86_64 repositories for Red Hat Enterprise Linux 7 can be found
here
For RHEL 8
here
Downloading with wget
An example of downloading with
wget
. I am in
Helsinki
so the nearest repository is ftp.funet.fi
Some other repository from the list may be closer to you
wget http://ftp.funet.fi/pub/mirrors/rhel.org/7.9.2009/isos/x86_64/RHEL-7-x86_64-DVD-2009.iso
--2021-11-03 12:36:59-- http://ftp.funet.fi/pub/mirrors/rhel.org/7.9.2009/isos/x86_64/RHEL-7-x86_64-DVD-2009.iso Resolving ftp.funet.fi (ftp.funet.fi)... 193.166.3.2, 2001:708:10:8::2 Connecting to ftp.funet.fi (ftp.funet.fi)|193.166.3.2|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4712300544 (4.4G) [application/x-iso9660-image] Saving to: ‘RHEL-7-x86_64-DVD-2009.iso’ RHEL-7-x86_64-DVD 100%[===================>] 4.39G 2.17MB/s in 23m 24s 2021-11-03 13:00:23 (3.20 MB/s) - ‘RHEL-7-x86_64-DVD-2009.iso’ saved [4712300544/4712300544]
As a result, RHEL-7-x86_64-DVD-2009.iso is downloaded to the current directory
If you want to save the image to another directory, use the -P option
In the next command I chose another repository from the list and another image, this time NetInstall
wget -P ~/Downloads http://mirror.hosthink.net/rhel/7.9.2009/isos/x86_64/RHEL-7-x86_64-NetInstall-2009.iso
--2021-11-03 13:09:47-- http://mirror.hosthink.net/rhel/7.9.2009/isos/x86_64/RHEL-7-x86_64-NetInstall-2009.iso Resolving mirror.hosthink.net (mirror.hosthink.net)... 95.216.21.104 Connecting to mirror.hosthink.net (mirror.hosthink.net)|95.216.21.104|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 602931200 (575M) [application/octet-stream] Saving to: ‘mirror.hosthink.net/rhel/7.9.2009/isos/x86_64/RHEL-7-x86_64-NetInstall-2009.iso’
The image RHEL-7-x86_64-NetInstall-2009.iso will be downloaded to the ~/Downloads directory
If you want to keep the whole directory hierarchy of the repository. For example, if you plan to download several files, use the -x option
wget -x http://mirror.hosthink.net/rhel/7.9.2009/isos/x86_64/RHEL-7-x86_64-NetInstall-2009.iso
--2021-11-03 13:09:47-- http://mirror.hosthink.net/rhel/7.9.2009/isos/x86_64/RHEL-7-x86_64-NetInstall-2009.iso Resolving mirror.hosthink.net (mirror.hosthink.net)... 95.216.21.104 Connecting to mirror.hosthink.net (mirror.hosthink.net)|95.216.21.104|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 602931200 (575M) [application/octet-stream] Saving to: ‘mirror.hosthink.net/rhel/7.9.2009/isos/x86_64/RHEL-7-x86_64-NetInstall-2009.iso’
A directory hierarchy will be created in the current directory
mirror.hosthink.net/rhel/7.9.2009/isos/x86_64/
and the image will be downloaded into it RHEL-7-x86_64-NetInstall-2009.iso
Installing Red Hat Enterprise Linux 7
I recommend enabling the required network interfaces in advance
Article author: Andrei Olegovich