Install Git server on Centos7 using yum
Install git
yum install git
Check git version
git –version
Found that it is not a newer version or the version we want
Remove this version git
yum remove git
Download the compilation tool
yum -y groupinstall Development Tools
Download dependency package
##yum -y install zlib-devel perl-ExtUtils-MakeMaker asciidoc xmlto openssl- develDownload the source code of the latest version of Git
wget https://www.kernel.org/pub/software/scm/git/git-2.32.0 .tar.gzLog in to https://github.com/git/git/releases to view the latest version of git. Do not download with -rc as it represents a release candidate. https://github.com/git/git/archive/refs/tags/v2.32.0.tar.gzUnzip
tar -zxvf git-2.9.5.tar.gzEnter directory configuration
cd git-2.32.0Install./configure –prefix=/usr/local/ git
make && make installConfigure global path
export PATH="/ usr/local/git/bin:$PATH"source /etc/profile
The above is the detailed content of Install Git server on Centos7 using yum. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The library used for floating-point number operation in Go language introduces how to ensure the accuracy is...

Running the H5 project requires the following steps: installing necessary tools such as web server, Node.js, development tools, etc. Build a development environment, create project folders, initialize projects, and write code. Start the development server and run the command using the command line. Preview the project in your browser and enter the development server URL. Publish projects, optimize code, deploy projects, and set up web server configuration.

GiteePages static website deployment failed: 404 error troubleshooting and resolution when using Gitee...

Under the BeegoORM framework, how to specify the database associated with the model? Many Beego projects require multiple databases to be operated simultaneously. When using Beego...

Which libraries in Go are developed by large companies or well-known open source projects? When programming in Go, developers often encounter some common needs, ...

The H5 page needs to be maintained continuously, because of factors such as code vulnerabilities, browser compatibility, performance optimization, security updates and user experience improvements. Effective maintenance methods include establishing a complete testing system, using version control tools, regularly monitoring page performance, collecting user feedback and formulating maintenance plans.

The problem of using RedisStream to implement message queues in Go language is using Go language and Redis...

Getting started with Python: Hourglass Graphic Drawing and Input Verification This article will solve the variable definition problem encountered by a Python novice in the hourglass Graphic Drawing Program. Code...
