Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c156f6f4
Commit
c156f6f4
authored
Apr 08, 2021
by
Achilleas Pipinellis
Committed by
Evan Read
Apr 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update source installations for Gitaly's Git
parent
02f78e50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
12 deletions
+35
-12
doc/install/installation.md
doc/install/installation.md
+35
-12
No files found.
doc/install/installation.md
View file @
c156f6f4
...
...
@@ -131,22 +131,45 @@ that:
-
Is always at the version required by GitLab.
-
May contain custom patches required for proper operation.
```
shell
# Install dependencies
sudo
apt-get
install
-y
libcurl4-openssl-dev libexpat1-dev gettext libz-dev libssl-dev libpcre2-dev build-essential
1.
Install the needed dependencies:
# Clone the Gitaly repository
git clone https://gitlab.com/gitlab-org/gitaly.git
-b
<X-Y-stable> /tmp/gitaly
```
shell
sudo
apt-get
install
-y
libcurl4-openssl-dev libexpat1-dev gettext libz-dev libssl-dev libpcre2-dev build-essential git-core
```
# Compile and install Git
cd
/tmp/gitaly
sudo
make git
GIT_PREFIX
=
/usr/local
```
1.
Clone the Gitaly repository and compile Git. Replace
`<X-Y-stable>`
with the
stable branch that matches the GitLab version you want to install. For example,
if you want to install GitLab 13.6, use the branch name
`13-6-stable`
:
```
shell
git clone https://gitlab.com/gitlab-org/gitaly.git
-b
<X-Y-stable> /tmp/gitaly
cd
/tmp/gitaly
sudo
make git
GIT_PREFIX
=
/usr/local
```
1.
Optionally, you can remove the system Git and its dependencies:
```
shell
sudo
apt remove
-y
git-core
sudo
apt autoremove
```
When
[
editing `config/gitlab.yml` later
](
#configure-it
)
, remember to change
the Git path:
-
From:
```
yaml
git
:
bin_path
:
/usr/bin/git
```
Replace
`<X-Y-stable>`
with the stable branch that matches the GitLab version you want to
install. For example, if you want to install GitLab 13.6, use the branch name
`13-6-stable`
.
-
To:
When editing
`config/gitlab.yml`
later, change the
`git -> bin_path`
to
`/usr/local/bin/git`
.
```
yaml
git
:
bin_path
:
/usr/local/bin/git
```
### GraphicsMagick
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment