CentOS LNMP(Percona-Server) yum安装教程

适用于CentOS 5.4 ~ CentOS 5.6,nginx 0.8.54 + lighttpd-fastcgi + Percona-Server

rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

yum -y install pgp

rpm -Uhv http://www.percona.com/downloads/percona-release/percona-release-0.0-1.i386.rpm

yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers kernel Percona-Server-client-55 Percona-Server-server-55 nginx lighttpd-fastcgi php-cli php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-mcrypt php-mysql php-mssql php-snmp php-soap php-tidy php-eaccelerator php-pecl-memcache php-pecl-memcached php-mhash

你可能感兴趣的:(PHP,nginx,mysql,centos,yum)