To install a specific version from a specific sub-repository, you can use--enableor--disableoptions usingyum-config-managerordnf config-manageras shown: # yum-config-manager --disable mysql57-community # yum-config-manager --enable mysql56-community ---Fedora Versions--- # dnf config-manager...
To install specific version from specific sub-repository, you can use--enableor--disableoptions usingyum-config-manager or dnf config-manager as shown: # yum-config-manager --disable mysql57-community # yum-config-manager --enable mysql56-community --- Fedora 22+ Versions --- # dnf config-...
Step 2: Install Dependencies The next step is to download the dependencies required to install Docker. Type in the following command: sudo yum install -y yum-utils device-mapper-persistent-data lvm2 Theyum-utilspackage adds theyum-config-manager. Docker uses adevice mapperstorage driver, and the...
[root@devopsage ~]# yum install yum-utils [root@devopsage ~]# yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo (Optional) For Enterprise Edition # yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ee.repo ...
Then, use the yum-config-manager that was just installed in step 1 to add a stable repository: sudo yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo Use the following command to install the latest version of docker and containerd: ...
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm yum-config-manager --enable remi-php72 Once you are done with these steps, you can go ahead and install PHP 7.2 2. Install PHP 7.2 on CentOS 7 To install PHP 7.2 on yourCentOS 7 VPS, run the following command: ...
#安装需要的软件包, yum-util 提供yum-config-manager功能,另外两个是devicemapper驱动依赖的[root@bogon~]#yuminstall-yyum-utils device-mapper-persistent-data lvm2#设置yum源[root@bogon~]#yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo或者 ...
We will install PHP 7.2 from the Remi repository. The commands below will enable EPEL and Remi repositories: sudo yum install epel-release yum-utilssudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpmsudo yum-config-manager --enable remi-php72CopyCopyCopy Once the repositori...
yum-config-manager --enable remi-php71 You can now proceed and install PHP 7.1 and all necessary PHP modules using the following command: yum install php php-common php-mbstring php-gd php-curl php-mysql php-xml During the installation, the yum package manager will prompt you to install th...
sudo yum install yum-utils Add the docker repository, using yum-config-manager. This automatically maps to the dnf config-manager command when using DNF. In the following command, replace [url] with the url of the repository for your distribution: sudo yum-config-manager --add-repo [url]...