How to install latest version of git on CentOS 8.x/7.x/6.x

You can use WANDisco’s CentOS repository to install Git 2.x: for CentOS 6, for CentOS 7 Install WANDisco repo package: yum install http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm – or – yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-1.noarch.rpm – or – yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm Install the latest version of Git 2.x: yum install git Verify the version of Git that was installed: git –version … Read more

Open firewall port on CentOS 7 [closed]

Use this command to find your active zone(s): firewall-cmd –get-active-zones It will say either public, dmz, or something else. You should only apply to the zones required. In the case of public try: firewall-cmd –zone=public –add-port=2888/tcp –permanent Then remember to reload the firewall for changes to take effect. firewall-cmd –reload Otherwise, substitute public for your … Read more