Setting up TCS3 Computer Systems: WinXP & RedHat (fedora F0.94 beta) Date: 2003/06 1. General Info Setup our 3 TCS computer: Partitions: /dev/hda1 - WinXP 10 GB /dev/hda5 - swap 1 GB /dev/hda6 - / 10 GB - default boot partition (ext3) /dev/hda7 - /r1 10 GB - aux boot partition (ext3) /dev/hda8 - /aux ~50 GB - Rest of disk. (ext3) IP: 128.171.168.252 t1 128.171.168.253 t2 128.171.168.254 t1hilo 2. Install WinXP Install XP on 10 GB partition. Admin Stuff: User accounts(tcs3), Network config, Apply all windows updates, and drivers installs. Install SSH, make samba work. Install mcafee virus scanner & scan. 3. Install the RetHat Use CD slackware to create/set partitions for Linux. Tried installing RedHat 9, but did not recondize the ethernet or work with the video card. Downloaded and installed severn F0.94 (redhat beta). This works. Ethernet still did not work. IRQ 0 was being assigned to some devices. Set bios to assume non-PNP OS to get IRQ assigned. BIOS -> BOOT -> Plug&Play OS -> NO 4. general admin setup/fixed: /etc/passwd - make accounts: to, tcs3 /etc/resolv.conf - fix. Add domain /etc/ntp.conf - fix. Setup to slave of duke. For T1 use irtfgps1. (redhat-config-services) Use device name rather that labels -> /etc/fstab, /etc/boot/menu.lst Enable NIS and limit tables to hosts, netgroups. (redhat-config-authentication) mounting points for /duke, /htdocs, irtf.backup /home/tcs3 should link to /duke/home/project/tcs3. 5. Updates: - since we are using a beta release - no update mechanism is in place. 6. Need to add POSIX messages queues (mqueue) to the kernel: Reference link: http://www.mat.uni.torun.pl/~wrona/posix_ipc/index.htm 6.1 Apply mqueue patch: Patches downloaded to /home/tcs3/src/stuff/mqueues. Used mqueues-3.52.tgz -> It was for 2.4.21, but worked for this version of the redhat kernel (2.4.22). # cd mqueues-3.52/kernel # patch -p1 -d /usr/src/linux-2.4.22 < mqueue-2.4.21.patch nice changed to task->static_prio. RedHat doesn't uses modified 2.4.22 kernel, but this seem fix makes the patched kernel work. Compaired 2.4.xx to 2.6.xx patch to see .nice changed to .static_prio. > 6.2 Compile and run new kernel. make clean make mrproper make oldconfig -> to generate a config based on the running kernel make dep make bzImage make modules make modules_install make install 6.3 Installed user portion of mqueue per INSTALL. Also mounting of mqueue fs to fstab. 7. Software & Misc setup for TCS3 compile and install slalib: cd src/slalib make realclean; make; make install compile and install eslalib: cd src/libesla/current make realclean; make; make install Accounts: to - home on local disk. (future TO account). tcs3 - tcs development account. XDMCP is temporary enabled (for hilo use only). run gdmsetup Modified /usr/X11R6/lib/X11/app-defaults/XTerm to get backspace key to work in xterms: Delete line 151: Delete: string(0x1b) string("[3~") \n\