I don't have this particular book, but I can make a few observations.
- O'Reilly books are awesome, so you have chosen well. I'm sure it contains good information.
- The CS50 IDE uses the Apache2 server. You may have used
apache50to stop, start, restart, and check the status of the server. If the examples in this book include management of an Apache web server, you might not need to install anything -- just use
apachectlor whatever the book suggests instead of
apache50, and see if it works!
EDIT: I'm doing weekend fun stuff and can't reply in comments (because mobile.) but the short answer is -- dude, just do the walkthroughs, exercises and studios for Module 7. Trust David Malan! He will teach you what you need to know. Meanwhile, just speed-read the O'Reilly book as fast as you can. It will tell you how to do the same stuff outside of CS50, without the benefit of the scaffolding provided by Harvard (stuff like
apache50 and the CS50 PHP library). That will give you good perspective. But you don't need to know it to finish pset7.