Commit f6df1eaf authored by Kyohei Uemura's avatar Kyohei Uemura Committed by Achilleas Pipinellis

Update installation.md

Line 170(make install) causes permission error.
This command should execute with sudo.
parent 42cdd489
...@@ -167,7 +167,7 @@ cd pcre2-10.33 ...@@ -167,7 +167,7 @@ cd pcre2-10.33
chmod +x configure chmod +x configure
./configure --prefix=/usr --enable-jit ./configure --prefix=/usr --enable-jit
make make
make install sudo make install
# Download and compile from source # Download and compile from source
cd /tmp cd /tmp
...@@ -634,8 +634,8 @@ Gitaly must be running for the next section. ...@@ -634,8 +634,8 @@ Gitaly must be running for the next section.
gitlab_path=/home/git/gitlab gitlab_path=/home/git/gitlab
gitaly_path=/home/git/gitaly gitaly_path=/home/git/gitaly
sudo -u git -H $gitlab_path/bin/daemon_with_pidfile $gitlab_path/tmp/pids/gitaly.pid \ sudo -u git -H sh -c "$gitlab_path/bin/daemon_with_pidfile $gitlab_path/tmp/pids/gitaly.pid \
$gitaly_path/gitaly $gitaly_path/config.toml >> $gitlab_path/log/gitaly.log 2>&1 & $gitaly_path/gitaly $gitaly_path/config.toml >> $gitlab_path/log/gitaly.log 2>&1 &"
``` ```
### Initialize Database and Activate Advanced Features ### Initialize Database and Activate Advanced Features
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment