Building on this snippet from Drupal to get related node items sharing the same taxonomy terms for 4.7, I have made it work for multiple terms. This snippet is for Drupal 5 and has been tested to work on 5.10.
The code will return a list view of 5 (changeable with $num_nodes) in an unordered list in a random format.
If you want to order the items you can edit the code to order the data in the SQL statement and take out lines 18 and 19.
You can approach the set up of a test environment in 2 seperate ways. You can manually set up Apache/IIS, PHP and MySQL seperately then configure them to work together or you can use a package such as WAMP (Apache, MySQL, PHP) or XAMPP (Apache, MySQL, PHP, Perl).
There are benefits to manually setting up each bit of software for the purpose of the test server we will just use Xampp.
Drupal is an open source CMF (Content Management Framework) created by Dries Buytaert.
What is the difference between a CMS and a CMF?
Not a lot but Drupal is refered to as a CMF due to is configurability and customisation that you are able to do through it's excellent back end and through the use of third party contributed modules as well as modules created by yourself.