Question
How do I disable a repository on a RHEL-based system?
Answer
- Access the server's command line as the root user via SSH or Terminal in WHM.
Run the following command:
CentOS & CloudLinux 7# yum-config-manager --disable $repo_id
AlmaLinux & CloudLinux 8/9# dnf config-manager --set-disabled $repo_id
Note: "$repo_id" must be replaced with the repository identifier.
Comments
0 comments
Article is closed for comments.