Installation of CentOS 4.1
Currently using WinXP & Fedora Core 3.
Date: 2005/07
0. BIOS notes from previous installation:
Ethernet still did not work. IRQ 0 was being assigned to
some devices. Set bios to assume non-PNP OS to get IRQ assigned.
BIOS -> BOOT -> Plug&Play OS -> NO
1. General Info
/dev/hda1 - WinXP 10 GB
/dev/hda5 - swap 1 GB
/dev/hda6 - /r0 10 GB - Fedora Core3 (ext3)
/dev/hda7 - / 10 GB - CentOS installation(ext3)
/dev/hda8 - /aux ~50 GB - Rest of disk. (ext3)
2. General Installation
- reinstall grub - /hda7/boot/grub to hold boot menu.
- Select Workstation configuration
- manual partition the driver, the automatic parition tool sucks.
(you can switch console to run fdisk after booting up on disk1).
- Manually set the hostname, IP, netmask, etc. (Do not use DHCP).
- Select No Firewall
- Set SELinux to Disable
- Customize Software to be installed, select:
Engineering and Scientific,
Authoring and Publishing.
Server Configuration Tools.
Network Servers -> select vnc-server.
System Tools
After reboot:
- Add duke to the /etc/hosts after the CD installation:
128.171.165.3 duke
- configure NIS (or configure later using: system-config-authentication)
domain is: irtf.ifa.hawaii.edu
server is: duke
/etc/nsswitch.conf -> limit nis to host, netgroups.
- Other small fixes:
/boot/grub/menu.lst tweeks:
remove 'rhgb quiet' remove the graphical option.
add 'vga=788' to enhance the vga text mode.
comment hiddenmenu to show OS selection menu.
add fedora3 boot entries.
/etc/fstab -> Use device name rather than labels.
- install the updates using yum:
# rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4
# yum update
5. IRTF fixes:
/etc/passwd - make accounts: to, tcs3
/etc/ntp.conf - set config file & enable service:
chkconfig --level 345 ntpd on
service ntpd start
/etc/fstab: Use device name rather that labels.
Enable nfs. (system-config-services)
Set up autofs
/etc/auto.master
/etc/automap for /htdocs, /irtf.backup
/etc/auto.home for user accounts.
# ln -s /netdisks/irtf.backup /irtf.backup
# ln -s /netdisks/htdocs /htdocs
7. Install nvidia drivers to allow duel monitor operations.
See ./0507_nvidia/
6. More TCS3 Setup
Install
slalib -> ~/src/slalib
eslalib -> ~/src/libesla
ir1 -> ~/src/libir1 (use latest source copy from Tony Denault).
tcsio -> ~/src/tcs1/tcsio
apeio -> cp ~/src/tcs3/embeddedx86/ape/apeio /usr/local/bin
Setup /etc/rc.local
1. /etc/rc.d/rc.local -> modify mqueue defaults for tcs3.
2. /etc/rc.d/rc.local -> add line to install pmac module on bootup.
3. set permission on /dev/dsp to allow tcs3 sounds to play.
create /dev/pmac node:
# mknod --mode=666 /etc/udev/devices/pmac c 66 0