Skip to content

Instantly share code, notes, and snippets.

@halityurttas
Created September 8, 2025 21:35
Show Gist options
  • Select an option

  • Save halityurttas/b8b205aad9f0ba263990f64f6f51357c to your computer and use it in GitHub Desktop.

Select an option

Save halityurttas/b8b205aad9f0ba263990f64f6f51357c to your computer and use it in GitHub Desktop.
Ubuntu Jenkins install
sudo apt install openjdk-17-jdk -y
curl -fsSL https://pkg.jenkins.io/debian/jenkins.io-2023.key | sudo tee \
/usr/share/keyrings/jenkins-keyring.asc > /dev/null
curl -fsSL https://pkg.jenkins.io/debian/jenkins.io-2023.key | sudo tee \
/usr/share/keyrings/jenkins-keyring.asc > /dev/null
echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \
https://pkg.jenkins.io/debian binary/ | sudo tee \
/etc/apt/sources.list.d/jenkins.list > /dev/null
sudo apt update
sudo apt install jenkins -y
sudo systemctl start jenkins
sudo systemctl enable jenkins
sudo ufw allow 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment