This guide is based on Linux mint, Ubuntu based linux distribution. You can download it from here. It will help you setup apache environment in your home folder.
You will need to install several things. First of them is Apache itself. From terminal run:
sudo apt-get install apache2