« Previous - Version 11/54 (diff) - Next » - Current version
Mark Donohoe, 12/07/2011 01:53 am


Package Install Testing

Below is the list of VM systems that will be used to test 2.0 package testing:

  1. fed15-32
  2. fed15-64
  3. u10-043-32
  4. u10-043-64
  5. rhel6-132
  6. rhel6-64 (change name like the 32 bit version)
  7. unbuntu10.10
  8. u1010-64
  9. u1104-32
  10. u1104-64
  11. 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
    

Stop Jenkins and reset jenkins user password.
need to set up ssh authorized key from fonightly.

RedHat based systems

  • download jenkins:
    To use this repository, run the following command:
    sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
    sudo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
    

    If you've previously imported the key from Jenkins, the "rpm --import" will fail because you already have a key. Please ignore that and move on.
sudo 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 start
works.