二、JAVA依赖:
1 yum install java-1.8.0-openjdk 2 java -version
软件安装:
wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins.io/redhat-stable/jenkins.repo rpm --import http://pkg.jenkins.io/redhat-stable/jenkins.io.key yum install jenkins vim /etc/sysconfig/jenkins JENKINS_AJP_PORT="-1" #服务管理: service jenkins start/stop/restart chkconfig jenkins on #访问路径:http://10.0.0.1:8080cat /var/lib/jenkins/secrets/initialAdminPasswordselect plugins to install --> installcreate userstart
配置管理:
系统管理:
系统设置
插件管理 -> 可选插件 -> (git,github)
时间: 2024-10-08 04:59:51