hello everyone welcome to this session on Jenkins installation on AWS so let's
go ahead and get started so today in this session we're going to discuss how
we can install Jenkins on AWS so without wasting time let's go on and skip to
terminal so that we can see that which AWS instance we have to install on right
so before moving on to the terminal guys this is a slider these are the steps
that we'll have to follow to install AWS so for the first thing that we
will have to do is we have to launch an AWS instance I have already done
that then you'll have to connect through SSH to that instance we have already
done that and then you have to execute the following commands so this we
haven't done and this we will do as we move along so let me jump to my terminal
guys so guys here's my terminal so the first thing that I have to do is sudo
apt-get update so this will update my system so basically I'm installing
Jenkins on Ubuntu 18.04 that is what is running on my AWS instance so my system
is now updated our next command is sudo beta get install open JDK 8 so sudo
apt-get install open actually copy the commands over here as well so it's open
JDK 8 JDK open JDK 8 - JDK I'll hit enter and now this will install Jenkins
a next step is to W get a key which will be added to the repository so let's do
that so we have copied the command and the moment it gets completed we'll copy
the command and hit enter all right guys the JDK is install now so now let's add
the key to the repository it says ok which means a command executed
successfully now let's download the binary file for Jenkins so let me just
correct this command let's copy this now paste it here hit enter so yes this
command is complete now now what we'll do we'll again update our machine which
will now update the location for the Jenkins setup all right
so Jenkins has been added right and now let's
install Jenkins now this will basically install Jenkins on my system so the
movement it installs I will check the setup by going on through the
browser so we'll do that once this process is finished
alright so Jenkins is successfully install now let's how check these status
of the service so service Jenkins status we can see it is in the active State
awesome so our Jenkins is now installed let's
check this by going to our browser so here's my browser guys here's the IP
address so let me copy the IP address I place it over here : 8080
hit enter and this shall come to so whenever you have installed Jenkins this
is the first screen that you will see where you will have to unlock Jenkins in
order to do be able to use it now how do you unlock Jenkins basically just copy
this path okay so this is a temporary password and this you will have to echo
in your terminal right so I'll just do a cat of this part and hit enter okay so
I'll do a I'll have to do a sudo cat and now this is the password guys just copy
this password come back here and paste it and click on continue so once the
password is verified you will come to this screen all you have to do over here
is click on install suggested plugin so this will install all the most used
plugins in your Jenkins and Jenkins software and we'll be needing some more
plugins which we as we move along in the sessions will install them right so
let's click on install suggested plugins and now the plugins have started to
install it will take some time to install around 1 or a half minutes so let's
give us this at that time to this and then I'll see you on the other side
alright guys so as you can see the plugins have now successfully installed
in a next step we'll have to fill out our information for the Jenkins
installation so let the user name be intellipaat I will give the password
confirm the password full name is DevOps space intellipaat email address is
DevOps at the rate Intellipaat dot-com okay click on save &
continue' if you give the Jenkins URL this seems fine click on save and finish
and this message now says your Jenkins is ready and the setup is complete click
on start using Jenkins okay so here you go here you have the dashboard for
Jenkins we'll be discussing a little detail about how we can go about using
Jenkins both what option is for what in Jenkins we'll do that in the further
sessions as they come along so let's move back to our slides
so as you can see we have installed Jenkins on AWS so these are the commands
that we used and using these commands you have successfully installed it right
so thank you guys for attending today's session in our next session we'll be
talking about how Jenkins works right so how does Jenkins work internally what is
the architecture that Jenkins follows all of that will be taught to you in our
next session so see you guys in the next session have a great day ahead and good
bye