Installation jenkins-1-

1, the installation

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

sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key

yum install jenkins

2, modify the user name, port

vi / etc / sysconfig / jenkins user you want to modify and port

JENKINS_USER="root"    JENKINS_PORT="8888"

If another firewall. Custom ports need to be open, such as "8888"

3, start, stop, restart commands

service jenkins start

service jenkins stop

service jenkins restart

4, access

http: // IP: 8888; requires patience later on, appears below this page


8901375-17b081da8a1abaab.png

5, find the problem in the directory, copy the password to the input box above, enter the next step; or select the recommended custom plugins installed



8901375-a51261a9f233f660.png

6, after the installation is complete


8901375-d0bdf243bfdadbe2.png

7, continue down, you do not need to speak more


8901375-9bff93237948848f.png

Reproduced in: https: //www.jianshu.com/p/d6389d61c928

Guess you like

Origin blog.csdn.net/weixin_34025151/article/details/91239441