Re: Scripting for a fresh install.
I've built a script for Fedora 16 that handles many of the things I find my self doing repetitively. It's highly personalized but can be configured for anyone's use. Here's what it does ...
Edit root's .bashrc file adding aliases, etc.
Edit my .bashrc file adding aliases, etc.
Edit my .bash_profile file adding a custom sudo prompt.
Add me to the "sudoers" list.
Disable a few un-needed / un-wanted system services.
Add some common host names / ip addresses to /etc/hosts.
Add an "exclude" line to /etc/yum.conf.
Install and update the "rpmfusion" repositories.
Install several "third party" repositories.
Install some yum plugins.
Install many of the necessary multimedia packages.
Install the flash-plugin.
Install the binary multimedia codecs.
Install libdvdcss from my local repository.
Install some fonts.
Install and update RootKitHunter.
Create a custom .abcde.conf file.
Install and configure the Gnome Weather extension.
Configure a couple of Gnome3 desktop tweaks.
Run a complete system update using yum.
Install and configure MoinMoin if desired.
Install and configure PianoBar
Make changes to /etc/default/grub
Make changes to /etc/grub.d/10_linux
The script is over 800 lines long and is compiled from several smaller scripts that do each of these tasks individually. It works well and has been tested on many virtual systems and a few real installs. The down side is that it takes quite a while to complete.
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB