Is Moodle 2.0 compatible with CentOS 5.4? What is the recommended OS for a Moodle 2.0 server?
Moodle is a LAMP application, as such it will run on any Linux distribution still maintained. You have to check whether CentOS 5.4 is still maintained, since 6.0 is the latest version. Talking of Moodle 2.0, you also have to check the versions of Apache, MySQL and PHP against the versions required by Moodle: http://docs.moodle.org/20/en/Installing_Moodle#Software
> What is the recommended OS for a Moodle 2.0 server?
None. Moodle is supposed to run under a wide variety of OSes.
That said, CentOS is a common distribution in the moodle.org community. Other notable free ones are, Ubuntu (Server), Debian and OpenSUSE - from the commercial front - RHEL and SLES. Search the "Using Moodle" forums for them http://moodle.org/mod/forum/search.php?search=&id=5.
The key issue is not the distribution but the system administrator!
thanks for the help. I have installed centos 5.4 and php 5.3.8. I have found mysql and downloaded the files. In what directory should I install mysql?
Just to be cautious. Putting up a server on the public Internet also means responsibility. Unfortunately this "world wide access" also means all sorts of malicious things trying to disrupt your work. See for example the readers' comments in http://linux.slashdot.org/story/11/09/25/1211203/newb-friendly-linux-flavor-for-lamp-server. Im my openion, if you don't have the experience, an external hosting service would be a safer option.
Thanks for the warning. We have our server on site, but also contract with a company to manage the server. The server I am building is mostly for me to learn more about Centos and become familiar with Moodle 2.1 before we convert. I am coming from a windows environment so this is a learning process. I have been successful installing PHP 5.2.8, MySQL 5.5.16, Apache 2.2.20. , but when I began installing moodle 2.1 i got the message Error: database driver problem detected. I used the MySQLi driver. From reading the several posts i found this "To use MySQLNative Driver with mysqli you need to configure the PHP source code using the --with-mysqli=mysqlnd option, prior to building php".