Linux Tip: Using a Shell Script to Set Up Your Computer
Jun 01, 2010, 18:01 (0 Talkback[s])
(Other stories by Jeremy LaCroix)
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
[ Thanks to Jeremy
LaCroix for this link. ]
"Linux is full of some amazing tweaks that go far and
beyond other operating systems. Last week I wrote about using
scripts to simplify shell commands, and today I'm going to take
that a step further, but it takes a little bit more leg work.
"A while back, when I used to write for Linux.com, I wrote about
writing scripts to configure your system after a fresh Linux
install. The concept was difficult to explain, and editing
restrictions kept me from going the direction I wanted to. Not only
that, but that was a very long time ago and I think the idea is
worth brining up again.
"After installing Linux, the first thing anyone does is install
all their favorite programs. There are so many, it can be hard to
remember them all, and it can be a time consuming process. That's
the first part of this script, installing all your favorite stuff.
After installation, keep a list of all the packages you install in
a text file as you install them. If you already have a running
Linux system, it is possible to export a list of installed
packages. Here are examples for Arch and Ubuntu:"