首页 > 代码库 > centos下安装lanmp

centos下安装lanmp

一: 安装nginx-1.6.1

    #wget http://nginx.org/download/nginx-1.6.1.tar.gz

    #解压到/mnt2/software_source/

    #cd /mnt2/software_source/nginx-1.6.1

    # ./configure  --prefix=/mnt2/software_install/nginx-1.6.1_install

  

    1) PCRE library  not found

        yum -y install pcre-devel openssl openssl-devel

 

    2) make; make install