Kickstarter

ks.cfg stuff: //www.explorelinux.com/ks-getting-started.html ks-merged-ks.cfg.html – A kickstart that works for 7.2, AS2.1, 7.3, 8.0, and 9 ks-create-merged-ks.cfg.sh.html – This generates individual ks.cfg files from the above “merged” kickstart file %pre stuff: ks-pre-sshd.html ks-pre-ntp.html ks-pre-reboot.html %post stuff: ks-commands.html ks-http-put.html ks-reboot.html ks-scu.html ks-useradd.html

How To Add a User During Kickstart

Adding a user during kickstart: /usr/sbin/useradd username /usr/sbin/usermod -p ‘<encrypterd_password>’ <username> Making encrypted passwords: $ openssl passwd -1 Password: secret! $1$ZhEKgpbS$KtmSr63TRqGQ1NcGXCaR01 Openssl only asks once, so you might want to verify the output: (notice the salt is between the second and third $ signs) $ openssl passwd -1 -salt ZhEKgpbS Password: secret! $1$ZhEKgpbS$KtmSr63TRqGQ1NcGXCaR01 Thanks Phil … Read more

Logical Volume Manager (LVM)

I was able to set up a linux volume on RH80 without many problems. I just tried several commands and looked at a couple of man pages and found my way through with no problems. Here’s the steps I took: Install, setup, and configure the hard drive(s): I had 5 raid storage boxes, so I … Read more

Capturing text and images

There are many ways to capture text or images and save them for later (such as for bug reports, etc): Copy/Paste – 3rd mouse button Highlighting with the mouse is the “copy” portion. Then use the 3rd mouse button to perform a paste (be sure to be in “insert mode” in your editor of choice … Read more

Expect Scripts

How to send escape characters through Expect http://mini.net/tcl/3038 How to send escape characters through Expect http://mini.net/tcl/201 Expect Send Function Keys Function Keys, Escape Sequences, in expect Esc+9 send \0339 Esc+A send \033A F9 send ??? Up Down send — “^[\[B” (Please note that the ^[ is the escape character, which is one character, and not … Read more

Applying Compaq EFS and SCO Patches

Installation Order Summary for SCO, SMP, Patches, EFS, and Agents: The SCO operating system is particular about the order software is installed and removed. A SCO 5.0.5 or 5.0.4 system should have its software installed in the following order: SCO (Base Operating System) SCO SMP (Multiprocessing Support) SCO Patches (http://www.sco.com/support/toolbox/patch.html) Compaq EFS (http://www.compaq.com/support/files/server/us/index.html) Compaq Insight … Read more

Converting / from EXT2 to EXT3 while booted on / (root partition)

Tentative notes for converting / from ext2 to ext3 while booted on /: unmount everything (including /proc …) tune2fs -Ohas_journal /dev/cciss/c0d0p3 (assuming c0d0p3 is your root partition) mount -t ext3 -o remount,rw / / change the root entry in /etc/fstab mount -a mkinitrd /boot/initrd-ext3 2.4.18-3-smp edit grub to point to the new initrd shutdown -r … Read more

ACPI HOWTO

Jump to: News Downloads Readings Basic steps to add ACPI and DSDT 2.4.19-acpi-dsdt Hang Recovery Definitions mscompiler battstat_applet fix_broken_dsdt broken_dsdt_sample my_broken_dsdt_sample my_dsdt_fixes My dsdt files Pres2701US_status IRQ9 Hack cpu_speedstep acpi_temperature ProLiant Servers News Check out this new “beta” page for DSDT tables: http://acpi.sf.net/dsdt/index.php OK, fixed my Pres2701US BIOS table and booted (2.4.18 / acpi / … Read more

Linux I/O Redirection

Cool commands The following command saves stdout and stderr to the files “out” and “err”, respectively. [[email protected] /root]# ./cmd 1>out 2>err The following command appends stdout and stderr to the files “out” and “err”, respectively. [[email protected] /root]# ./cmd 1>>out 2>>err The following command functions similar to the above two commands, but also copies stdout and … Read more

Controlling Jobs in Linux

Starting a Job in the Background [cmd &] Attaching an ampersand to the end of a command will cause that command to run in the background. For example: [[email protected] /root]# xcalc & This command causes the xcalculator to run, also it frees up the bash prompt so you can perform other tasks. You can also … Read more