Updates

Updates can be slow. There is now a rpo loaded onto this machine to enable other machines within the same IP /24 range. This will allow updates to be downloaded from local machines therefore making updates much quicker.

n.b. this will only work for CentOS 7

Setup Local Yum Repository on Client System

Now set up a local Yum Repository on a clients machine.

1. First, switch to the client system and login as a user with root or sudo privileges.

2. Next, you’ll need to prevent yum from downloading from the wrong location. To do this, move the default yum repository files with the following command:

''mv /etc/yum.repos.d/*.repo /tmp/''

This command stores the files in the /tmp/ directory. You can substitute any other location you’d like.

3. Create and edit a new config file:

sudo nano /etc/yum.repos.d/remote.repo

The system should open a new file in a text editor.

4. In the new file, enter the command (replacing the IP address with the IP address of your server):

[remote]

name=RHEL Apache
baseurl=https://wiki.darrenwindle.co.uk
enabled=1
gpgcheck=0

5. Finally, save the file and exit.