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: Other components will be added as soon as possible)
Applicable installation environment:
CentOS 5.x 32bit/64bit) CentOS 6.x (32bit/64bit)
This script installs what 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!
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1I629E64-0.jpg "title =" autoinstall.jpg "/>
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