Installing Jenkins (Ubuntu 14.04)
Step 1 — Installing Jenkins
The version of Jenkins included with the default Ubuntu packages is often behind the latest available version from the project itself. In order to take advantage of the latest fixes and features, we'll use the project-maintained packages to install Jenkins.First, we'll add the repository key to the system.
#wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -
When the key is added, the system will return OK
. Next, we'll append the Debian package repository address to the server's sources.list
:
#echo deb http://pkg.jenkins.io/debian-stable binary/ | sudo tee /etc/apt/sources.list.d/jenkins.list
#sudo apt-get update
Finally, we'll install Jenkins and its dependencies, including Java:#sudo apt-get install jenkins
and now
#service jenkings start
Goto browser and type http://localhost:8080
you will get jenking asking for password
#
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
past the password and follow the instructions...
after done all stuff just create your user and here we ready for jenkins..
thank you
#Arvind