iRules

All commands given on this website should be executed as the root/administrative user, unless explicitly specified.

Certain rules are followed in this setup to decide, which applications must be compiled from source code and which applications must be installed from official repository. Let us call them iRules.
Following these rules will prevent any collision that the LAMP stack will cause, with present or future applications installed in the OS. It is not necessary to understand them now.
NOTE: You can refer them later, when you are going through the installation of a specific application.

iRULE1: Any third party application that is compiled & installed from source, and does not cause conflict with the OS or it’s components, will be integrated with the OS. The installation directory will be /usr/local/.

iRULE2: Any third party application that is compiled & installed from source, but causes conflict with the OS or it’s components, will be isolated from the OS, except from the LAMP stack. The installation directory will be /opt/local/.

iRULE3: Any application that is required for installation of LAMP stack and is provided by the Apache/MySQL/PHP websites will be downloaded from the respective website and compiled & installed from source.

iRULE4: Any third party application that is required for compiling/working Apache HTTP Server/MySQL Server/PHP and that does not require Apache/MySQL/PHP packages as dependencies, when attempting to install using YUM/RPM, will be installed using YUM/RPM itself.

iRULE5: Any third party application that is required for compiling/working Apache HTTP Server/MySQL Server/PHP but requires Apache/MySQL/PHP packages as dependencies, when attempting to install using YUM/RPM, will be downloaded from their respective websites and compiled & installed from source.

iRULE6: Any third party application that is required for compiling/working Apache HTTP Server/MySQL Server/PHP but does not have an RPM package, will be downloaded from their respective websites and compiled & installed from source.

* Third party applications – Applications that are NOT provided by the Apache, MySQL and PHP  projects.