Installation Environment :Centos 6.4 32-bit
First, install Jenkins
[[email protected] ~]$ sudo rpm--import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key[[email protected] ~]$ sudo Yum install jenkinsjenkins-1.638-1.1.noarch.rpm [[email protected] ~]$ sudo yum install-y Jenkins
If "[Errno] No more mirrors to try" appears. Error, remove the yum cache "sudo yum clean all" after reloading, or go directly to the official website to download the RPM package installation.
Second, start Jenkins
Java support is required for boot, please install JDK7 first
[Email protected] ~]$ sudo/etc/init.d/jenkins startstarting Jenkins [OK]
If the "Starting Jenkins bash:/usr/bin/java:no such file or directory" error appears, add the Java installation path to the/etc/init.d/jenkins file to restart.
Third, visit Jenkins
Use http://ip:8080/to access Jenkins
/usr/lib/jenkins/:jenkins installation directory.
/etc/sysconfig/jenkins:jenkins configuration file
/var/log/jenkins/jenkins.log:jenkins log file.
This article is from the "Margin Fly" blog, please be sure to keep this source http://yuanfei.blog.51cto.com/9953199/1717991
CentOS Installation Jenkins