RedHat 7.2: No packages available












0















I'm on a newly setup VPS and am trying to set up a PHP/Wordpress environment. However, when I try to install any packages I get the below for practically every package I've tried.



[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]#


I have tried adding EPEL and CentOS base repositories but I get the error:



Cannot find a valid baseurl for repo: base/7Server/x86_64



Any pointers on how to get around this and are there specific repositories I need to add to make these packages available in the environment?










share|improve this question



























    0















    I'm on a newly setup VPS and am trying to set up a PHP/Wordpress environment. However, when I try to install any packages I get the below for practically every package I've tried.



    [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]#


    I have tried adding EPEL and CentOS base repositories but I get the error:



    Cannot find a valid baseurl for repo: base/7Server/x86_64



    Any pointers on how to get around this and are there specific repositories I need to add to make these packages available in the environment?










    share|improve this question

























      0












      0








      0








      I'm on a newly setup VPS and am trying to set up a PHP/Wordpress environment. However, when I try to install any packages I get the below for practically every package I've tried.



      [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]#


      I have tried adding EPEL and CentOS base repositories but I get the error:



      Cannot find a valid baseurl for repo: base/7Server/x86_64



      Any pointers on how to get around this and are there specific repositories I need to add to make these packages available in the environment?










      share|improve this question














      I'm on a newly setup VPS and am trying to set up a PHP/Wordpress environment. However, when I try to install any packages I get the below for practically every package I've tried.



      [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]#


      I have tried adding EPEL and CentOS base repositories but I get the error:



      Cannot find a valid baseurl for repo: base/7Server/x86_64



      Any pointers on how to get around this and are there specific repositories I need to add to make these packages available in the environment?







      centos redhat vps rhel






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 1 at 11:09









      fitzmodefitzmode

      301211




      301211
























          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53994959%2fredhat-7-2-no-packages-available%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53994959%2fredhat-7-2-no-packages-available%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          MongoDB - Not Authorized To Execute Command

          How to fix TextFormField cause rebuild widget in Flutter

          in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith