On Debian-based distributions, such as Ubuntu, you can install Hudson through
- Add the following line to your
- Update the APT index:
- Install Hudson:
Doesn't work on modern Ubuntu:
sudo apt-get install hudson
The following packages have unmet dependencies:
hudson: Depends: daemon but it is not going to be installed
Works on Debian Lenny
Worked on Karmic for me -- RobertCollins
If you need daemon, then just add it to the install command:
sudo apt-get install hudson daemon
Worked fine in Jaunty for me and picked up the daemon dependency automatically - DanKlco
On Ubuntu: I followed all the steps above to install and then kicked off the .war file through "java -jar hudson.war", the server tries to come up with some "Severe: Failed to initialize Hudson", but at the end of this error log, it says "HTTP Listener started :port=8080". When I try to open the page, I get an error saying "Status Code 500". What am I doing wrong?
This above problem was fixed by installing a Tomcat webserver.
After installing the hudson deb on Ubuntu server Jaunty 8.10, when I tried to run the init script /etc/init.d/hudson start, nothing would be printed and the server would not start. No log file was created under /var/log/hudson and no pid file was created under /var/run/hudson. I eventually discovered that if i set the hudson user's shell to /bin/bash instead of /bin/false in /etc/passwd everything works fine. Hope this saves someone else some trouble.