Repository navigation
Project 3: Application Redundancy
Miles Cummings edited this page Feb 20, 2024
·
12 revisions
- On u1 u2 and u3, change he network adapters to LAN and boot. Create a new named user, elevate it to sudo group, rename server, delete old user on all 3.
- Edit the netplan configuration located in
/etc/netplan/00-installer-config.yaml. The addresses for this box will be .201, .202, and .203 respectively.
network:
ethernets:
ens160:
dhcp4: false
addresses: [10.0.5.201(2,3)/24]
gateway4: 10.0.5.1
nameservers:
addresses: [10.0.5.1]
version: 2
- Enter the following to import the MariaDB repo key:
sudo apt-get -y install apt-transport-https curl
sudo mkdir -p /etc/apt/keyrings
sudo curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp'
- Create a new file called
/etc/apt/sources.list.d/mariadb.sourcesand add the following:
# MariaDB 11.3 repository list - created 2024-02-20 15:14 UTC
# https://mariadb.org/download/
X-Repolib-Name: MariaDB
Types: deb
# deb.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details.
# URIs: https://deb.mariadb.org/11.3/ubuntu
URIs: https://ftp.osuosl.org/pub/mariadb/repo/11.3/ubuntu
Suites: jammy
Components: main main/debug
Signed-By: /etc/apt/keyrings/mariadb-keyring.pgp
- Then, run an
apt-get updateand installmariadb-server.