for anyone watching this video at a later time, you may run into issues with jenkins due to the Java version 1.8, you will need to install Java 17 or Java 11 to resolve this issue else jenkins will install but wont run. So make sure to install “java-11-openjdk-devel” as the one without devel doesn't contain javac and this is the only way you can integrate java with jenkins on the web.
The steps bring a lot of clarity to the whole process but I want you to know that If you start giving reasons of why a particular step is done and how that command works in just a sentence then that information will bring a lot of understanding for the topic.
Most important you need to know your java installed location Vs full correct version to set up path in .bash_profile to find that use this command and it is the 3rd one on the bottom: find /usr/lib/jvm/java-1.8* | head -n 3
awesome! Thanks - great video - i could not figure out how to hit these EC2 instances from the browser - also wasnt sure if I had to use the public IP to hit it.
can you make a video on how to integrate jenkins with docker and how to setup docker container as jenkins slave. waiting eagerly for this video n ur reply
If you have learnt to install and configure, why you are reliant on ppt. We encourage everyone to contribute to the community. Open a github repo, post to it. Make a PR to -> github.com/miztiik/DevOps-Demos/tree/master/setup-jenkins
Hello Sir, Please help me to resolve the below-getting issue while trying to run the YUM command. 1st I install JAVA then set the PATH in .bash_profile then install wget then download Jenkins using the given URL While installing Jenkins getting below error. Please suggest.. [root@ip-172-31-47-238 ~]# yum install jenkins Last metadata expiration check: 0:00:57 ago on Fri 13 Dec 2019 09:10:49 PM UTC. No match for argument: jenkins Error: Unable to find a match
thank you very much for your great explanation. I got problem with .bash_profile once i entered window is not allowed me to edit.Please give me the solution
After i install jenkins and build a test as mentioned in the video by you, i get an error "org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.222.1.jar!/hudson/model/Run/console.jelly:66:27: Failed to load the key: hudson.console.AnnotatedLargeText.consoleAnnotator" Unable to resolve this. I have openjdk 11.0.6 2020-01-14 installed. Please help. I am stuck with this
hello Kishore, I'm getting errror. I have downloaded (java-11-openjdk-amd64). while running (ls -la) command not showing ( .bash_profile ) file what could be the reasons
Thanks a lot for this video. I had installed Jenkins on aws , after installation I was able to open Jenkins thru browser but when I selected option install plugins, it shows error " unable to connect to Jenkins server"
I launched the instance as per your configuration but when I log in Jenkin and create the new job that mavan script options is disabled so please help me
Thanks for the information, I learn a lot from your technical videos and perform hands-on for my learning purpose. Please send me all the documentation related to this Simple DevOps Project-1and 2 | Simple DevOps project for CI/CD | CI/CD through Jenkins
@@ValaxyTechnologies I am keen interested in learning new technologies and I just want to add it to my skill set and want to perform hands-on session using your informative videos. Just to upgrade my skill-set.
How about forking our repository and adding your contributions to it, so we all can learn from each other, instead of having a local copy of the knowledge :)?
Sure.. whatever i had practiced will definitely contribute. It's not just us, people can learn from our contribution is more important. Get me the url for your repository. Would love to explore. Thanks
Hi Sir, Hi , I have doubt. i have installed jenkins on AWS EC2 Windows machine, i am able access jenkin URL from outside(my laptop) when i run jenkins as windoows service. But i am unable to access it when it run it via CMD. For my requirement, i need to run jenkins in cmd and should access it from outside. Please help me on this.
Until here it's ok but I can't clone a repository to specific folder or execute shell scripts, because the permission. I edit /etc/sudoers and added the line: jenkins ALL=(ALL) NOPASSWD: ALL in but I haven't success. I my ubuntu system I managed to execute successfully, but in my ec2 instance not.
I have setup Jenkins server as you mentioned, but while configuring CI/CD project, I dont found Git option...I tried may way like checking all configs options, then I tried deleting the whole setup and again installing step by step as you mentioned but still not getting git option, also at the start Maven project option also not showing so I need to select freestyle project option...can you please help
Hi SIr, I have followed same steps and i am not able to set the environment variables can you please correct us. i have copied same code in the .bash_profile JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-2.amzn2.0.1.x86_64 PATH=$PATH:$JAVA_HOME:$HOME/bin export PATH it is showing still old path
why dont we access jenkins using private IP? If instance is restarted or rebooted public ip will be change so it will be causing issue using old public ip. Is there any chance to access jenkins using private ip
Hi, You can access Jenkins using private IP from internet if you have VPN. you can checkout VPN for more information. other way is using Elastic IP address. Thanks for your comment. Please join in below Facebook group to get in touch with you. facebook.com/groups/valaxy.aws.devops.gang/
hi I connected to ec2 instance through my terminal, when you said to start a new session I exited and made new connection ,even though am enable to see my updated path..please help
why do you need to install Jenkins on EC2 Server? I am using it(Jenkins) on my PC. what difference would it make or why do we need Jenkins on the EC2 server?
Hi What about old Linux server, which was installed with java and tomcat services. It seems, Here again you are using new server for jenkin installation.
I am getting some error while setting up java in Jenkins. OOpss....Slack track some thing like that. and I am trying to open Manage Jenkins its not opening now.
first check jenkins service running locally on your server, then check the port opened on security group of the ec2 instance. Hope you should get jenkins dashboard.
I had the same problem. The Jenkins console was looking for javac, not java. I had to install "sudo yum install java-1.8.0-openjdk-devel" and use the path to javac, not java.
Hi, Thanks for watching this video. Please subscribe to our TH-cam channel if you haven’t done yet. That helps us to grow and create more videos. Please check in "about" tab in youtube channel. th-cam.com/users/valaxytechnologiesabout
This video is shown only for installation of Jenkins. For that you wont need the devel packages. Moreover you don't need to compile anything on the Jenkins Master. Do let us know, if it is otherwise.
I really want to know where this javac came from. Whan I used the find / -name javac command , I didn't get same result. Was told no such directory exists. Pls help
What you are expecting is real-time hand holding in your learning journey. That is almost impossible to provide through the youtube medium. If you need extensive support along every step of your journey you can contact our professional services team to get an expert to guide you through it. If that is not possible, please be patient until one of our community members helps you with your issue. Do not forget to use the thing called "search engines" to help yourself along the way.
i love u mannnn... your just making it so easyyyyy .. !!!!!!!!!!
Thanks Valaxy Tech ! your effort is appreciated
You are welcome. Check out the #Valaxy DevOps playlist.
for anyone watching this video at a later time, you may run into issues with jenkins due to the Java version 1.8, you will need to install Java 17 or Java 11 to resolve this issue else jenkins will install but wont run. So make sure to install “java-11-openjdk-devel” as the one without devel doesn't contain javac and this is the only way you can integrate java with jenkins on the web.
hey bro i am stuck at that and i don't find any solution on web please guide me on that i spent my whole day on this issue
@@surajkumar_009 have you installed java-11-openjdk-devel?
thank you so much sir i was never expected such a nice video, if you have some other videos on jenkins please recommend me
You are welcome, you can find lots more (an entire playlist) . The links are in the description of this video
The steps bring a lot of clarity to the whole process but I want you to know that If you start giving reasons of why a particular step is done and how that command works in just a sentence then that information will bring a lot of understanding for the topic.
Sure Dinesh, I will take your suggesting and try to aline for the same.
@@ValaxyTechnologies Hi team, can you please share me your Udemy course link
Thanks. I found the your Udemy link
Nice tutorial!!
Very good explanation thank you and keep up the good work!
Awesome!!! thanks a lot for this video
Most important you need to know your java installed location Vs full correct version to set up path in .bash_profile
to find that use this command and it is the 3rd one on the bottom: find /usr/lib/jvm/java-1.8* | head -n 3
Thanks Sharma
awesome! Thanks - great video - i could not figure out how to hit these EC2 instances from the browser - also wasnt sure if I had to use the public IP to hit it.
Yes.. I have used public ip
From your local machine you will need the public IP for your EC2 instance.
can you make a video on how to integrate jenkins with docker and how to setup docker container as jenkins slave. waiting eagerly for this video n ur reply
Maybe, In the coming few months. As of now that is at a lower priority. Its been difficult to keep up with the pace of AWS with only my free time.
Valaxy Technologies ok tnx for ur reply
It's really nice...I have gained a good knowledge..can you please share the ppt?
If you have learnt to install and configure, why you are reliant on ppt. We encourage everyone to contribute to the community. Open a github repo, post to it. Make a PR to -> github.com/miztiik/DevOps-Demos/tree/master/setup-jenkins
thanks for ur effort sir
Did you explain the Security Group set up for each EC2?
Hello Sir,
Please help me to resolve the below-getting issue while trying to run the YUM command.
1st I install JAVA then set the PATH in .bash_profile then install wget then download Jenkins using the given URL
While installing Jenkins getting below error.
Please suggest..
[root@ip-172-31-47-238 ~]# yum install jenkins
Last metadata expiration check: 0:00:57 ago on Fri 13 Dec 2019 09:10:49 PM UTC.
No match for argument: jenkins
Error: Unable to find a match
thank you very much for your great explanation. I got problem with .bash_profile once i entered window is not allowed me to edit.Please give me the solution
you have to press "i"
Thank you so much❤
Is it both video 8 and 9 is same or different because i can't see any changes between these two videos.
It is just the same demonstrated by two different creators.
Thank u bro
I am following every step it is working correct , but i am not getting the path by "find / .name javac " what could be the reason ?
grate job bro
Hi, Thanks for watching this video. Please subscribe to our TH-cam channel if you haven’t done yet. That helps us to grow and create more videos.
Thank you so much for this basic concept
After i install jenkins and build a test as mentioned in the video by you, i get an error "org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.222.1.jar!/hudson/model/Run/console.jelly:66:27: Failed to load the key: hudson.console.AnnotatedLargeText.consoleAnnotator"
Unable to resolve this. I have openjdk 11.0.6 2020-01-14 installed. Please help. I am stuck with this
sir can you please tell why we need to give path intead of path also jenkins is able to run
Try to learn about relative and absolute paths and their behaviors in different OSes
where did you take javac from.?
hi shankar sir, can u teach online?
pl let me know,would like to use this lock down period in learning..
he has a course on udemy on Jenkins
hello Kishore, I'm getting errror.
I have downloaded (java-11-openjdk-amd64). while running (ls -la) command not showing ( .bash_profile ) file
what could be the reasons
Thanks a lot for this video. I had installed Jenkins on aws , after installation I was able to open Jenkins thru browser but when I selected option install plugins, it shows error " unable to connect to Jenkins server"
Hi Sir.Thanks for the videos
Where i can see .Jenkins folder in EC2 Instance?
just try to search with "find / -name workspace" you can find it
I launched the instance as per your configuration but when I log in Jenkin and create the new job that mavan script options is disabled so please help me
nice video
Thanks for the information, I learn a lot from your technical videos and perform hands-on for my learning purpose. Please send me all the documentation related to this Simple DevOps Project-1and 2 | Simple DevOps project for CI/CD | CI/CD through Jenkins
Please do tell us why?
@@ValaxyTechnologies I am keen interested in learning new technologies and I just want to add it to my skill set and want to perform hands-on session using your informative videos. Just to upgrade my skill-set.
How about forking our repository and adding your contributions to it, so we all can learn from each other, instead of having a local copy of the knowledge :)?
Sure.. whatever i had practiced will definitely contribute. It's not just us, people can learn from our contribution is more important. Get me the url for your repository. Would love to explore.
Thanks
Please do one turorial for mobile app...aws..with reframework..
Are you saying that we should setup an EC2 instance and allow it to run for weeks. It's quite expensive you know.
You are meant to stop the instance when not in use and start it again when you want to use it
Hi Sir, Hi , I have doubt. i have installed jenkins on AWS EC2 Windows machine, i am able access jenkin URL from outside(my laptop) when i run jenkins as windoows service. But i am unable to access it when it run it via CMD. For my requirement, i need to run jenkins in cmd and should access it from outside. Please help me on this.
nice video.
Hi Sir,Thanks for sharing knowledge.. please provide PPT which u have configured Jenkins by using red hat Linux server
Why?
can you please make a video on creating a new jenkins pipeline
Very much in demand, but trying to fit into our schedule. Please bear with us, this community work is quite intensive to manage along with other stuff
Until here it's ok but I can't clone a repository to specific folder or execute shell scripts, because the permission.
I edit /etc/sudoers and added the line: jenkins ALL=(ALL) NOPASSWD: ALL in
but I haven't success.
I my ubuntu system I managed to execute successfully, but in my ec2 instance not.
Hi sir mobaxterm is portable edition or install edition pl can u tell me
Portable edition is more than enough to begin with
Please send ppt file to reachsatyabrata@gmail.com
Hi sir
I have installed Jenkins on ec2
But I'm unable to start jenkins CI server
It's getting faield state
What's reason?
Branches to build : */master
..how can we buid on another branch ...then how to merge with master
Nice..
@6:28 even after following all the steps I can't install Jenkins... I'm getting candidate error... Can anyone help me out with this?
Hi, there are some updated in the Jenkins. follow our latest video
please make a video on MobaXterm for understand how to use.
We already did, check in our channel
hi sir, how to set the java path where we will get the link
the $PATH is not changing in root user even after restarting. however it is updated in ec2-usr
I have setup Jenkins server as you mentioned, but while configuring CI/CD project, I dont found Git option...I tried may way like checking all configs options, then I tried deleting the whole setup and again installing step by step as you mentioned but still not getting git option, also at the start Maven project option also not showing so I need to select freestyle project option...can you please help
i have same question ,did you find the answer and help me too
Thanks . I need the installation script. Can u share
Will creating ec2 cost?
Hi SIr,
I have followed same steps and i am not able to set the environment variables
can you please correct us.
i have copied same code in the .bash_profile
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-2.amzn2.0.1.x86_64
PATH=$PATH:$JAVA_HOME:$HOME/bin
export PATH
it is showing still old path
Hi as you showed the skip the installation of plugin and inside the configure change the password I tried but they showing error what can I doo
why dont we access jenkins using private IP? If instance is restarted or rebooted public ip will be change so it will be causing issue using old public ip. Is there any chance to access jenkins using private ip
Hi, You can access Jenkins using private IP from internet if you have VPN. you can checkout VPN for more information. other way is using Elastic IP address.
Thanks for your comment.
Please join in below Facebook group to get in touch with you.
facebook.com/groups/valaxy.aws.devops.gang/
hi I connected to ec2 instance through my terminal, when you said to start a new session I exited and made new connection ,even though am enable to see my updated path..please help
under which users you set path. is it for ec2-user or root user? if you updated path under root .profile then you must become root to check.
Can't we put all the Commands in metadata section as a bootstrap script instead of doing manually?/
why do you need to install Jenkins on EC2 Server? I am using it(Jenkins) on my PC. what difference would it make or why do we need Jenkins on the EC2 server?
how other devs(all across the world) will connect to your pc and is your pc available 24x7?
@@ValaxyTechnologies understood. Thanks.
Hi,
I followed the vedio but I am not getting the java path when I triggered Find command can please help me.
Hi Sushmitha,
what is the output you are getting.
Hi
What about old Linux server, which was installed with java and tomcat services.
It seems, Here again you are using new server for jenkin installation.
In real life deployments, Jenkins/Build Master are hosted on separate servers.
Sir at 04:42
How are you saving it before writing wq
Sai Nath Wq is save and quit
nice
I am getting some error while setting up java in Jenkins. OOpss....Slack track some thing like that. and I am trying to open Manage Jenkins its not opening now.
"Some thing like that...."
hmm..
Let me think, Why that would happen..
.
..
...
...
Whhyyy!!
@@ValaxyTechnologies when I was setting java that time I got this error
Please upload video showing tomcat installation
After following all the steps properly also,my Jenkins dashboard is not coming,
Please help
Check your Security group for correct ports.
first check jenkins service running locally on your server, then check the port opened on security group of the ec2 instance. Hope you should get jenkins dashboard.
Thanks
Great
hai shankar i want ppt of installation of jenkins please send it
You should be able to follow the steps using the link mentioned in the description field.
I was not able to setup the path for the java in jenkins in console... :(
Why were you not able to setup, Keep at it. You will get there.
I had the same problem. The Jenkins console was looking for javac, not java. I had to install "sudo yum install java-1.8.0-openjdk-devel" and use the path to javac, not java.
Please tell me
How to check the java path
nice video . please send me ppt for Jenkins Installation & Configuration on AWS EC2 instance
Why?
java.io.IOException: Failed to start Jetty......how to fix this error
how to define java path in redhat server which command
Can I install jenkins on windows?
#yes
May i know the jenkins download link for ubuntu
What does jenkins.io/ say about that?
That is showing link for debian
Sir I want learn with you
Hi, Thanks for watching this video. Please subscribe to our TH-cam channel if you haven’t done yet. That helps us to grow and create more videos.
Please check in "about" tab in youtube channel.
th-cam.com/users/valaxytechnologiesabout
unable to set the java path, I have followed the same steps but it is not showing the path
The step may vary with respect to your operating system
The steps does not give javac. Better use - sudo yum install java-1.8.0-openjdk-devel
This video is shown only for installation of Jenkins. For that you wont need the devel packages. Moreover you don't need to compile anything on the Jenkins Master. Do let us know, if it is otherwise.
I really want to know where this javac came from. Whan I used the find / -name javac command , I didn't get same result. Was told no such directory exists. Pls help
Could you please share the ppt.
Please share cicd pipeline ppt
I need PPT could you send it
No you dont.
Sir.. Plz share ppt to me..
Share me slides sir please give me link
Sure, why not!! Wire me the $$$ :)
You should be able to follow the step here - github.com/miztiik/DevOps-Demos/tree/master/setup-jenkins
Please help
What you are expecting is real-time hand holding in your learning journey. That is almost impossible to provide through the youtube medium. If you need extensive support along every step of your journey you can contact our professional services team to get an expert to guide you through it.
If that is not possible, please be patient until one of our community members helps you with your issue.
Do not forget to use the thing called "search engines" to help yourself along the way.
Thanks
Hi please could you share the ppt.