码迷,mamicode.com
首页 > 其他好文 > 详细

fastdfs:安装nginx

时间:2018-01-18 15:06:05      阅读:143      评论:0      收藏:0      [点我收藏+]

标签:make   configure   dfs   安装   nginx   ++   eve   dev   bottom   

 

#安装依赖
yum -y install gcc 
yum -y install gcc-c++
yum -y install zlib-devel 
yum -y install pcre-devel
yum -y install openssl openssl-devel

#添加模块
./configure --add-module=/app/fastdfs/fastdfs-nginx-module-master/src/ --with-http_ssl_module
#编译和安装,默认安装到/usr/local
make && make install
#查看添加的模块
/usr/local/nginx/sbin/nginx -V

fastdfs:安装nginx

标签:make   configure   dfs   安装   nginx   ++   eve   dev   bottom   

原文地址:https://www.cnblogs.com/huiy/p/8309930.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!