Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Moving Bitbucket to Linux server with no internet access to update RPM repo for new GIT version

GSHerber February 21, 2023

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.

 

3 answers

1 accepted

0 votes
Answer accepted
GSHerber February 27, 2023

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.

0 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 22, 2023

There is a project that defines itself "Ia yum repository that provides newer versions of select software for RHEL and CentOS":

https://ius.io/

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.

0 votes
Erez Maadani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 21, 2023

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. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events