How to add a Yum repository | Enable Sysadmin
www.redhat.com › sysadmin › add-yum-repositoryFeb 05, 2020 · $ sudo yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm $ sudo yum-config-manager --disable remi-php54 $ sudo yum-config-manager --enable remi-php72 Manually set up a repository. The last method of configuring a yum repository manually, where we create a .repo file within /etc/yum.repo.d using a text editor. In this example, we will create the repository file for MySQL 5.7:
8.4.5. Adding, Enabling, and Disabling a Yum Repository Red ...
access.redhat.com › sec-managing_yum_repositoriesTo add such a repository to your system and enable it, run the following command as root : yum-config-manager --add-repo repository_url. where repository_url is a link to the .repo file. For example, to add a repository located at http://www.example.com/example.repo, type the following at a shell prompt: ~]# yum-config-manager --add-repo http://www.example.com/example.repo Loaded plugins: product-id, refresh-packagekit, subscription-manager adding repo from: http://www.example.com/example ...