RHCE RHEL5 -- Day 1
I’m taking my RHCE again – it’s been 3 years, and my old certificate is going to expire real soon now. So I’m in Toronto and missing my girls. When I took this course in 2004, I did it in Calgary. The instructor was Lee Elston. I was kind of surprised to see he’s my instructor this time around too. The participants in this class seem pretty knowledgeable. This will keep Lee on his toes – no newbie questions from these people. It also means I’ll have to keep my blood-caffeine level pretty high. This evening I’ve been hacking on my IBM R51. I installed CentOS 5 on it a couple weeks ago, because I knew what I’d be doing in the hotel. Things I’ve done to this machine tonight:
- added udev rules for my CIRA usb key and my SanDisk SDDR-92 CF Reader:
cat /etc/udev/rules.d/70-cirakey.rules BUS=="usb", KERNEL=="sd*", SYSFS{serial}=="JT8EYK0J", NAME="cirakey%n" cat /etc/udev/rules.d/70-imagemate.rules BUS=="usb", KERNEL=="sd*", SYSFS{serial}=="0300176226", NAME="imagemate%n"
- added corresponding entries to /etc/fstab:
/dev/imagemate1 /media/flash vfat noauto,user 0 2 /dev/cirakey1 /media/cirakey vfat noauto,user 0 2
- labelled my root filesystem as /:
e2label /dev/vg0/slash /
- updated both /etc/fstab and /boot/grub/grub.conf, then rebooted (yes, the system came back just fine):
grep -w \/ /etc/fstab LABEL=/ / ext3 defaults 1 1 grep -w \/ /boot/grub/grub.conf kernel /vmlinuz-2.6.18-8.1.8.el5 ro root=LABEL=/ rhgb quiet
- switched to permissive SElinux policy, then rebooted (relabelling the filesystems)
I’m happy to announce that the laptop is running better than it was when I left Calgary. I still have a little more to review before I sleep: quotas, ACLs, and swapfiles.