-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Linux Command Line and Shell Scripting Techniques
By :

In this particular recipe, the idea is to use a small shell
script to help us configure an already installed web server. We are going to enable our script to change where the web pages served by the server are located, but you will quickly see that changing any other option is easily added to this script.
By using this script, all users would have to do to get the system running is this:
As always, the main problem when preparing something that will be a simple operation for the user is understanding and hiding all the complexity while making it reasonably easy for the administrator to add new features. How do we do this? Read on.
This is our scenario:
A user has installed an Apache web server on their Ubuntu machine. They want to change the location of files that make up their website.
Before we...
Change the font size
Change margin width
Change background colour