Manon.icu

I'm here to make you a better developer by teaching you everything I know about building for the web.

Published 2020-09-19

安装jenkins

基于 centos 7.2

安装 java 环境

sudo yum install java-1.8.0-openjdk-devel

加入软件源

curl --silent --location http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo | sudo tee /etc/yum.repos.d/jenkins.repo

加入软件 key

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

安装

sudo yum install jenkins

启动 jenkins

sudo systemctl start jenkins

检查 jenkins 状态

systemctl status jenkins

加入开机启动

sudo systemctl enable jenkins

访问

http://your_ip_or_domain:8080

sudo cat /var/lib/jenkins/secrets/initialAdminPassword

安装默认插件

注册用户

完成

Comments

No Comments!