This script has only been tested on Ubuntu 14.04 LTS
Usage:
1, Copy oliver.sh to any path on target machine or use vi to edit a new file with the content of oliver.sh. Give the script execute permission by 'chmod +x'
2, Execute the script, ./oliver.sh
3, If finish successfully, use 'curl http://localhost' and you should see the sentence "Hello World".