Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be 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"

m
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{hudson|pageTitle=Installing Hudson on Debian and Ubuntu}}
+
{{Hudson|pageTitle=Installing Hudson on Debian and Ubuntu}}  
  
== Introduction ==
+
== Introduction ==
This is a quick guide only, for more information see {{HudsonBookLink|3.2}}
+
  
On Debian-based distributions, such as Ubuntu, you can install Hudson through {{Template:code|apt-get}}.
+
This is a quick guide only, for more information see {{HudsonBookLink|chapter=3|section=3}}  
  
Recent versions are available in [http://hudson-ci.org/downloads/debian/ http://hudson-ci.org/downloads/debian/]
+
On Debian-based distributions, such as Ubuntu, you can install Hudson through {{code|apt-get}}.
{{Note|This Link needs to be amended when builds start on Eclipse}}
+
  
== Installation ==
+
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 sh -c "echo 'deb <nowiki>http://hudson-ci.org/debian binary/</nowiki>' > /etc/apt/sources.list.d/hudson.list"
+
== Installation  ==
# {{code|sudo apt-get update}}
+
# sudo apt-get install hudson
+
  
== Upgrade ==
+
#sudo sh -c "echo 'deb <nowiki>http://hudson-ci.org/debian binary/</nowiki>' &gt; /etc/apt/sources.list.d/hudson.list"
 +
the command above didn't work for my 10.04 server so I corrected it:
 +
#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
  
* sudo apt-get update
+
== Upgrade  ==
  
and then after a backup
+
*sudo apt-get update
  
* sudo apt-get upgrade
+
and then after a backup
  
== What does this package do? ==
+
*sudo apt-get upgrade
  
# Hudson will be launched as a daemon up on start. See {{path|/etc/init.d/hudson}} for more details.
+
== What does this package do?  ==
# 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? ==
+
#Hudson will be launched as a daemon up on start. See {{path|/etc/init.d/hudson}} for more details.
 +
#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.
  
* Try Hudson locally : [http://localhost:8080 http://localhost:8080] and install whatever plugins and more you need.
+
== Where to go from here?  ==
* 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]
+
 
 +
*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]

Revision as of 07:53, 10 October 2013

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 binary/' > /etc/apt/sources.list.d/hudson.list"

the command above didn't work for my 10.04 server so I corrected it:

  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