美文网首页
Centos 搭建服务器环境配置LNMP(linux+nginx

Centos 搭建服务器环境配置LNMP(linux+nginx

作者: 枫信华 | 来源:发表于2018-06-22 21:40 被阅读0次

    整理于网络

    系统版本:centos7

    yum install -y nginx php php-cli php-common php-pdo rrdtool-php  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 lighttpd-fastcgi pcre pcre-devel      #相关支持文件安装

    NGINX的网站目录位于:

    /usr/share/nginx/html

    NGINX的配置文件位于:

    /etc/nginx/ nginx.conf

    nginx -t              测试配置文件

    nginx -v             查看相关版本

    相关文章

      网友评论

          本文标题:Centos 搭建服务器环境配置LNMP(linux+nginx

          本文链接:https://www.haomeiwen.com/subject/xxulyftx.html