Now, you can use below command to install Jenkins sudo apt install jenkins -y We first have to install java, for that use below command sudo apt install openjdk-8-jre -y Now, to update the server you have to use below command sudo apt update Install Jenkins Dependenciesīefore install of Jenkins we have to install its dependencies. Use below command to add package repository sudo sh -c 'echo deb binary/ > /etc/apt//jenkins.list' wget -q -O - | sudo apt-key add - Add Package Repository You have to add Jenkins repository into Ubuntu server, use below command for that. sudo apt-get update -y Add Repository Key Once you logged in to your AWS account and accessed your Ubuntu Server 20.04 LTS instance you can follow the below steps to install Jenkins.īefore installing Jenkins you have to update software packages on Ubuntu server for that use below commands.
0 Comments
Leave a Reply. |