lamp环境-编译安装

http://my.oschina.net/JerryBaby/blog/292731

http://blog.chinaunix.net/uid-20639775-id-154442.html

http://www.linuxidc.com/Linux/2012-01/52598.htm

-----------------------------------------------------------------------------

准备

检查安装时使用的编译工具 gcc -v

  yum groupinstall "Development Tools"

检查是否安装mysql,有则卸载

  rpm -qa |grep mysql#httpd

  rpm -e mysql-libs-5.1.71-1.el6.i686 --nodeps

检查是否开启服务,有则关闭

  service httpd status

查看apache mysql php进程

  ps -le | grep mysql    

./configure安装的源码包是没有办法用rpm -qa去查看是否安装成功的!

安装wget

  yum install wget

--------------------------------------------------------------------------------

linux:centos6.5ok

apache:

  wget http://apache.fayea.com//httpd/httpd-2.4.12.tar.bz2

  tar jxvf httpd-2.4.12.tar.bz

mysql:

php:

上一篇:Java多线程之进程和线程


下一篇:sqlserver字符串拆分函数