Update yer machine: % up2date -u # Force upgrade of kernel too and no X please. % up2date -uf --nox ============================================================================ Yum % yum search package_name % yum install package_name ============================================================================ Updating time # Make sure ntpd isn't running for these to work - remember ntpd only corrects # within 0.5s so time differences greater than that need to be looked at. % ntpdate time.apple.com % ntpdate time.nist.gov ============================================================================ Linuxconf isn't standard anymore after 7.1! Those bitches. You can still download the packages from: http://www.solucorp.qc.ca/linuxconf/ ============================================================================ Configuring your printer: /usr/sbin/printconf-gui /usr/sbin/printconf-tui ============================================================================ Forget your Root Password dumbass? For GRUB * If you are using GRUB, hope you didn't set a GRUB password that you can't remember either. Anyway select a RH Version, type e for edit. * Select the line that starts with kernel and type e to edit the line * Go to the end of the line and type single as a separate password * Back at the GRUB screen, type b to boot into single user mode. * Once booted % passwd root For LILO * If you are using graphical lilo, type ctrl-x to get to the boot prompt boot: linux emergency boot: linux single Single boots your to runlevel 1. Your local file systems will be mounted but you won't have network access. Emergency mode won't mount shit. ============================================================================ Booting Into Rescue Mode (if you've seriously messed up shit) * To create a boot disk (if your CD won't boot). Do this from your #1 CD % dd if=boot.img of=/dev/fd0 * Stick in your Redhat Linux boot disk or RH Linux CD ROM #1. boot: linux rescue * At this stage it'll ask you if you want to autosearch for partitions, go for * it... you should be in single user mode now. If you need MORE help... Get a list of your partitions: % fdisk -l To mount a partition try: % mount -t ext3 /dev/hda5 /foo ============================================================================ Mount an ISO: % mount -t iso9660 -o ro,users,loop=/dev/loop0 image.iso /mnt % mount -o loop nameofiso.iso /mnt/point ============================================================================ Copying Floppies: Use dd if=/dev/fd0/ of=lilo_bak.img Then to get it back on disk dd if=lilo_bak.img of=/dev/fd0/ Copy an image to a floppy dd if=filename of=/dev/fd0 bs=1440k (dunno if that last part is needed) ============================================================================ Graphical boot mode woes? /etc/inittab Tag the runmode back to 3 ============================================================================ USB issues with 7.3 This happened to me specifically with a Dell Optiplex using the Dell USB KB and mice. If you are having issues at boot time (despite response from the mouse at boot in grub) disable this line in modules.conf helped for me: # alias usb-controller ehci-hcd ============================================================================ RPM looking into them to see what's inside: % rpm -qpil % ============================================================================ # sdparm -a /dev/sdb /dev/sdb: Seagate FreeAgent Pro 400A Power condition mode page: IDLE 0 [cha: n, def: 0, sav: 0] STANDBY 1 [cha: y, def: 1, sav: 1] ICT 0 [cha: n, def: 0, sav: 0] SCT 9000 [cha: y, def:9000, sav:9000] # sdparm --clear STANDBY -6 /dev/sdb # sdparm -a /dev/sdb /dev/sdb: Seagate FreeAgent Pro 400A Power condition mode page: IDLE 0 [cha: n, def: 0, sav: 0] STANDBY 0 [cha: n, def: 1, sav: 0] ICT 0 [cha: n, def: 0, sav: 0] SCT 0 [cha: n, def:9000, sav: 0] # Restore setting # sdparm -D -p 0x1a -6 /dev/sdb http://os-drive.com/en/node/27 ============================================================================ Redhat to Centos Method Old: http://www.webhostingtalk.com/showthread.php?t=276534 Basically: Install Yum from mirror like http://mirror.stanford.edu/yum/pub/centos/5/os/x86_64/CentOS/ # Rebuild the RPM Database # rpm -vv --rebuilddb # Modify /etc/yum.conf - as appropriate Method New: http://lists.centos.org/pipermail/centos/2006-August/067792.html rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4 Install yum and dependencies Modify and hardcode Base Repo baseurl Test: yum search centos-yumconf-4-4.4.noarch.rpm ============================================================================