Setting up HTTP server
Before configuring your local repository, please ensure you have the following prerequisites:
- Setting up a
repository node, which can be within the cluster, which runs a supported operating system. - Allow all nodes in your cluster to access the
repository nodevia the network. - The
repository nodemust have a package manager installed such asyum/dnf(forRHEL,CentOSorRocky Linux) orapt(forUbuntu).
Creating a HTTP server
Préconisation
The Clemlab team recommends the use of Apache httpd.
Setup
- RHEL/CentOS 7
- RHEL/CentOS/Rocky Linux 8
- Ubuntu 22.04
sudo yum install -y httpd
sudo dnf install -y httpd
sudo apt install -y apache2
Enable
- RHEL/CentOS 7
- RHEL/CentOS/Rocky Linux 8
- Ubuntu 22.04
sudo systemctl enable httpd && sudo systemctl start httpd
sudo systemctl enable httpd && sudo systemctl start httpd
sudo systemctl enable apache2 && sudo systemctl start apache2