Jenkins fails when running “service start jenkins”

前端 未结 21 2325
不知归路
不知归路 2021-01-30 20:46

I installed jenkins on Cnetos 7 using the following:

sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --impor         


        
21条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-30 21:27

    Before you install Jenkins you should install JDK:

    apt install openjdk-8-jre
    

    After this install Jenkins:

    apt-get install jenkins
    

    And check Jenkins status (should be 'active'):

    systemctl status jenkins.service
    

提交回复
热议问题