jenkins 安装
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了jenkins 安装相关的知识,希望对你有一定的参考价值。
1.基础环境 yum install java-1.8.0-openjdk java-1.8.0-openjdk-devel -y
https://mirrors.tuna.tsinghua.edu.cn/jenkins/redhat-stable/
包 百度云tmp
[[email protected] ~]# rpm -ivh jenkins-2.32.3-1.1.noarch.rpm warning: jenkins-2.32.3-1.1.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID d50582e6: NOKEY Preparing... ################################# [100%] Updating / installing... 1:jenkins-2.32.3-1.1 ################################# [100%] [[email protected] ~]# [[email protected] ~]# service jenkins status ● jenkins.service - LSB: Jenkins Continuous Integration Server Loaded: loaded (/etc/rc.d/init.d/jenkins; bad; vendor preset: disabled) Active: inactive (dead) Docs: man:systemd-sysv-generator(8) [[email protected] ~]# service jenkins start Starting jenkins (via systemctl): [ OK ] [[email protected] ~]# 修改jenkins 默认的用户 以及端口 [[email protected] jenkins]# rpm -ql jenkins /etc/init.d/jenkins /etc/logrotate.d/jenkins /etc/sysconfig/jenkins #在此文件中 /usr/lib/jenkins /usr/lib/jenkins/jenkins.war /usr/sbin/rcjenkins /var/cache/jenkins /var/lib/jenkins /var/log/jenkins [[email protected] jenkins]#
本文出自 “砖家博客” 博客,请务必保留此出处http://wsxxsl.blog.51cto.com/9085838/1922910
以上是关于jenkins 安装的主要内容,如果未能解决你的问题,请参考以下文章
[Jenkins01] Jenkins的安装和部署(jenkins教程)