« Previous - Version 18/54 (diff) - Next » - Current version
Mark Donohoe, 01/04/2012 12:23 am
updated list of systems to test.


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. u1104-32
  8. u1104-64
  9. ubun111032
  10. ubun111064
  11. squeze64

Going to use snapshots, see how this plays with templates.

After each vm is installed, it is converted into a template so that recovery is faster.
Converting a VM template to an Install VM

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/Fedora/CentOS based systems

  • download jenkins and get the rpm version we want:
    wget http://pkg.jenkins-ci.org/redhat/RPMS/noarch/jenkins-1.424-1.1.noarch.rpm
  • install it:
    rpm -ivh jenkins-1.424-1.1.noarch.rpm
  • 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
  • remove jenkins.repo in /etc/yum.repos.d/, if this is not done, the yum update will fail because we don't have the repo key. Plus we don't want the latest and greatest jenkins.
  • install php: yum install php
  • install posix support for php:
    yum install php-process

run the pkginstall?

  • On Fedora, postgresql, posgresql-server both must be installed, then as root or postgres
    service postgresql initdb
    If this is not done, postgres will not start or stop.
    • If you can't talk to apache or postgres over the network: 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.