Installation of CentOS 6.7 on th1ilo (both 64 and 32 bits) Date: 2015/11 After rebooting t1hilo, it failed to load it's X server. Issue seem software related. Will fix by re-installing OS. And will install both 64bit and 32bits of 6.7, so TCS can transistion to 64bit in the future. tcs runs in 32bits. Older CentOS 4.9 install will be removed. 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/sda1 - / 20 GB CentOS 6.7 64bits, ext4 /dev/sda2 - /r2 20 GB CentOS 6.7 32bits, ext4 /dev/sda3 - /aux 20 GB home dir, catalogs, ext4 2. DVD Install and update - Install 6.7 on /hdbx via DVD. alt+cntl+f2 for shell; alt+cntl+f6 to return to GUI install bootloader for 64bits software development workstation installation. enable 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 vi /etc/sysconfig/network-scripts/ifcfg-eth0 ## make sure ONBOOT=yes add to 192.168.x.x by creating /etc/sysconfig/network-scripts/ifcfg-eth0:1 /boot/grub/menu.lst - disable 'hiddenmenu'; remove 'rhgb quiet' reboot yum update reboot mount /rX, /aux, (/aux1 is unused). make droot, mroot forward root mail to denault@ 3. General IRTF setup /etc/hosts - add nis servers, key tcs hostnames /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/yp.conf - configure and enable NIS: system-config-authentication, AND check yp.conf nsf client setup: vi /etc/idmapd.conf Add "Domain=ifa.hawaii.edu" chkconfig rpcbind on chkconfig rpcidmapd on chkconfig nfslock on chkconfig netfs on /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 copy some /usr/local/icons/ limit nis in nsswitch.conf . Add local user accounts to /etc/passwd: denault, tcs3, to Add to,tcs3 to audio group in /etc/group. (to allow TCS to play sound when not on the console). audio:x:63:to,tcs3 Now you should have the IRTF users account and access general IRTF shared disks. 4. addition centos setup yum groupinstall 'Development Tools' 'KDE Desktop' 'Office Suite and Productivity' yum install gnuplot gsl gsl-devel vnc vnc-server ImageMagick \ tk expect qt-devel rdist control-center-extra dump telnet \ mysql MySQL-python sox hg mutt # enable smartd See /htdocs/irtf/computing/centos6/howtos/smartd.php vi /etc/smartd.conf service smartd start chkconfig smartd on 5. More TCS3 setup cron tab for rotating tcsd.log, hexed.log in /var/log install script in /etc/irtf/cron/tcs_var_logs.csh Setup /etc/rc.local 1. setterm for disable screen blanking. 2. set msg_max to 40, msgsize_max to 1024 3. load pmac.ko /usr/local/bin apeio, isd_q1, smokeyio, t3io, t3remote (did not do for 64bits). realvncviewer Re-compile & test TCS 6. Misc admin things ... Make it due boot (i386 and x86). Make /aux, and /aux1 ext4 back, format, and restore /aux cd /aux tar cvzf /irtf.backup/t1hilo/temp/aux.tar catalogs3 home umount /aux mkfs.ext4 -v -m 3 /dev/sda3 vi /etc/fstab # change /aux from ext3 to ext4) mount /aux cd /aux tar xvzf /irtf.backup/t1hilo/temp/aux.tar make /aux1 ext4 (this is an unused partition) mkfs.ext4 -v -m 3 /dev/sda4 Do /irtf.backup x. Maybe or maybe not - stuff I didn't do --------------------------------------------------------------------------- Create a /etc/sysconfig/rpcbind file for argument to the rpc server with: RPCBIND_ARGS="-i" so tcs3's rpc server can start: change /etc/anacrontab to run daily jobs at 9-15. Not at night?