In brief, this is an automatic installation script written in python. It can help you automatically deploy LAMP. Secondly, due to the time, the current deployment is relatively incomplete and the defects are as follows:
1: You cannot select a mainstream version for installation.
2: ftp installation is not added.
3: selection between Nginx and Apache
4: various other components (will be added as soon as possible)
Applicable installation environment:
CentOS 5.x (32bit/64bit) CentOS 6.x (32bit/64bit)
What is installed in this script (will be updated continuously ):
httpd-2.2.9mysql-5.0.95php-5.2.6
How to Use: Click here to download
tar zxf INSTALL_LAMP.tar.gz && chmod +x INSTALL_LAMP.py && python INSTALL_LAMP.py
Note:
If you choose zh as your echo language, Please modify Remote Terminal character encoding to UTF-8 otherwise please select en to avoid garbled!
Program installation directory:
MySQL : /software/mysqlMySQL Data :/software/mysql/dataPHP : /software/phpApache : /software/apache
Process start and stop:
MySQL : service mysqld [start][stop][restart]Apache :service apache [start][stop][restart]
Configuration File Path:
Mysql : /etc/my.cnfApache : /etc/httpd/httpd.confPHP :/software/php/etc/php.ini