We are moving our Bitbucket server back to linux, The new linux server has no internet access and the RPM repo for RHEL 7 has a very old version of GIT. We have the ability to download on a separate machine and move files to the server. How do we update the RPM repo with newer versions of GIT or somehow download a newer version of GIT to fix CVE-2022-41903, CVE-2022-23521?
As you could guess I'm not a linux person so any guidance is appreciated.
What I did after some research was to download GIT 2.39.2 source package from GIT-SCM.ORG and build and install from source.
There is a project that defines itself "Ia yum repository that provides newer versions of select software for RHEL and CentOS":
It seems that they provide fresh Git PRM's here:
https://repo.ius.io/7/x86_64/packages/g/
So download those, move to the target server, and install from RPM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @GSHerber
This link will help you setting up a local yum repo: https://linuxhint.com/create-yum-local-repository/
This way, you would be able to move the required RPM files to the new repo and installed them using yum command.
Hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.