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,10 +11,11 @@ sudo apt-get update | ||
| 11 | sudo apt-get upgrade | 11 | sudo apt-get upgrade |
| 12 | 12 | ||
| 13 | # Set up the firewall to only allow inbound SSH traffic | 13 | # Set up the firewall to only allow inbound SSH traffic |
| 14 | +sudo apt-get install ufw # Needed for Debian 7 | ||
| 14 | sudo ufw allow ssh | 15 | sudo ufw allow ssh |
| 15 | sudo ufw enable | 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 | grep '^[^#]*PasswordAuthentication' /etc/ssh/sshd_config | 19 | grep '^[^#]*PasswordAuthentication' /etc/ssh/sshd_config |
| 19 | 20 | ||
| 20 | # Install dependencies | 21 | # Install dependencies |
| @@ -31,6 +32,9 @@ sudo chown omnibus-build:omnibus-build /opt/gitlab /var/cache/omnibus | @@ -31,6 +32,9 @@ sudo chown omnibus-build:omnibus-build /opt/gitlab /var/cache/omnibus | ||
| 31 | Then, as the build user (omnibus-build): | 32 | Then, as the build user (omnibus-build): |
| 32 | 33 | ||
| 33 | ```shell | 34 | ```shell |
| 35 | +# Login as omnibus-build user | ||
| 36 | +sudo su - omnibus-build | ||
| 37 | + | ||
| 34 | # Clone the omnibus repo | 38 | # Clone the omnibus repo |
| 35 | git clone https://gitlab.com/gitlab-org/omnibus-gitlab.git | 39 | git clone https://gitlab.com/gitlab-org/omnibus-gitlab.git |
| 36 | 40 |