New World gitlab server: Difference between revisions
Jump to navigation
Jump to search
(Created page with "# Host is called nw-syd-gitlab and is in <code>hostlist.csv</code> (cfengine) to reserve the IP address against use by anyone else # The IP address is 10.197.85.252. Due to it being in <code>hostlist.csv</code>, there will be an entry for it in <code>/etc/hosts</code> 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 # Af...") |
No edit summary |
||
Line 18: | Line 18: | ||
# Follow: | # Follow: | ||
#* [https://about.gitlab.com/install/#debian https://about.gitlab.com/install/#debian] (omit PostFix step for now) | #* [https://about.gitlab.com/install/#debian 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 | # Note that gitlab-ee is *not* installed on the AWS instance at time of writing. '''gitlab-ce''', however, is installed. | ||
# When using the <code>unattended-upgrades</code> package, add the following in <code>/etc/apt/apt.conf.d/50unattended-upgrades</code>, under "Origin-Patterns", to allow unattended updates of gitlab as well as Debian: | |||
#* "origin=packages.gitlab.com/gitlab/gitlab-ce,codename=${distro_codename},label=gitlab-ce" |
Revision as of 12:57, 8 Haziran 2023
- 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. gitlab-ce, however, is installed.
- When using the
unattended-upgrades
package, add the following in/etc/apt/apt.conf.d/50unattended-upgrades
, under "Origin-Patterns", to allow unattended updates of gitlab as well as Debian:- "origin=packages.gitlab.com/gitlab/gitlab-ce,codename=${distro_codename},label=gitlab-ce"