Analog Installation

  1. Decide how to install analog.  You can find the RPM and install that (easy) or find the source and compile it (much harder).
    1. If you want to use the RPM ...
      1. Find an analog rpm.  The current version number is 4.0  It can be found via yahoo, www.linux.org, or the analog web site.
      2. Download that rpm.  Put it anywhere you want.  If you want to keep it, /root works.  If not, /tmp is convenient.
      3. Install the rpm.  Type 'rpm -i analog-rpm-file.rpm'
    2. If you want to compile it yourself....
      1. Find the source code.  It will probably be in an *.tar.gz or a *.tgz file
      2. Download the source code.  Put it anywhere you want.  If you want to keep it, pick /usr/src.
      3. Untar it.  Try tar xvzf sourcefilename
      4. Change to whatever directory it just made.
      5. Find the readme.  Do what it says
  2. Edit the config file for analog.  Normally, that file is called 'analog.cfg'
    1. Make sure it knows where your web logs are.
    2. Change the title to reflect your machine's purpose (i.e.  "The Worlds Greatest Web Server")
    3. Set anything else you want.
  3. Run and test analog
    1. Try the command analog +g/path/to/config/file/analog.cfg
    2. If it produced html looking output ...
      1. Run the command again redirecting the output to a file.
      2. Run a browser at the file
      3. Enjoy your web stats
      4. Show it to me to get signed off on this assignment
      5. Basque in the joy of watching your fellow students slave away while you idle
      6. Find a high paying job using your newfound skills
      7. Buy Porsche
      8. Give Porsche to ex-teacher
      9. Go to heaven for good deeds
    3. If the command produced an error
      1. Fix the error.  Check the config file, and make sure the web logs exist and are where you think they are.
      2. Try again