New World gitlab server
Jump to navigation
Jump to search
- Host is called nw-syd-gitlab and is in
hostlist.csv
(cfengine) to reserve the IP address against use by anyone else - The IP address is 10.197.85.252. Due to it being in
hostlist.csv
, there will be an entry for it in/etc/hosts
on all cfengine-managed hosts (i.e., login and VLAB servers, lab computers) - In AWS, set up the EC2 instance on the sydney-hosts subnetwork with free-for-all security group and 1TB of had disk
- After first boot, follow Initial setup of a Debian AMI instance
- Login and set root password
- Set
/etc/hostname
with the server name - Install the krb5-user package using
apt-get
and answer:- Realm = AD.UNSW.EDU.AU
- Servers = ad.unsw.edu.au
- No administration server
- Add to
/etc/dhcp/dhclient.conf
(after the main stanza):supersede domain-name-servers 129.94.0.196, 129.94.0.197;
supersede domain-search "cse.unsw.edu.au";
supersede domain-name "cse.unsw.edu.au";
- Reboot
- Check the Kerberos configuration by getting a ticket using zID with
kinit
, and thenkdestroy
to get rid of it - Run
apt-get install ca-certificates perl
- Follow:
- https://about.gitlab.com/install/#debian (omit PostFix step for now)
- Note that gitlab-ee is *not* installed on the AWS instance at time of writing