5. Set up a HTTP server
Before we can boot into the CentOS Installer via network, we will have to host the contents of a CentOS ISO image locally from our master node. Compute nodes are not able to access the internet in our configuration. This isolation is very common and wanted.
We will host the contents of the CentOS Linux distribution using a Apache HTTP server.
Get the Apache web server by installing the
httpd
package.[root@master ~]# yum install httpd
Enable and start the service
[root@master ~]# systemctl enable httpd [root@master ~]# systemctl start httpd
By default this server will host files from /var/www/html
. This is
good enough for our purposes.