Connect VM machine
Connect through SSH
Jenkins installation:-
$> sudo apt-get update.
$> sudo apt install openjdk-8-jdk (OR) sudo apt install default-jdk
$> wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
wget --no-check-certificate -qO - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
$> sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > \
/etc/apt/sources.list.d/jenkins.list'
$> sudo apt-get update
$> sudo apt-get install jenkins
sudo su - ubuntu
sudo apt-get update
No comments:
Post a Comment