There are many variables such as if you are deploying unified messaging or voicemail only, and if you are deploying a failover server as well.
The following link provides installation guides for each version of Unity depending on how you plan to deploy it. For Unity 4.2(1) you will need to find the proper 4.0(5) installation guide and also reference the 4.2 addendum for differences in the installation of 4.2 vs 4.0(5). Hope this helps.
These are the paths to get to each CCX logs through CLI. They may be helpful if you are having issues accessing RTMT or downloading logs through it.
If you want to download them you have to prefix "file get " and you can add one of the options (re...