Jenkins fails when running “service start jenkins”

前端 未结 21 2327
不知归路
不知归路 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:22

    In my case, the port 8080 was taken by some other service (Apache Airflow).

    So I edit the HTTP port in this file:

    sudo vi /etc/default/jenkins
    

    And then started the service and it worked:

    sudo service jenkins start
    

    I was on Ubuntu 18.04 and installed openjdk-8

提交回复
热议问题