2011-11 - Using a 'retired' PC, GAZ77X/i5-3570K. Set CentOS 6/386 that
can be used as a bigdog/guidedog spare. This is a newer motherboard&CPU
than guidedog/bigdog (GA-B75/i5-2400). Tried to restore from backup, but
had ethernet and usb (keyboard) issues. Did a install from 6.10 DVD.
Current bigdog/guidedog running CentOS 6.6, 2.6.32-504.12.2.el6.i68
Parition scheme (same as bigdog/guidedog)
/dev/sda1 40G 6.2G 32G 17% /r1 generic centOS or empty
/dev/sda2 40G 7.8G 30G 21% / boot partition for CentOS 6.6
/dev/sda3 40G 48M 38G 1% /r3 empty)
/dev/sda4 341G 3.9G 320G 2% /aux empty, used misc storage/junk.
Install 6.10 from DVD.
alt+cntl+f2 for shell; alt+cntl+f6 to return to GUI.
installed bootloader.
software development workstation installation.
enabled nis.
kdump 256
- 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/network-scripts/ifcfg-eth0
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'; add 'nomodeset'
reboot
- Yum update. Since CentOS 6 is EOL, We need to setup CentOS vault repository.
curl https://www.getpagespeed.com/files/centos6-eol.repo --output /etc/yum.repos.d/CentOS-Base.repo
yum update
reboot
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
make droot, mroot
fix root password.
IRTF Setup
/etc/hosts - add key IRTF server
/etc/ntp.conf - use IRTF NTP servers, and enable ntpd services: system-config-services
/etc/yp.conf - configure and enable NIS: system-config-authentication, AND check yp.conf
/etc/nsswitch.conf - Limited nis usage
NIS client setup:
chkconfig rpcbind on
chkconfig ypbind on
/etc/init.d/ypbind start
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 - use yp table
make links for automounts:
cd /
ln -s /netdisks/benchmark
ln -s /netdisks/htdocs
ln -s /netdisks/irtf.backup
ln -s /netdisks/scrs1
rc.local - add line for screen blank, irtf programs
#
# 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
Mount the other paritions
mkdir /r1
mkdir /r3
mkdir /aux
vi fstab - aux entire to all parition, and use /dev/ for mounts
vi /etc/inittab - set run level to 3 (no X11 server)
# reboot
Now you should have the IRTF users account and access general IRTF shared disks.
Setup for spex related stuff.
Copy over /usr/local/bin stuff.
bigdogio, dvio, guidedogio, ielog, morisio, t3io
Setup sudo for bigdog/guidedog XUI can chmod and chown for /scrs1 using
its xui/set_ownership_and_readonly script. Only needed for bigdog, guidedog, not littledog.
# 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
s2 ALL=NOPASSWD : /bin/chmod, /bin/chown
# visudo -c
Setup for iarc
Setup EPEL, wine, and DSP Tools
Install epel:
wget https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6*.rpm
yum repolist # shows youi the installed repositories
Install wine:
# yum install wine
A quick test of wine would be: "wine cmd". This should get you athe DOS prompt. Then exit.
ALso did this as 's2'..worked!
% wine /home/s2/tools/DSP/clas563/bin/asm56300
Allocating Image Buffer Memory
You need to block out some RAM from the linux kernal so the driver can use it for image
memory. computer has 16GB, and on a normal boot 'free -m' reports total 15514.
Added this line to /boot/grub/menu.lst to block 5GB above, 3GB
memmap=5606M$3072M
After reboot, free -m shows: 10549
After this I turned off machine, and put in on a shelf in the IRTF server/student room.