ジェンキンスを構築するための継続的な統合プラットフォーム

安装gitlab
1.安装基础环境
RHEL/CentOS 用户 #清华源地址
新建 /etc/yum.repos.d/gitlab-ce.repo,内容为
[gitlab-ce]
name=Gitlab CE Repository
baseurl=https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el$releasever/
gpgcheck=0
enabled=1
再执行
sudo yum makecache
sudo yum install gitlab-ce

yumのカールpolicycoreutilsのopenssh-サーバーのopenssh-クライアントの接尾辞をインストール
postfixの起動systemctl
カール-s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.shを | sudoのbashの
yumを-y gitlab-CEインストール
gitlab-CTLの再設定を#编译gitlab
systemctl停止のhttpd#关闭のhttpd服务
gitlab-CTL再起動#启动gitlab
ここに画像を挿入説明

1.インストールのJava環境
のyumのjava-1.8.0をインストール-y

2.安装ジェンキンス源
CD /etc/yum.repos.d/
のwgetのhttpd://pkg.jenkins.io/redhat/jenkins.repo

3.公開鍵インストール
RPM --import http://pkg.jenkins.io/redhat/jenkins.io.key
4.yumを搭載し
YUM -Yジェンキンスをインストール
ジェンキンスは、サービス#の再起動再起動systemctl
猫の/ var / libに/ジェンキンス/秘密を/ initialAdminPassword
ここに画像を挿入説明
ジェンキンスのURL:http://192.168.0.200:8080/

おすすめ

転載: blog.csdn.net/weixin_43546282/article/details/91471850