我正在使用新设置的VPS,并且正在尝试设置PHP / Wordpress环境。但是,当我尝试安装任何软件包时,实际上会得到我尝试过的每个软件包的信息。
executable
我尝试添加[root@localhost yum.repos.d]# yum install php
Failed to set locale, defaulting to C
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
MariaDB | 2.9 kB 00:00:00
epel/x86_64/metalink | 53 kB 00:00:00
epel | 3.2 kB 00:00:00
epel-source/x86_64/metalink | 50 kB 00:00:00
epel-source | 2.0 kB 00:00:00
mysql57-community | 2.5 kB 00:00:00
(1/7): MariaDB/primary_db | 19 kB 00:00:00
(2/7): epel/x86_64/group_gz | 88 kB 00:00:01
(3/7): mysql57-community/x86_64/primary_db | 164 kB 00:00:00
(4/7): epel/x86_64/updateinfo | 943 kB 00:00:01
(5/7): epel-source/x86_64/primary | 1.9 MB 00:00:01
(6/7): epel/x86_64/primary | 3.6 MB 00:00:01
(7/7): epel-source/x86_64/updateinfo | 943 kB 00:00:02
epel 12780/12780
epel-source 6847/6847
No package php available.
Error: Nothing to do
[root@localhost yum.repos.d]#
和EPEL
基本存储库,但出现错误:
CentOS
关于如何解决此问题的任何指示,是否需要添加特定的存储库以使这些软件包在环境中可用?