Automation
Building a Jenkins Server on Debian 11
DNS records
jenkins.mydomain.dom - 192.168.122.146
Installing dependencies
apt update
apt install apt-transport-https gnupg2 curl wget software-properties-common ca-certificates
apt install default-jdk
Adding the jenkins repo
curl -fsSL https://pkg.jenkins.io/debian/jenkins.io.key | tee /usr/share/keyrings/jenkins-keyring.asc
echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] https://pkg.jenkins.io/debian binary/ | tee /etc/apt/sources.list.d/jenkins.list
Installing Jenkins
apt update
apt install jenkins
systemctl …