ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    CentOS 5 Repos

    IT Discussion
    linux centos centos 5 rhel rhel 5 vultr
    4
    12
    2.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      scottalanmiller
      last edited by

      I had to install CentOS 5 on Vultr and, of course, being out of support the repos no longer work, you have to move to the CentOS Vault for packages. Things will still work and deploying CentOS 5 via ISO on Vultr works fine as well. But we need to change the repos so that we can work with packages. This works the same if you are physical, virtual, cloud, etc.

      The repo directory is /etc/yum.repos.d/. In this directory you can remove everything that is there already. Then create the file CentOS-Base.repo and fill it with this text:

      # CentOS-Base.repo
      
      #Base CentOS
      [base]
      name=CentOS-$releasever - Base
      baseurl=http://archive.kernel.org/centos-vault/5.11/os/$basearch/
      gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
      
      #released updates
      [updates]
      name=CentOS-$releasever - Updates
      baseurl=http://archive.kernel.org/centos-vault/5.11/os/$basearch/
      gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
      
      #additional packages that may be useful
      [extras]
      name=CentOS-$releasever - Extras
      baseurl=http://archive.kernel.org/centos-vault/5.11/os/$basearch/
      gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
      

      You should now be able to use yum with the repos to add packages, update and so forth. Be aware no new updates are coming after 5.11. This operating system has been discontinued.

      1 Reply Last reply Reply Quote 1
      • T
        travisdh1
        last edited by

        But.... why 5?

        C S 2 Replies Last reply Reply Quote 0
        • C
          coliver @travisdh1
          last edited by

          @travisdh1 said in CentOS 5 Repos:

          But.... why 5?

          Probably some legacy app that requires specific versions of programs that are available in CentOS 5.

          S 1 Reply Last reply Reply Quote 0
          • S
            scottalanmiller @travisdh1
            last edited by

            @travisdh1 said in CentOS 5 Repos:

            But.... why 5?

            MySQL compatibility.

            T 1 Reply Last reply Reply Quote 0
            • T
              travisdh1 @scottalanmiller
              last edited by

              @scottalanmiller said in CentOS 5 Repos:

              @travisdh1 said in CentOS 5 Repos:

              But.... why 5?

              MySQL compatibility.

              Oh, this just keeps getting better. I'll just think of all the billable hours you get out of it 😉

              S 1 Reply Last reply Reply Quote 0
              • S
                scottalanmiller @travisdh1
                last edited by

                @travisdh1 said in CentOS 5 Repos:

                @scottalanmiller said in CentOS 5 Repos:

                @travisdh1 said in CentOS 5 Repos:

                But.... why 5?

                MySQL compatibility.

                Oh, this just keeps getting better. I'll just think of all the billable hours you get out of it 😉

                Except it is internal 😞

                1 Reply Last reply Reply Quote 0
                • S
                  scottalanmiller @coliver
                  last edited by

                  @coliver said in CentOS 5 Repos:

                  @travisdh1 said in CentOS 5 Repos:

                  But.... why 5?

                  Probably some legacy app that requires specific versions of programs that are available in CentOS 5.

                  Yeah, it's a MySQL issue, only one version of MySQL supports the database. Oracle screwed the pooch on that one.

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    travisdh1 @scottalanmiller
                    last edited by

                    @scottalanmiller said in CentOS 5 Repos:

                    @coliver said in CentOS 5 Repos:

                    @travisdh1 said in CentOS 5 Repos:

                    But.... why 5?

                    Probably some legacy app that requires specific versions of programs that are available in CentOS 5.

                    Yeah, it's a MySQL issue, only one version of MySQL supports the database. Oracle screwed the pooch on that one.

                    Well, hopefully next time I see you, you still have some hair left. I'd be pulling my hair out.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      scottalanmiller @travisdh1
                      last edited by

                      @travisdh1 said in CentOS 5 Repos:

                      @scottalanmiller said in CentOS 5 Repos:

                      @coliver said in CentOS 5 Repos:

                      @travisdh1 said in CentOS 5 Repos:

                      But.... why 5?

                      Probably some legacy app that requires specific versions of programs that are available in CentOS 5.

                      Yeah, it's a MySQL issue, only one version of MySQL supports the database. Oracle screwed the pooch on that one.

                      Well, hopefully next time I see you, you still have some hair left. I'd be pulling my hair out.

                      Way too late for THAT.

                      1 Reply Last reply Reply Quote 0
                      • S
                        scottalanmiller
                        last edited by

                        0_1493128084951_IMG_6022.JPG

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          travisdh1 @scottalanmiller
                          last edited by

                          @scottalanmiller Yeah, that stuff on the sides of your head, that'd be all gone.

                          1 Reply Last reply Reply Quote 0
                          • RamblingBipedR
                            RamblingBiped
                            last edited by

                            We ran into this issue last week with several legacy applications we soon hope to commit to the bone yard...

                            1 Reply Last reply Reply Quote 1
                            • 1 / 1
                            • First post
                              Last post