Jenkins install
Linux CentOS 7.1 x64
Java 1.8 x64
apache-maven-3.3.9
Installation
- sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
- sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
- sudo yum install jenkins
- Installation is complete
Modify Configration
Modify configration file /etc/sysconfig/jenkins
vim /etc/sysconfig/jenkins
# 修改启动用户为root,默认为jenkins
JENKINS_USER="root"
# 修改运行端口为9080,默认为8080
JENKINS_PORT="9080"
Start service
systemctl start jenkins.service
systemctl status jenkins.service
Configuration
open http://host:9080/
more /var/lib/jenkins/secrets/initialAdminPassword
user name: admin password: admin
1、因为很少登录,评论基本没有回复,见凉!
2、如果转载我的文章,请写明出处,谢谢!
3、有些文章为转载,如果您发现侵权,请联系删除,但回复可能需要较长时间