Hudson on Ubuntu System(I)Install and configuration
1. Install Hudson on my system
I download the file from this URL:
http://java.net/downloads/hudson/Debian/hudson-debian-1.398.deb
Double click the file and install it.
after the installation, you can check up the status with command:
>/etc/init.d/hudson status
start it/stop it
>/etc/init.d/hudson start
>/etc/init.d/hudson stop
I can visit the URL http://localhost:8080/
The log file exists here
>vi /var/log/hudson/hudson.log
we can see all the configurations in this file
>vi /etc/default/hudson
by the way, I change the port to 8082
HTTP_PORT=8082
right now, we can visit hudson with URL http://localhost:8082/
2. configure Security
click menu [Manage Hudson]
click menu [Configure System]
check [Enable security]
TCP port for JNLP slave agents: Disable
Access Control: Security Realm ----> Hudson's own user database
Tuthorization ----> Matrix-based security -----> User/group to add: sillycat and admin
click on the button [Save]
create your account, for example admin and sillycat.
references:
http://hudson-ci.org/
http://wiki.hudson-ci.org/display/HUDSON/Installing+Hudson+on+Ubuntu
http://wiki.hudson-ci.org/display/HUDSON/Use+Hudson
http://digitalsonic.iteye.com/blog/610401
http://www.iteye.com/wiki/hudson_ci/1682-hudson-standard-security-settings
1. Install Hudson on my system
I download the file from this URL:
http://java.net/downloads/hudson/Debian/hudson-debian-1.398.deb
Double click the file and install it.
after the installation, you can check up the status with command:
>/etc/init.d/hudson status
start it/stop it
>/etc/init.d/hudson start
>/etc/init.d/hudson stop
I can visit the URL http://localhost:8080/
The log file exists here
>vi /var/log/hudson/hudson.log
we can see all the configurations in this file
>vi /etc/default/hudson
by the way, I change the port to 8082
HTTP_PORT=8082
right now, we can visit hudson with URL http://localhost:8082/
2. configure Security
click menu [Manage Hudson]
click menu [Configure System]
check [Enable security]
TCP port for JNLP slave agents: Disable
Access Control: Security Realm ----> Hudson's own user database
Tuthorization ----> Matrix-based security -----> User/group to add: sillycat and admin
click on the button [Save]
create your account, for example admin and sillycat.
references:
http://hudson-ci.org/
http://wiki.hudson-ci.org/display/HUDSON/Installing+Hudson+on+Ubuntu
http://wiki.hudson-ci.org/display/HUDSON/Use+Hudson
http://digitalsonic.iteye.com/blog/610401
http://www.iteye.com/wiki/hudson_ci/1682-hudson-standard-security-settings