Last modified by Bastian Triller on 2012/08/24 19:38

From version 125.1
edited by Bastian Triller
on 2023/11/13 11:56
Change comment: Renamed back-links.
To version 124.1
edited by Pascal Robert
on 2012/08/24 19:38
Change comment: Migrated to Confluence 5.3

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.btriller
1 +XWiki.probert
Content
... ... @@ -23,7 +23,7 @@
23 23  1. Restart your computer
24 24   This is required because the current version of Jenkins does not create the its directory until it launches after you restart you computer.
25 25  1. Point your browser to: [[http:~~/~~/localhost:8080/>>url:http://localhost:8080/||shape="rect"]]
26 -1. [[Start setting up jobs!>>doc:documentation.Home.Deployment.Using Jenkins Build Server with WebObjects Projects.Installing WebObjects and Wonder for Jenkins using WOJenkins.WebHome]]
26 +1. [[Start setting up jobs!>>doc:Installing WebObjects and Wonder for Jenkins using WOJenkins]]
27 27  
28 28  === Stand-Alone CentOS/RedHat/Amazon Linux ===
29 29  
... ... @@ -63,40 +63,54 @@
63 63  === Servlet Container Installation on Mac OS X (10.5, 10.6) ===
64 64  
65 65  1. Install Tomcat from [[http:~~/~~/www.macports.org>>url:http://www.macports.org||shape="rect"]] with the command
66 -1. {{noformat}}sudo /opt/local/bin/port install tomcat6{{/noformat}}Create an administrative user in {{code language="none"}}/opt/local/share/java/tomcat6/conf/tomcat-users.xml{{/code}}. {{code 0="xml"}}<?xml version='1.0' encoding='utf-8'?>
66 +1. {{noformat}}
67 +sudo /opt/local/bin/port install tomcat6
68 +{{/noformat}}Create an administrative user in {{code language="none"}}/opt/local/share/java/tomcat6/conf/tomcat-users.xml{{/code}}. {{code 0="xml"}}
69 +<?xml version='1.0' encoding='utf-8'?>
67 67  <tomcat-users>
68 68   <role rolename="manager"/>
69 69   <role rolename="admin"/>
70 70   <user username="tomcat" password="tomcat" roles="admin,manager"/>
71 -</tomcat-users>{{/code}}
74 +</tomcat-users>
75 +{{/code}}
72 72  1. {{panel bgColor="#F7D6C1"}}Don't forget to change the username and password after you have finished checking out the build server and start using it in production.{{/panel}}Start Tomcat.
73 -1. {{noformat}}sudo launchctl load -w /Library/LaunchDaemons/org.macports.tomcat6.plist{{/noformat}}[[Download Jenkins>>url:http://mirrors.jenkins-ci.org/war/latest/jenkins.war||shape="rect"]], saving {{code language="none"}}jenkins.war{{/code}} somewhere for later.
77 +1. {{noformat}}
78 +sudo launchctl load -w /Library/LaunchDaemons/org.macports.tomcat6.plist
79 +{{/noformat}}[[Download Jenkins>>url:http://mirrors.jenkins-ci.org/war/latest/jenkins.war||shape="rect"]], saving {{code language="none"}}jenkins.war{{/code}} somewhere for later.
74 74  1. Create a folder for Jenkins to work in: {{code language="none"}}/opt/local/var/db/jenkins{{/code}}
75 75  1. Change ownership of that folder: {{code language="none"}}chown _www:_www /opt/local/var/db/jenkins{{/code}}
76 76  1. Add the following to {{code language="none"}}/opt/local/share/java/tomcat6/conf/setenv.local{{/code}}:
77 -1. {{noformat}}export JENKINS_HOME=/opt/local/var/db/jenkins
78 -export JAVA_OPTS=-Djava.awt.headless=true{{/noformat}}Install Jenkins in Tomcat: go to [[http:~~/~~/localhost:8080>>url:http://localhost:8080||shape="rect"]], login with the user and password that you have created in {{code language="none"}}tomcat-users.xml{{/code}}, and upload {{code language="none"}}jenkins.war{{/code}} to the Tomcat server.
83 +1. {{noformat}}
84 +export JENKINS_HOME=/opt/local/var/db/jenkins
85 +export JAVA_OPTS=-Djava.awt.headless=true
86 +{{/noformat}}Install Jenkins in Tomcat: go to [[http:~~/~~/localhost:8080>>url:http://localhost:8080||shape="rect"]], login with the user and password that you have created in {{code language="none"}}tomcat-users.xml{{/code}}, and upload {{code language="none"}}jenkins.war{{/code}} to the Tomcat server.
79 79  1. Goto [[http:~~/~~/localhost:8080/jenkins>>url:http://localhost:8080/jenkins||shape="rect"]] and you can start configuring your Jenkins build server.
80 80  
81 81  === (% style="color: rgb(0,0,0);" %)**Servlet Container Installation on Mac OS X Server (10.6)**(%%) ===
82 82  
83 83  1. Tomcat is by default installed on Mac OS X Server.
84 -1. Create an administrative user in {{code language="none"}}/Library/Tomcat/conf/tomcat-users.xml{{/code}}. {{code 0="xml"}}<?xml version='1.0' encoding='utf-8'?>
92 +1. Create an administrative user in {{code language="none"}}/Library/Tomcat/conf/tomcat-users.xml{{/code}}. {{code 0="xml"}}
93 +<?xml version='1.0' encoding='utf-8'?>
85 85  <tomcat-users>
86 86   <role rolename="manager"/>
87 87   <role rolename="admin"/>
88 88   <user username="tomcat" password="tomcat" roles="admin,manager"/>
89 -</tomcat-users> {{/code}}
98 +</tomcat-users> 
99 +{{/code}}
90 90  1. {{panel bgColor="#F7D6C1"}}(% style="color: rgb(0,0,0);" %)Don't forget to change the username and password after you have finished checking out the build server and start using it in production. {{/panel}}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.
91 91  1. [[Download Jenkins>>url:http://mirrors.jenkins-ci.org/war/latest/jenkins.war||shape="rect"]], saving {{code language="none"}}jenkins.war{{/code}} somewhere for later.
92 92  1. Create a folder for Jenkins to work in: {{code language="none"}}/Library/Jenkins{{/code}}
93 93  1. Change ownership of that folder: {{code language="none"}}chown _appserver:sys /Library/Jenkins{{/code}}
94 94  1. Add the following to {{code language="none"}}/Library/Tomcat/bin/setenv.sh{{/code}}:
95 -1. {{code}}export JENKINS_HOME=/Library/Jenkins
96 -export JAVA_OPTS=-Djava.awt.headless=true{{/code}}Make sure that you are using UTF-8 in the Connector, by adding {{code language="none"}}URIEncoding="UTF-8"{{/code}} to the Connector in {{code language="none"}}/Library/tomcat/conf/server.xml{{/code}} as shown here:
97 -1. {{code 0="xml"}}<Connector port="8080" protocol="HTTP/1.1"
105 +1. {{code}}
106 +export JENKINS_HOME=/Library/Jenkins
107 +export JAVA_OPTS=-Djava.awt.headless=true
108 +{{/code}}Make sure that you are using UTF-8 in the Connector, by adding {{code language="none"}}URIEncoding="UTF-8"{{/code}} to the Connector in {{code language="none"}}/Library/tomcat/conf/server.xml{{/code}} as shown here:
109 +1. {{code 0="xml"}}
110 +<Connector port="8080" protocol="HTTP/1.1"
98 98   connectionTimeout="20000"
99 - redirectPort="8443" URIEncoding="UTF-8"/>{{/code}}Install Jenkins in Tomcat: go to [[http:~~/~~/localhost:8080>>url:http://localhost:8080||shape="rect"]], login with the user and password that you have created in tomcat-users.xml, and upload jenkins.war to the Tomcat server.
112 + redirectPort="8443" URIEncoding="UTF-8"/>
113 +{{/code}}Install Jenkins in Tomcat: go to [[http:~~/~~/localhost:8080>>url:http://localhost:8080||shape="rect"]], login with the user and password that you have created in tomcat-users.xml, and upload jenkins.war to the Tomcat server.
100 100  1. Goto [[http:~~/~~/localhost:8080/jenkins>>url:http://localhost:8080/jenkins||shape="rect"]] and you can start configuring your Jenkins build server.
101 101  
102 102  == Building WO Apps ==
... ... @@ -113,4 +113,4 @@
113 113  
114 114  == Building projects ==
115 115  
116 -See [[doc:documentation.Home.Deployment.Using Jenkins Build Server with WebObjects Projects.Installing WebObjects and Wonder for Jenkins using WOJenkins.WebHome]]
130 +See [[doc:Installing WebObjects and Wonder for Jenkins using WOJenkins]]