Commit bdcaf343f9876ce54a6580fe03319a9f077dfbe7
1 parent
1ff686b5
Exists in
master
and in
13 other branches
Add few steps to build documentation.
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
doc/build.md
| ... | ... | @@ -11,10 +11,11 @@ sudo apt-get update |
| 11 | 11 | sudo apt-get upgrade |
| 12 | 12 | |
| 13 | 13 | # Set up the firewall to only allow inbound SSH traffic |
| 14 | +sudo apt-get install ufw # Needed for Debian 7 | |
| 14 | 15 | sudo ufw allow ssh |
| 15 | 16 | sudo ufw enable |
| 16 | 17 | |
| 17 | -# Check for SSH password logins; they should be disabled | |
| 18 | +# Check for SSH password logins, they should be disabled; The command below should return no results | |
| 18 | 19 | grep '^[^#]*PasswordAuthentication' /etc/ssh/sshd_config |
| 19 | 20 | |
| 20 | 21 | # Install dependencies |
| ... | ... | @@ -31,6 +32,9 @@ sudo chown omnibus-build:omnibus-build /opt/gitlab /var/cache/omnibus |
| 31 | 32 | Then, as the build user (omnibus-build): |
| 32 | 33 | |
| 33 | 34 | ```shell |
| 35 | +# Login as omnibus-build user | |
| 36 | +sudo su - omnibus-build | |
| 37 | + | |
| 34 | 38 | # Clone the omnibus repo |
| 35 | 39 | git clone https://gitlab.com/gitlab-org/omnibus-gitlab.git |
| 36 | 40 | ... | ... |