...
1. If you are using CentOS 7, add the epel repository.
Code Block | ||
---|---|---|
| ||
yum -y install epel-release |
If you are using RHEL 7, use the following code to add the epel repository. Otherwise, continue to step 2.
...
Operating System | Repository |
---|---|
RHEL/CentOS 7 | yum -y install \ |
RHEL/CentOS 8 | yum -y install \ Note: This installs EPEL and the PowerTools repositories |
Amazon Linux 1 | yum -y install \ |
...
Code Block | ||
---|---|---|
| ||
# Credentials given by IFI to access updates CD_USER=test CD_PASSWORD=test |
7. Enable the service. If necessary, adjust the code to reflect the version you are using.
Code Block | ||
---|---|---|
| ||
# Amazon chkconfig apgupd # CentOS 7/ RHEL 7 systemctl enable apgupd.service |
8. Start the service. If necessary, adjust the code to reflect the version you are using.
Code Block | ||
---|---|---|
| ||
# Amazon service apgupd start # CentOS 7 / RHEL 7 systemctl start apgupd.service |
...