Installation of CentOS 6.x to littledog
Goal: Install centos 6.x, intergrated with the irtf network, allow
s2 develop code to be compiled and execute (ic, xui, dv, ldog).
Date: 2012/12
Here are notes on the CentOS 6.x installation for littledog
1. General Info
In 2012/12, the littledog PC was purchased:
MB/CPU/RAM: Gigabyte B75M-D3H, I3-2120, 8GB RAM, on-board video.
System purchased by denault on 2012/12 from mwave.com.
(this 2012/12 system is given to Lockhart for GOCAM, but another
system was purchase in 2012/12 as a replacement littledog).
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.
disable kdump
- 1st reboot
Turn off selinux:
vi /etc/selinux/config
SELINUX=disabled.
Turn off filewall:
sudo system-config-firewall-tui
reboot
# disable the network manager.
service NetworkManager stop
chkconfig NetworkManager off
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' vga=788
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' \
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
Chrome
http://www.google.com/chrome?platform=linux&hl=en > download google chrome > 32 bit .rpm (For
Fedora/openSUSE)
rpm -ivh google-chrome-stable_current_i386.rpm
Adobe Reader
# rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
# yum install nspluginwrapper.i686 AdobeReader_enu
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
5. Use RPM forge:
ref: http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
Get the rpmforge-release package from one of these sites:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Install DAG's GPG key:
(error message 'key 1 import failed' means you have the key).
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
verify the package:
rpm -K rpmforge-release-0.5.2-2.el6.rf.*.rpm
Install the package:
rpm -i rpmforge-release-0.5.2-2.el6.rf.*.rpm
6. Others Stuff:
Install IDL by following ind_install.html at http://irtfweb.ifa.hawaii.edu/irtf/computing/docs/
Install Java, see http://irtfweb.ifa.hawaii.edu/irtf/computing/howto/
(DID NOT DO, SPEX WILL NOT USE JAVA)