11
20

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

centos7 で epel リポジトリが入らない

Last updated at Posted at 2017-03-23

nginx, php-fpm を入れようとしてグダグダしたのでメモ。

remi を追加する際に以下のようなエラーではじかれた。

$ rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
    epel-release = 7 is needed by remi-release-7.3-1.el7.remi.noarch

epel-release のバージョンが 7 のものが必要そうなので入れようとする。

$ yum install epel-release
No package epel-release available.
Error: Nothing to do

What...

ってことで、wget で直接取りにいった。(今回とりあえずホームディレクトリへ)

$ wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-12.noarch.rpm ~/

次にrpmで展開

rpm -ivh ~/epel-release-7-9.noarch.rpm 

これで epel が入りやした。

以上。

検索用キーワード

centos7 nginx php-fpm yum epel epel-release remi

11
20
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
20

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?