Centos7 yum 安裝Jenkins
jenkins 安裝需要依賴jdk,因為jenkins是用java語言編寫的,此處跳過jdk的安裝。
1、配置yum源並
[[email protected] yum.repos.d]# wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
2、安裝jenkins
[[email protected] disk]# rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
[[email protected] disk]# yum install jenkins Loaded plugins: fastestmirror, langpacks jenkins | 2.9 kB 00:00:00 jenkins/primary_db | 111 kB 00:00:01 Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com Resolving Dependencies --> Running transaction check ---> Package jenkins.noarch 0:2.126-1.1 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================================================================================================================= Package Arch Version Repository Size ================================================================================================================================================================================================================= Installing: jenkins noarch 2.126-1.1 jenkins 71 M Transaction Summary ================================================================================================================================================================================================================= Install 1 Package Total download size: 71 M Installed size: 71 M Is this ok [y/d/N]: y Downloading packages: jenkins-2.126-1.1.noarch.rpm | 71 MB 00:00:21 Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum. Installing : jenkins-2.126-1.1.noarch 1/1 Verifying : jenkins-2.126-1.1.noarch 1/1 Installed: jenkins.noarch 0:2.126-1.1 Complete!
3、需改config
[[email protected] lib]# vi /etc/sysconfig/jenkins
修改port,預設8080
JENKINS_PORT="8088"
修改jenkins_home 預設/var/lib/jenkins
JENKINS_HOME="/disk/mid-services/jenkins""
如果修改了jenkinshome
mkdir -p /disk/mid-services/jenkins
cd /disk/mid-services
chown -R jenkins:jenkins jenkins
4、啟動
systemctl restart jenkins
啟動完成後就可以訪問了
http://10.200.132.168:8088/
進入初始化介面
密碼在/disk/mid-services/jenkins/secrets/initialAdminPassword ,複製出來貼上就可以了
如果沒有修改jenkinshome ,密碼在/var/lib/jenkins/secrets/initialAdminPassword
相關推薦
Centos7 yum 安裝Jenkins
jenkins 安裝需要依賴jdk,因為jenkins是用java語言編寫的,此處跳過jdk的安裝。1、配置yum源並[[email protected] yum.repos.d]# wget -O /etc/yum.repos.d/jenkins.repo htt
CentOS7下yum安裝Jenkins
1.下載依賴 sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo 2.匯入祕鑰 sudo rpm --import https:/
centOS7下使用yum安裝jenkins以及執行jenkins
第一步,獲取jenkins的倉庫 wget -O /etc/yum.repos.d/jenkins.repo http://pk
centos7.x安裝jenkins
jenkins linux centos #jdk tar -zxf jdk-8u131-linux-x64.tar.gz -C /usr/local/ echo "export JAVA_HOME=/usr/local/jdk1.8.0_131" >> /etc/profile #e
Centos7 yum安裝 Lnmp以及Lamp
更改 重啟nginx XML fas 授權 /etc/ lin navi html中 首先配置防火墻 CentOS 7.0默認使用的是firewall作為防火墻 1.關閉firewall: systemctl stop firewalld.service #停止fir
CentOS7 yum 安裝 Nginx最新版本
centos7 yum 安裝 nginx最新版本下載對應當前系統版本的nginx包(package)# wget http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm建立nginx
Centos7 yum安裝 mysql
centos7 yum安裝 mysql前言1、mysql安裝 CentOS 7的yum源中貌似沒有正常安裝mysql時的mysql-sever文件,需要去官網上下載 # wget http://dev.mysql.com/get/mysql-community-release-el7-5.noar
centos7 yum安裝mysql5.7
post col class att mysql5.7 com mysq unit pan 操作系統:centos7.1 數據庫版本:mysql5.7.21 社區版 1.下載rpm包 wget http://dev.mysql.com/get/mysql57-co
centos7 yum安裝java運行環境,初識hadoop
安裝java hadoop單機試運行安裝java運行環境 1.實驗機相關信息:[root@node2 ~]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) [root@node2 ~]# uname -r3.10.0-327.e
<轉載>CentOS7 yum 安裝與配置MySQL5.7
ins TP pre vra unit BE ket img 狀態 安裝環境:CentOS7 64位 MINI版,安裝MySQL5.7 1、配置YUM源 在MySQL官網中下載YUM源rpm安裝包:https://dev.mysql.com/downloads/repo/y
Centos7 yum安裝nginx
pack border span 啟動 arc 開機 守護 服務 pan centos7 yum 安裝nginx 1.添加Nginx到YUM源 添加CentOS 7 Nginx yum資源庫,打開終端,使用以下命令: sudo rpm -Uvh http://ng
centos7 yum安裝mysql
centos7 密碼 centos7安裝 centos版本 server gpgcheck gre root mysq 1、卸載mariadb,否則安裝mysql會出現沖突 2、添加官方的yum源 以centos7安裝mysql5.6為例: 創建並編輯mysql-commu
CentOS7 yum安裝配置 drbd-84-utils (外部模式)
1 安裝環境介紹 1.1 系統環境 核心:3.10.0-862.el7.x86_64 版本:CentOS Linux release 7.5.1804 (Core) 主伺服器:hostname = mysql-master-01 心跳通訊 IP = 172.16.1.50
centos7 yum安裝配置redis 並設定密碼 centos7 yum安裝配置redis 並設定密碼
學習應該圍繞著體系而進行,適當的學習底層,是為了建立體系的連結點,而不是為追底層而底層。 首頁 聯絡 管理 隨筆 - 43 文章 - 0 評論
centos7 yum安裝pip
在centos7下,預設安裝了python2.7, 但是包管理工具pip並沒有安裝。 直接執行yum install python-pip, 出現如下情況 這種情況是因為centos7 預設是沒有相關源資訊,因此首先要安裝下擴充套件源EPEL(自行百度瞭解) yum -
centos7 yum安裝zabbix監控
一、安裝zabbix server 1、升級系統元件到最新版本 [[email protected] ~]# yum -y update 2、安裝過程中為了方便,關閉seliunx和防火牆 3、安裝mysql5.7,操作過程請另外參考檔案(省略) 4、安裝Apache [[ema
CentOS7 yum安裝Apache(httpd)並實現多域名配置
系統環境:騰訊雲CentOS 7.2 x64 一、Apache(httpd)安裝 安裝 yum install httpd 1 設定自啟 systemctl enable httpd.service 1 二、軟體配置 編輯httpd.conf就夠了,httpd.co
centos7 yum 安裝時出現Bad id for repo: http repo, byte = 4
出現問題的時候的http倉庫配置 1 [http repo] 2 name=this is Tsinghua's open source mirror site 3 baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/7/os
centos7 yum 安裝vsftpd
安裝步驟 1.通過yum來安裝vsftpd [[email protected] ~]# yum -y install vsftpd 2.設定為開機啟動 [[email protected] ~]# chkconfig vsftpd on 3.在/
centos7 yum 安裝 python3.6
conf roc ado nag 分享圖片 cat index glob yun wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repoyum install python3