On RPM-based distributions, such as Red Hat Enterprise Linux (RHEL), CentOS, Fedora or Scientific Linux, you can install Jenkins through yum.
Recent versions are available in a YUM repository. Installation
Add the Jenkins repository to the yum repos, and install Jenkins from here.
Installation of Java
Jenkins requires Java in order to run, yet certain distros don't include 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
在“Configure Global Security”里勾选“启用安全”,“Jenkins专有用户数据库”,“允许用户注册”。
在授权策略里选“安全矩阵”。安全矩阵里可以针对每个用户进行权限控制。以后再慢慢分析具体的权限控制。
这样的用户控制大概意思是,管理员拥有所有权限,其他的素有用户需要注册,并且注册之后通知管理员赋予权限。