My jenkins installation failed

Hi
This is my jenkins lab link https://engineer.kodekloud.com/task?id=6468912dc1ff5e7e05478f5d&status=start
When I tried to install jenkins on centos it failed, I don’t know why.

This is the error message :

If the link doesn’t work, you can see the topic here :
image

Again, you should include the name of the task, and for KodeKloud Engineer, you need to include either:

  • The “curriculum”, level, and name of the task, OR
  • For the 100 Days of Dev Ops, the “day”.

In this lab, you’ll need to look in journalctl as suggested to see what the problem is. What’s in the log, exactly?

Task name : Set Up Jenkins Server

I think my connection to the jenkins server with user root isn’t work.
I used the command su to switch user but the password failed, I don’t know why.
Can you tell me the right command to do that?

Assuming this is your task – then you log into the jenkins server as root, using the credentials they supply you in the task. Since you’re logged into the server as root, no need for sudo.

@Lamine

Have you installed Java? It is a required dependency for running Jenkins.

Hi Raymond,
I have installed java. I find the way with @rob link.

Thank you for your help.

Thank you rob for your help.