Jenkins Initial Entry---installation and user control

Source: Internet
Author: User

Jenkins Official website: http://jenkins-ci.org/

Installation Instructions: Https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins


On rpm-based distributions, such as Red Hat Enterprise Linux (RHEL), CentOS, Fedora or scientific Linux, you can install J Enkins through yum.

Recent versions is available in a YUM repository.

Installation

Add The Jenkins repository to the Yum repos, and install Jenkins from here.

    • sudo wget-o/etc/yum.repos.d/jenkins.repo Http://pkg.jenkins-ci.org/redhat/jenkins.repo

    • sudo rpm--import Https://jenkins-ci.org/redhat/jenkins-ci.org.key

    • sudo yum install Jenkins

Installation of a stable version

There is also a, LTS YUM repository for the LTS Release line

    • sudo wget-o/etc/yum.repos.d/jenkins.repo Http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo

    • sudo rpm--import Https://jenkins-ci.org/redhat/jenkins-ci.org.key

    • sudo yum install Jenkins

Installation of Java

Jenkins requires Java in order to run, yet certain distros don ' t include the this by default. To install the Open Java development Kit (OpenJDK) run the following:

sudo yum install Java

Note: If running CentOS, ensure you follow the guide below.

Start/stop
    • sudo service Jenkins Start/stop/restart

    • sudo chkconfig Jenkins on


As a beginner, I directly shut the iptables, lest there are some unnecessary mistakes.

To view the Jenkins running status:

[[email protected] ~]# ps-ef |grep jenkinsjenkins 6691 1 0 06:27? 00:02:53/etc/alternatives/java-dcom.sun.akuma.daemon=da/log/jenkins/jenkins.log--webroot=/var/cache/jenkins/ War--daemon--httpport=8080--ajp13port=8root 7823 7346 0 12:42 pts/1 00:00:00 grep Jenkins


After the installation is complete, open it in the browser: url:8080. such as 192.168.179.128:8080

Jenkins User Control , the first registered user is an administrator. Other registered users do not have any permissions and need to be manually added by the administrator.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/E6/wKiom1WsuSGxxqLFAAKATZJydSM951.jpg "style=" float: none; "title=" 1.png "alt=" Wkiom1wsusgxxqlfaakatzjydsm951.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/E6/wKiom1WsuSLwC9GBAAKKZYRrUQU189.jpg "style=" float: none; "title=" 2.png "alt=" Wkiom1wsuslwc9gbaakkzyrruqu189.jpg "/>


Check "Enable security", "Jenkins Proprietary user Database", "Allow user registration" in "Configure Global security".

Select "Security Matrix" in the authorization policy. The security matrix allows permission control for each user. And then slowly analyze the specific permissions control.

This kind of user control probably means that the administrator has all the permissions, the other known users need to register, and after registering to notify the administrator to give permission.








This article from the "Song of Maple" blog, reproduced please contact the author!

Jenkins Initial Entry---installation and user control

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.