Sounds like your situation is not a good one and you are trying to do all you can to get Moodle up and running on a server that's not connected to the internet.
Is this server going to be connected to any network? Does that network use TCP/IP? IF the answer to both of those are 'No' .. then am not at all sure you'll be able to use Moodle.
Believe me when I say that rpm only will be a very steep and frustrating learning curve. No one in these forums (including myself) could give you an accurate list of the rpm's you'll need to reach your goal of 3.2.2. That's because rpm's have dependencies - other libs needed to support.
Here's an example and a brief explanation:
RPM find site ... go there ... we're looking for mysql high enough to support 3.2.2 moodle as CentOS 7/RHEL 7 (commercial) may not provide the version needed to run 3.2.2 of moodle.
https://rpmfind.net/linux/rpm2html/search.php?query=mysql
On the page above, find a row that shows it's for CentOS 6.5 ... There isn't one!!!!
There is one for 6.8 so we'll use that.
Click the link that points to the .html page on that package ... it's the links in the first column.
mysql-5.1.73-7.el6.x86_64.html
The page shows info about that package ... *** look at the bottom of that page for 'requires' ***
That's all the 'dependencies that the mysql 5.1.x rpm *requires*. They are NOT included in the RPM file for mysql. There are over 40 of them.
Your current operating system, even though 3 versions behind, might already have some of those libraries ... but, not all.
Now one has to chase those rabbits to find other rpms.
If you plan to move to RHEL 7 or CentOS 7 may as well do that upgrade first before pursuing an outdated way of acquiring what is needed to run moodle 3.2.2 and use yum ... period!
Here's what I would suggest to you ... rather than you attempting to find all the RPM's ... take the server to this guy that says he'll install it .. assuming he's on a network ... and do the upgrades to OS and acquisitions of PHP/MySQL,etc. whatever there - while it's on a network using YUM.
'spirit of sharing', Ken