Apche + MySQL + PHP integrated installation script-Linux Enterprise Application-Linux server application information. The following is a detailed description. This script can be integrated with l.a.m.p without human intervention.
This script is applicable to apache2.0.5x, php4.0.x, and MySQL4.0.2x compiled (Binary version) in the source code package mode.
Note: It is best to download the above three packages from their respective official sites, and do not change the file name after the download!
Usage:
=====
1. Place the three downloaded packages and the installation script (install_lamp.sh) in
/Home/Nanu. Place the package in the same directory as the installation script!
2. Replace the./configure section of Apache and PHP with your compilation parameters as needed;
3. Run install_lamp.sh;
4. After the installation is complete, the MySQL root Password is saved in/usr/local/mysql/passwd. root by default for forgetting.
Script code:
=====