« Previous -
Version 10/54
(diff) -
Next » -
Current version
Mark Donohoe, 12/07/2011 01:32 am
Package Install Testing¶
Below is the list of VM systems that will be used to test 2.0 package testing:
- fed15-32
- fed15-64
- u10-043-32
- u10-043-64
- rhel6-132
- rhel6-64 (change name like the 32 bit version)
- unbuntu10.10
- u1010-64
- u1104-32
- u1104-64
- squeze64
FIXME: review the list above and make sure all have ip addresses.
Setting up a slave node in Jenkins¶
Debian
- install java2-runtime (sun version)
- install deamon
- download and install jenkins
sudo apt-get install openjdk-6-jre openjdk-6-jre-headless daemon
sudo apt-get -f install, and answer yes
sudo apt-get install openjdk-6-jre openjdk-6-jre-headless daemon sudo apt-get -f install, and answer yes
Stop Jenkins and reset jenkins user password.
need to set up ssh authorized key from fonightly.
RedHat based systems¶
- download jenkins rpm wget
http://pkg.jenkins-ci.org/redhat/RPMS/noarch/jenkins-1.424-1.1.noarch.rpm
- install it: yum install jenkins
- change jenkins to have a login: vipw /etc/passwd, change /bin/false to /bin/bash
- change jenkins user password to 'jenkins'.
- put jekins in sudo file (/etc/sudoers)
jenkins ALL=NOPASSWD: ALL
- put jenkins is postres group
- log in as postgres (as root su postgres) and running this
/usr/bin/postgres -D /var/lib/pgsql/data
but other guides say to do this instead:service postgresql initdb ## OR ## /etc/init.d/postgresql initdb
- Add this to /etc/sysconfig/iptables:
-A INPUT -p tcp -m tcp --sport 80 -j ACCEPT -A OUTPUT -p tcp -m tcp --dport 80 -j ACCEPT -A INPUT -p tcp --dport 5432 -j ACCEPT
The above will enable apache and postgres
now as jenkins sudo
/etc/init.d/postgresql startworks.