LAMP(Apache MySQL PHP)一键安装包教程(CentOS 5 32bit)
第一步,安装。wget http://myvps-scripts.googlecode.com/files/lamp0.4.tar.gz
tar xf lamp0.4.tar.gz && cd lamp0.4 && chmod +x lamp.sh && ./lamp.sh
http://www.laozuo.org/wp-content/uploads/2013/03/LAMP1.gif
安装过程中需要我们输入MYSQL数据库密码,以及选择PHP和APACHE版本。最后我们任意键安装执行。
第二步,安装完毕。
http://www.laozuo.org/wp-content/uploads/2013/03/LAMP2.gif
安装完毕之后会看到上图的结果。
最后,LAMP使用方法。
lamp add(del,list):创建(删除,列出)虚拟主机。
lamp ftp(add|del|list):创建(删除,列出)ftp用户。
lamp uninstall:一键卸载lamp(卸载之前注意备份好数据!)。
页:
[1]