do-lab
executes the given command on each machine.
/usr/local
.
export CVS_RSH=ssh
to the login file ~/.cshrc
and
cvs -z3 -d:ext:bvds@cvs.sourceforge.net:/cvsroot/extace co extace-tngTo build:
autoconf; automake; ./configure; make
.
/usr/local/etc/skel
.
If this does not exist, then an account must be set up
on the server jael using
/usr/sbin/useradd -d /lhome -m -s/bin/tcsh luser
,
echo "geneva" | passwd --stdin luser
,
gnome-session-properties
to turn off logout dialog.
cp -a /lhome /usr/local/etc/skel
.
do-lab -o /usr/sbin/useradd -d /lhome -m -k /usr/local/etc/skel -s/bin/tcsh luser
do-lab -o "echo \"geneva\" | passwd --stdin luser"
/usr/local/comedi
or /usr/local/comedilib
don't exist, grab the latest cvs:
cd /usr/local
cvs -d :pserver:anonymous@cvs.comedi.org:/var/cvs login
cvs -d :pserver:anonymous@cvs.comedi.org:/var/cvs co comedi
cvs -d :pserver:anonymous@cvs.comedi.org:/var/cvs co comedilib
/etc/modules.conf
:
# # Module loading for the PCI-DAS 1000 # alias char-major-98 comedi alias char-major-98-0 cb_pcidas post-install cb_pcidas PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH; comedi_config /dev/comedi0 cb_pcidas #On diskless nodes, this may not work if the file system is not yet mounted. In order to configure the comedi device later in the boot process, add the following to
/etc/rc.d/rc.local
:
# # comedi device initialization # /sbin/modprobe cb_pcidas /usr/local/sbin/comedi_config /dev/comedi0 cb_pcidas
cd /usr/local/comedi
cvs update
./autogen.sh
./configure CFLAGS="-m64" --with-kernel-release=2.6.7 --with-linuxdir=/usr/local/linux-2.6.7-diskless
make
do-lab -o "cd /usr/local/comedi; make install; make dev"
/sbin/modprobe cb_pcidas
/sbin/lsmod
cd /usr/local/comedilib
cvs update
./autogen.sh
./configure CFLAGS="-m64" --libdir=/usr/local/lib64
make; make install;
ldconfig
on each machine:
do-lab /sbin/ldconfig