Before you start
First you need to make sure that:
– Your LAMP is up and running
– You have a working DNS for the domain you want to use for gitlab
– You have certbot already installed
Part I – gitlab
Prepare the system for the gitlab install
apt-get update && apt-get upgrade
Install dependencies. Choose “internet site” and press enter.
apt-get install -y curl openssh-server ca-certificates postfix
Add the gitlab repositories
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
Read more “Installing GitLab on Debian 9 with SSL and custom apache vhost”
The new HD you got online finally arrived. After you open your computer and install it (and after looking for badblocks), you’ll need to mount it automatically on boot.
Type lsblk or mount to find the device (or dmesg if you’re brave). In my case, it was /dev/sdb1
/dev/sdb1 on /media/dth/HD2 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
Now get the device’s UUID and type with blkid
/dev/sdb1: LABEL="HD2" UUID="0d256b26-1782-4f3f-b192-468464DjhdS7" TYPE="ext4" PARTUUID="290cdbb5-01"
Read more “Auto mount second HD on boot”