Changes for page Installing and Configuring Jenkins
Last modified by Bastian Triller on 2012/08/24 19:38
From version 65.1
edited by David Avendasora
on 2011/07/07 13:44
on 2011/07/07 13:44
Change comment:
There is no comment for this version
To version 47.1
edited by Pascal Robert
on 2012/01/08 21:47
on 2012/01/08 21:47
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. avendasora1 +XWiki.probert - Content
-
... ... @@ -9,7 +9,7 @@ 9 9 === Stand-Alone Mac OS X Setup === 10 10 11 11 1. Download the Jenkins Binary Installer from the [[Jenkins Website>>http://jenkins-ci.org/]]. 12 -The direct link to get he latest installer is: [[http://mirrors.jenkins-ci.org/osx/latest]]. This will download a standard OS X Installer Package named ##jenkins-n.nnn.pkg##. 12 +The direct link to get the latest installer is: [[http://mirrors.jenkins-ci.org/osx/latest]]. This will download a standard OS X Installer Package named ##jenkins-n.nnn.pkg##. 13 13 1. Run the installer 14 14 [[image:JenkinsInstaller.png]] 15 15 1. Restart your computer ... ... @@ -17,6 +17,24 @@ 17 17 1. Point your browser to: [[http://localhost:8080/]] 18 18 1. Start setting up jobs (Instructions from WOWODC2011 Coming Soon) 19 19 20 +=== Stand-Alone CentOS/RedHat/Amazon Linux === 21 + 22 +The easiest way to install Jenkins on a Fedora/RedHat/CentOS/Amazon Linux is by using [[Yum>>http://en.wikipedia.org/wiki/Yellow_dog_Updater,_Modified]]. The Jenkins project have a Yum repository and [[complete instructions>>https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+RedHat+distributions]] on how to add the repository + install Jenkins the first time. 23 + 24 +You can also manually install Jenkins from a RPM. To do so: 25 + 26 +1. Download the Jenkins Binary Installer from the [[Jenkins Website>>http://pkg.jenkins-ci.org/redhat/]]. 27 +1. If using the .rpm, install it with 28 +rpm -install jenkins-VERSION-NUMBER.noarch.rpm 29 +1. To start Jenkins: 30 +service jenkins on 31 +1. Point your browser to: [[http://yourserver:8080]] 32 +1. The Jenkins data directory, where the jobs and config are, is : /var/lib/jenkins 33 +The starting script is at: /etc/init.d/jenkins 34 +Jenkins (the .war) is installed at: /usr/lib/jenkins/ 35 +1. To upgrade Jenkins, do the same step as installation, but do -upgrade instead of -install: 36 +rpm -upgrade jenkins-VERSION-NUMBER.noarch.rpm 37 + 20 20 === Using SSL === 21 21 22 22 Setting up SSL for Jenkins is surprisingly easy. The following is originally from the [[SSL Setup Options>>http://jenkins.361315.n4.nabble.com/SSL-Setup-Options-td954261.html]] page on nabble.com: ... ... @@ -113,7 +113,7 @@ 113 113 1. The way to start it depends on the version. The current way is to go to the Web Settings in Server Admin, Settings, General, check the Tomcat checkbox. Restart the WebServer. 114 114 1. [[Download Jenkins>>http://mirrors.jenkins-ci.org/war/latest/jenkins.war]], saving ##jenkins.war## somewhere for later. 115 115 1. Create a folder for Jenkins to work in: ##/Library/Jenkins## 116 -1. Change ownership of that folder: ##chown //appserver:sys /Library/Jenkins//##134 +1. Change ownership of that folder: ##chown appserver:sys /Library/Jenkins## 117 117 1. Add the following to ##/Library/Tomcat/bin/setenv.sh##: 118 118 119 119 {{code}} ... ... @@ -127,7 +127,7 @@ 127 127 128 128 {{code value="xml"}} 129 129 130 - 148 +<Connector port="8080" protocol="HTTP/1.1" 131 131 connectionTimeout="20000" 132 132 redirectPort="8443" URIEncoding="UTF-8"/> 133 133