From bdcaf343f9876ce54a6580fe03319a9f077dfbe7 Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Thu, 17 Apr 2014 10:13:09 +0200 Subject: [PATCH] Add few steps to build documentation. --- doc/build.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/build.md b/doc/build.md index acc1f2a..a6617f8 100644 --- a/doc/build.md +++ b/doc/build.md @@ -11,10 +11,11 @@ sudo apt-get update sudo apt-get upgrade # Set up the firewall to only allow inbound SSH traffic +sudo apt-get install ufw # Needed for Debian 7 sudo ufw allow ssh sudo ufw enable -# Check for SSH password logins; they should be disabled +# Check for SSH password logins, they should be disabled; The command below should return no results grep '^[^#]*PasswordAuthentication' /etc/ssh/sshd_config # Install dependencies @@ -31,6 +32,9 @@ sudo chown omnibus-build:omnibus-build /opt/gitlab /var/cache/omnibus Then, as the build user (omnibus-build): ```shell +# Login as omnibus-build user +sudo su - omnibus-build + # Clone the omnibus repo git clone https://gitlab.com/gitlab-org/omnibus-gitlab.git -- libgit2 0.21.2