Installing GitLab on a VPS on DigitalOcean
Step 1
Create SSH keys using Putty on Windows using the tutorial on DigitalOcean docs.
Step 2
Create a new droplet on DigitalOcean using the SSH key you created.
Step 3
Follow setup guide for firewall and create a new user by following the initial server setup guide.
Step 4
Allow web traffic through the firewall to access GitLab on the web. DigitalOcean’s GitLab install guide mentions this.
Step 5
Change swap size to 8 GB using this guide from DigitalOcean (if you don’t have at least 8 GB of RAM or swap, the installation may fail).
Step 6
Install using the official instructions from GitLab.
Step 7
- Disable sign-up.
- Create SSH Key.
- Optional: Setup SMTP.