One-click Install LAMP script written in Python
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
For more available functions, please wait for updates!
This article from the "IT Chen Yi" blog, please be sure to keep this source http://itchenyi.blog.51cto.com/4745638/1250569