标签:
#mkdir /var/www/yum_repo
1、nginx安装:
在http://nginx.org/en/linux_packages.html#stable中下载CentOSX对应版本的rpm文件
把下载的nginx-release-centos-5-0.el5.ngx.noarch.rpm拷贝到yum_repo目录下
#rpm -Uvh nginx-release-centos-5-0.el5.ngx.noarch.rpm
#yum install nginx
2、mysql安装:
在http://dev.mysql.com/downloads/repo/yum/中下载CentOSX对应版本的rpm文件
把下载的mysql-community-release-el5-5.noarch.rpm拷贝到yum_repo目录下
#rpm -Uvh mysql-community-release-el5-5.noarch.rpm
#yum install -y mysql-server mysql mysql-deve
3、PHP安装:
在/var/www/yum_repo下:
标签:
原文地址:http://www.cnblogs.com/sandea/p/4557540.html