Setting up a Hudson slave node
Redhat / CentOS 5
From a clean Redhat 5 or CentOS 5 install, do the following:
- Ensure SSHD is going to run
- chkconfig sshd on
- service sshd start
- Open SSH port 22 through iptables
- system-config-securitylevel
- set SElinux disabled
- Install MySQL 5
- Note: caGrid 1.2 and earlier require MySQL 4.x
- yum install mysql mysql-server -y
- Enable MySQL to start at boot
- chkconfig mysqld on
- Edit MySQL config to use InnoDB as default engine (really any transactional engine is OK - NOT MyISAM), and max connections increased
- http://dev.mysql.com/doc/refman/5.1/en/storage-engine-setting.html

- Edit /etc/my.cnf
- Add "default-storage-engine=InnoDB"
- Add "set-variable=max_connections=250"
- http://dev.mysql.com/doc/refman/5.1/en/storage-engine-setting.html
- Install SVN and CVS
- yum install subversion cvs -y
- Install JDK 5 and 6
- Typically to /usr/java/<JDK>
- JDK 5 RPM: http://java.sun.com/products/archive/j2se/5.0_10/index.html

- JDK 6 RPM: http://java.sun.com/products/archive/j2se/6u16/index.html

- rpm -ivh XXX.rpm
- Increase max file handles
- echo "fs.file-max = 65535" >> /etc/sysctl.conf
- sysctl -p
- edit /etc/security/limits.conf
* soft nofile 65535 * hard nofile 65535
- add to /etc/pam.d/login
session required /lib/security/pam_limits.so
- Reload ssh config with service sshd reload





