Skip to content

Instantly share code, notes, and snippets.

@VathanakSol
Last active February 5, 2025 01:23
Show Gist options
  • Save VathanakSol/10e1a2518b0fe115f0d78dbf4c3c0f5d to your computer and use it in GitHub Desktop.
Save VathanakSol/10e1a2518b0fe115f0d78dbf4c3c0f5d to your computer and use it in GitHub Desktop.
Jenkins Installation in Linux
#!/bin/bash
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key |sudo gpg --dearmor -o /usr/share/keyrings/jenkins.gpg
sudo sh -c 'echo deb [signed-by=/usr/share/keyrings/jenkins.gpg] http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt update
sudo apt install jenkins
sudo systemctl start jenkins.service
sudo systemctl status jenkins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment