4 # The purpose of this script is to setup a built ubuntu 10.04
5 # server as an auth server with next-to zero input from the user.
6 # This script will automagically download components
7 # from the ga4php site and install them locally on the machine
8 # it will also install all packages required for the system to work
11 echo "Usage: $0 dedicated|shared"
12 echo "Dedicated means the website will be hosted as /"
13 echo "Shared means the website will be hosted as /ga"
22 if [ "$USER" != "root" ]
24 echo "This script must be run as root in order to function"
30 echo "Installing as dedicated"
33 echo "Installing as shared"