Here’s the section of the book you’re going to want to look at:
I have found I have to poke around in the apache httpd.conf file as described in addition to getting the .htaccess files described in the article in place.
My experience is in getting an Apple system running and even then, I’m often at the limits of knowledge. So I probably won’t be much help on specific solutions to your problems.
It might be worth using one of the described installation processes to install a fresh, empty, Cake environment and get that running. Then you will have a proof of concept before trying to get your copied-in code running.