Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Method of installing REMI Warehouse on CentOS system

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the relevant knowledge of "the method of installing REMI warehouse on CentOS system". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Preparatory work

Before installing the REMI repository, you first need to enable the EPEL repository because some packages in REMI depend on EPEL. Follow this guide to set up an EPEL repository in CentOS or RHEL.

Install the REMI repository

Now follow the steps below to install the REMI repository.

On CentOS 7:

The code is as follows:

$sudo rpm-- import http://rpms.famillecollet.com/RPM-GPG-KEY-remi

$sudo rpm-ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

On CentOS 6:

The code is as follows:

$sudo rpm-- import http://rpms.famillecollet.com/RPM-GPG-KEY-remi

$sudo rpm-ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

By default, REMI is disabled. To check that REMI has been successfully installed, use this command. You will see several REMI repositories, such as remi, remi-php55, and remi-php56.

$yum repolist disabled | grep remi

Install a package from the REMI repository

As mentioned above, it is best to keep the REMI repository disabled and enable it only when needed.

To search for or install packages in the REMI repository, use these commands:

The code is as follows:

$sudo yum-enablerepo=remi search

$sudo yum-enablerepo=remi install

This is the end of the content of "how to install REMI Warehouse on CentOS system". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report