Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Hudson-ci/Using Hudson/Installing Hudson/Installing Hudson DEB"

(New page: {{Template:hudson|pageTitle=Installing Hudson on Debian and Ubuntu}} == Introduction == On Debian-based distributions, such as Ubuntu, you can install Hudson through {{Template:code|apt-g...)
 
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Template:hudson|pageTitle=Installing Hudson on Debian and Ubuntu}}
+
{{Hudson|pageTitle=Installing Hudson on Debian and Ubuntu}}  
  
== Introduction ==
+
== Introduction ==
On Debian-based distributions, such as Ubuntu, you can install Hudson through {{Template:code|apt-get}}.
+
  
Recent versions are available in [http://hudson-ci.org/downloads/debian/|http://hudson-ci.org/downloads/debian/]
+
This is a quick guide only, for more information see {{HudsonBookLink|chapter=3|section=3}}  
{{Note|This Link needs to be amended when builds start on Eclipse}}
+
  
h1. Installation
+
On Debian-based distributions, such as Ubuntu, you can install Hudson through {{code|apt-get}}.  
  
* sudo sh -c "echo 'deb http://hudson-ci.org/debian binary/' > /etc/apt/sources.list.d/hudson.list"
+
Recent versions are available in [http://hudson-ci.org/downloads/debian/ http://hudson-ci.org/downloads/debian/] {{Note|This Link needs to be amended when builds start on Eclipse}}
* sudo apt-get update
+
* sudo apt-get install hudson
+
  
h1. Upgrade
+
== Installation  ==
  
* sudo apt-get update
+
#sudo sh -c "echo 'deb <nowiki>http://hudson-ci.org/debian /</nowiki>' &gt; /etc/apt/sources.list.d/hudson.list"
 +
#{{code|sudo apt-get update}}
 +
#sudo apt-get install hudson
  
and then after a backup
+
== Upgrade  ==
  
* sudo apt-get upgrade
+
*sudo apt-get update
  
h1. What does this package do?
+
and then after a backup
  
* Hudson will be launched as a daemon up on start. See {{/etc/init.d/hudson}} for more details.
+
*sudo apt-get upgrade
* The 'hudson' user is created to run this service.
+
* Log file will be placed in {{/var/log/hudson/hudson.log}}. Check this file if you are troubleshooting Hudson.
+
* {{/etc/default/hudson}} will capture configuration parameters for the launch.
+
  
h1. Where to go from here?
+
== What does this package do? ==
  
* Try Hudson locally : [http://localhost:8080] and install whatever plugins and more you need.
+
#Hudson will be launched as a daemon up on start. See {{path|/etc/init.d/hudson}} for more details.
* You might want to [make Hudson visible through Apache|Running Hudson behind Apache], to make it available on port 80 (for example, [http://myserver/hudson/] instead of [http://myserver:8080/]). See [this blog for more details|http://www.zzorn.net/2009/11/setting-up-hudson-on-port-80-on-debian.html]
+
#The 'hudson' user is created to run this service.
 +
#Log file will be placed in {{path|/var/log/hudson/hudson.log}}. Check this file if you are troubleshooting Hudson.
 +
#{{path|/etc/default/hudson}} will capture configuration parameters for the launch.
 +
 
 +
== Where to go from here?  ==
 +
 
 +
*Try Hudson locally&nbsp;: [http://localhost:8080 http://localhost:8080] and install whatever plugins and more you need.  
 +
*You might want to [[Hudson-ci/Running Hudson behind Apache|make Hudson visible through Apache]], to make it available on port 80 (for example, [http://myserver/hudson/ http://myserver/hudson/] instead of [http://myserver:8080/ http://myserver:8080/]). See [http://www.zzorn.net/2009/11/setting-up-hudson-on-port-80-on-debian.html this blog for more details]

Latest revision as of 20:18, 15 August 2014

Hudson Continuous Integration Server
Website
Download
Community
Mailing ListForumsIRCmattermost
Issues
OpenHelp WantedBug Day
Contribute
Browse Source
Hudson-bust.png Installing Hudson on Debian and Ubuntu











Introduction

This is a quick guide only, for more information see The Hudson Book Section 3.3

On Debian-based distributions, such as Ubuntu, you can install Hudson through apt-get.

Recent versions are available in http://hudson-ci.org/downloads/debian/
Note.png
This Link needs to be amended when builds start on Eclipse


Installation

  1. sudo sh -c "echo 'deb http://hudson-ci.org/debian /' > /etc/apt/sources.list.d/hudson.list"
  2. sudo apt-get update
  3. sudo apt-get install hudson

Upgrade

  • sudo apt-get update

and then after a backup

  • sudo apt-get upgrade

What does this package do?

  1. Hudson will be launched as a daemon up on start. See /etc/init.d/hudson for more details.
  2. The 'hudson' user is created to run this service.
  3. Log file will be placed in /var/log/hudson/hudson.log. Check this file if you are troubleshooting Hudson.
  4. /etc/default/hudson will capture configuration parameters for the launch.

Where to go from here?

Back to the top