Installation of CentOS 6.x Date: 2012/05 tcs3 uses centos 4.x, which end-of-life occured on 2012-02. Here are note on the CentOS 6.x installation for T1Hilo Goal is to dual boot the computer so we can use 4.x, but develop/test in 6.x 1. General Info MB/CPU/RAM: Gigabyte GA-P45T-ES3G, Pentium E5700 LGA755 CPU, 4GB RAM Video: GT 520 Video (ASUS ENGT520 Geforce GT) /dev/hdb1 - / 20 GB (centos 4.9) /dev/hdb2 - /r2 20 GB unused -> will used for centos 6.x upgrade. /dev/hdb3 - /aux 20 GB home dir, catalogs /dev/hdb4 - /aux1 rest unused (not mounted) 2. DVD Install and update - Install 6.x on /hdb2 via DVD. / on sda2 installed bootloader. software development workstation installation. - 1st reboot enabled nis. Turn off selinux: vi /etc/selinux/config SELINUX=disabled. Turn off filewall: sudo system-config-firewall-tui - install did not configure network. so had to manually setup IP number yum update reboot - Enable smartd for boot disk. See /htdocs/irtf/computing/howtos - Install additional software. ???? 3. General IRTF setup /etc/hosts - add nis servers /etc/yp.conf - configure and enable NIS: system-config-authentication, AND check yp.conf /etc/resolv.conf - add all DNS servers. /etc/ntp.conf - use IRTF NTP servers, and enable ntpd services: system-config-services add /usr/local/etc/leap-seconds.list.txt /etc/auto.master, automap, auto.home - custom tcs setup. make links for automounts: cd / ln -s /netdisks/htdocs ln -s /netdisks/irtf.backup ln -s /netdisks/shared /etc/fstab - use '/dev/sda' type names. /boot/grub/menu.lst - use 'dev/sda' name; disable 'hiddenmenu'; remove 'rhgb quiet' make droot, denault, to, tcs entries in passwd. limit nis in nsswitch.conf . Now you should have the IRTF users account and access general IRTF shared disks. 3. post-install centos setup. yum groupinstall 'Development Tools' yum groupinstall 'KDE Desktop' yum groupinstall 'Office Suite and Productivity' yum install gnuplot gsl gsl-devel vnc vnc-server ImageMagick bitmap-fixed-fonts \ tk expect qt-devel rdist control-center-extra dump telnet mysql sox Setup mouse to focus in window. Setup dual monitor operation (centos6 did not support GT 520]) download nvidia driver from www.nvidia.com # init 3 # cd /home/tcs3/public_html/tcs3/computers/linux/1205_nvidia # sh NVIDIA-Linux-x86-295.40.run # nvidia-xconfig --twinview # reboot 6. More TCS3 Setup Install slalib -> ~/src/slalib eslalib -> ~/src/libesla ir1 -> /home/denault/src/libir1 (from Tony Denault). Copy apeio smokeyio Setup /etc/rc.local 1. setterm for disable screen blanking. 2. set msg_max to 40, msgsize_max to 1024 3. chmod a+rw /dev/dsp 4. load pmac.ko Create a /etc/sysconfig/rpcbind file for argument to the rpc server with: RPCBIND_ARGS="-i" so tcs3's rpc server can start: cron tab for rotating tcsd.log, hexed.log in /var/log install script in /etc/irtf/cron/tcs_var_logs.csh --------------------------------------------------------------------------- --------------------------------------------------------------------------- maybe we need: change /etc/anacrontab to run daily jobs at 9-15. Not at night?