Installation of CentOS 6.x to Bigdog/GuideDog Goal: Install centos 6.x, intergrated with the irtf network, allow s2 develop code to be compiled and execute (ic, xui, dv, ldog). The 2 systems are idenitical. Date: 2013/01 1. General Info In 2013/01, the Bigdog and GuideDog PCs was purchased: MB/CPU/RAM: Gigabyte B75M-D3H, I5-2400, 8GB RAM, on-board video. System purchased by denault on 2013/01 from mwave.com. Setup BIOS: sata to ahci mode; boot order dvd, disk; Power on for AC; cpu fan and temperature warnings; Boot in rescue mode, and setup hard disk partition using fdisk /dev/hda: (or do installation boot do alt+cntl+f2 for shell after GUI starts, cntl-alt-F6 to return). Drives are setup as: /dev/sda1 - / 40 GB centos 6.x root /dev/sda2 - /r2 40 GB unused -> /dev/sda3 - /r3 40 GB unused -> /dev/sda4 - /aux rest free space 2. DVD Install and update - install 6.x on via DVD on sda1 installed bootloader. software development workstation installation. enabled nis. - 1st reboot Turn off selinux: vi /etc/selinux/config SELINUX=disabled. Turn off filewall: sudo system-config-firewall-tui # disable the network manager. service NetworkManager stop chkconfig NetworkManager off system-config-network check /etc/sysconfig/networking/devices/ifcfg-eth0 ONBOOT=yes reboot yum update reboot make droot, mroot 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 chkconfig ntpd on /etc/auto.master - use yp table make links for automounts: cd / ln -s /netdisks/benchmark ln -s /netdisks/hilo_shared ln -s /netdisks/irtf.backup ln -s /netdisks/scrs1 ln -s /netdisks/shared ln -s /netdisks/starcatalogs2 ln -s /netdisks/htdocs ln -s /netdisks/iarcdata /boot/grub/menu.lst - disable 'hiddenmenu'; remove 'rhgb quiet' nomodeset Now you should have the IRTF users account and access general IRTF shared disks. 4. more centos installation and setup yum groupinstall 'Development Tools' 'KDE Desktop' \ 'Office Suite and Productivity' 'PHP Support' yum install gnuplot gsl gsl-devel vnc vnc-server ImageMagick \ tk qt-devel rdist control-center-extra dump telnet mysql \ MySQL-python dump expect expect-devel expectk Add to /etc/rc.local # # if you screen blanck after 10 min or so, this stops it # /usr/bin/setterm -blank 0 # # modify message queue defaults for spex, moris, ... # echo "40" > /proc/sys/fs/mqueue/msg_max /etc/inittab - set run level to 3 (no X11 server) # reboot copy irtf version of config files: scp -p basking:/etc/ssh/ssh_config /etc/ssh/ssh_config scp -p basking:/etc/ssh/sshd_config /etc/ssh/sshd_config scp -p duke:/root/root/.ssh/authorized_keys /root/root/.ssh/authorized_keys 5. Since this is a imaging camera computer did not do: chrome, adobe, RPM forge, IDL, Java 6. Setup for spex software. Install t3io: su - tcs3 cd /home/tcs3/src/tcs3/main/dev/clients/t3io make clean; make su root make install Install morisio su - moris cd /home/moris/current/ic/morisio make clean; make su root Set up sudo so bigdog/guidedog can chmod, and chown for /scrs1. # visudo added: #- allow bigdog/guidedog to run set_ownership_and_readonly as root bigdog ALL=NOPASSWD : /bin/chmod, /bin/chown guidedog ALL=NOPASSWD : /bin/chmod, /bin/chown # visudo -c