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
7ea57048
Commit
7ea57048
authored
Feb 25, 2019
by
Peter Vandenabeele
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small improvements of the "install from source" documentation
parent
a96e96d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
doc/install/installation.md
doc/install/installation.md
+7
-5
No files found.
doc/install/installation.md
View file @
7ea57048
...
...
@@ -311,7 +311,7 @@ the guide here.
sudo cp
/etc/redis/redis.conf /etc/redis/redis.conf.orig
# Disable Redis listening on TCP by setting 'port' to 0
sed
's/^port .*/port 0/'
/etc/redis/redis.conf.orig |
sudo tee
/etc/redis/redis.conf
s
udo s
ed
's/^port .*/port 0/'
/etc/redis/redis.conf.orig |
sudo tee
/etc/redis/redis.conf
# Enable Redis socket for default Debian / Ubuntu path
echo
'unixsocket /var/run/redis/redis.sock'
|
sudo tee
-a
/etc/redis/redis.conf
...
...
@@ -320,9 +320,9 @@ echo 'unixsocket /var/run/redis/redis.sock' | sudo tee -a /etc/redis/redis.conf
echo
'unixsocketperm 770'
|
sudo tee
-a
/etc/redis/redis.conf
# Create the directory which contains the socket
mkdir
/var/run/redis
chown
redis:redis /var/run/redis
chmod
755 /var/run/redis
sudo mkdir
-p
/var/run/redis
sudo
chown
redis:redis /var/run/redis
sudo
chmod
755 /var/run/redis
# Persist the directory which contains the socket, if applicable
if
[
-d
/etc/tmpfiles.d
]
;
then
...
...
@@ -384,7 +384,7 @@ sudo chmod -R u+rwX tmp/pids/
sudo chmod
-R
u+rwX tmp/sockets/
# Create the public/uploads/ directory
sudo
-u
git
-H
mkdir
public/uploads/
sudo
-u
git
-H
mkdir
-p
public/uploads/
# Make sure only the GitLab user has access to the public/uploads/ directory
# now that files in public/uploads are served by gitlab-workhorse
...
...
@@ -540,6 +540,7 @@ sudo -u git -H make
```
sh
# Fetch Gitaly source with Git and compile with Go
cd
/home/git/gitlab
sudo
-u
git
-H
bundle
exec
rake
"gitlab:gitaly:install[/home/git/gitaly,/home/git/repositories]"
RAILS_ENV
=
production
```
...
...
@@ -567,6 +568,7 @@ For more information about configuring Gitaly see
### Initialize Database and Activate Advanced Features
```
sh
cd
/home/git/gitlab
sudo
-u
git
-H
bundle
exec
rake gitlab:setup
RAILS_ENV
=
production
# Type 'yes' to create the database tables.
...
...
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