Follow the web installation procedure, and if you run into the following errors you'll have to install required php extensions for your Linux version. For Centos 6, here is the steps you can follow to install php-dom and php-mcrypt.
PHP extension "dom" must be loaded.
# yum install php-xml
PHP extension "mcrypt" must be loaded.