Cómo instalar y configurar manualmente el entorno lnmp en centos
Cómo instalar y configurar manualmente el entorno lnmp en centos
I Instalar las bibliotecas necesarias y el entorno de compilación 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 velo openldap ?openldap-devel nss_ldap openldap- clientes openldap-servers
II. Instalar PHP y MySQL
yum -y install php mysql mysql-server mysql-devel php-mysql php-cgi php-mbstring php-gd php -fastcgi
servicio mysqld start //iniciar servicio mysql
chkconfig mysqld on ?//configurar inicio de arranque automático
3. Instale nginx, debido a que CentOS no tiene un paquete nginx predeterminado, debe habilitar el archivo adjunto REHL
1. rpm -Uvh /pub/epel/5/i386/epel-release-5-3.noarch .rpm
2. yum -y instalar nginx chkconfig nginx on ?//configurar boot start service nginx start //iniciar servicio ngin
4. Instalar spawn-fcgi para ejecutar php- cgi ?
5. Descargue el script de inicio spawn-fcgi
1. wget /convert-apache-htaccess-to-nginx/ /convert-apache-htaccess-to-nginx/ //primero convierte el original
Ayuda a hacer SEO