CentOS6.5搭建LAMP07-11
CentOS6.5 64bit安装配置LAMP
httpd-2.4.12.tar.gz+php-5.5.10.tar.gz+mysql-5.6.24.tar.gz
相关gz包文件下载
百度网盘整体下载:
或者自行下载
Apache (httpd-2.4.12.tar.gz ) http://mirrors.cnnic.cn/apache/httpd/
PHP(php-5.5.10.tar.gz) http://hk2.php.net/distributions/php-5.5.1.tar.gz
MySQL(mysql-5.6.24.tar.gz) http://download.softagency.net/MySQL/Downloads/MySQL-5.6/
APR(apr-1.5.2.tar.gz|apr-util-1.5.4.tar.gz) http://mirrors.hust.edu.cn/apache/apr/
cmake-3.0.0.tar.gz http://pkgs.fedoraproject.org/repo/pkgs/cmake/
libxml2-2.7.2.tar.gz ftp://xmlsoft.org/libxml2/libxml2-2.7.2.tar.gz
libmcrypt-2.5.7.tar.gz ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt/libmcrypt-2.5.7.tar.gz
zlib-1.2.8.tar.gz http://zlib.net/zlib-1.2.8.tar.gz
libgd-2.1.1.tar.gz https://bitbucket.org/libgd/gd-libgd/downloads
freetype-2.4.0.tar.gz : http://download.savannah.gnu.org/releases/freetype/freetype-2.4.0.tar.gz
libpng-1.4.3.tar.bz2 : http://down1.chinaunix.net/distfiles/libpng-1.4.3.tar.bz2
jpegsrc.v7.tar.gz : http://down1.chinaunix.net/distfiles/jpegsrc.v7.tar.gz
pcre-8.33.zip : http://jaist.dl.sourceforge.net/project/pcre/pcre/8.33/pcre-8.33.zip
libevent-2.0.22-stable.tar.gz (memcache依赖包) http://libevent.org/
memcached-1.4.24.tar.gz http://memcached.org/downloads
memcache-3.0.8.tgz http://pkgs.fedoraproject.org/repo/pkgs/php-pecl-memcache/
#安装前准备
Centos6.5删除系统自带的httpd
1、[root@localhost etc]# rpm -qa|grep httpd,查看与httpd相关软件包。
httpd-tools-2.2.15-15.el6.centos.i686
httpd-2.2.15-15.el6.centos.i686
2、然后删除httpd:
[root@localhost etc]# rpm -e httpd
出现问题:
error: Failed dependencies:
httpd >= 2.2.0 is needed by (installed) gnome-user-share-0.10-6.el5.i386
3、还有一个相关的软件包没有删除,清除之,即:
[root@localhost etc]# rpm -e gnome-user-share
4、再删除httpd
[root@localhost etc]# rpm -e httpd
此外,可以使用参数–nodeps的意思就是不管各个程序包间的依赖关系。
[root@localhost etc]#rpm -e –nodeps httpd //这样不需要删除gnome-user-share了
#httpd安装前准备
#MySQL安装前准备
#Php安装
- mount: you must specify the filesystem type 2015-07-09
- vmware安装虚拟机CentOS64bit时无法安装启动 2015-07-09
- 虚拟机CentOS设置IP 2015-07-08
- Red Hat系列输入ifconfig显示not found的解决办法 2015-07-06
- LAMP环境下的隐藏文件 2015-06-24