tengine安装

来源:互联网 发布:指纹膜 淘宝 编辑:程序博客网 时间:2024/05/18 23:56

1.下载tengine

可以到淘宝官网进行下载 http://tengine.taobao.org/download_cn.html

下载路径:
wget http://tengine.taobao.org/download/tengine-2.2.0.tar.gz

2.解压软件

tar -zxf tengine-2.2.0.tar.gz

3.测试软件的完整性

./configure

(1)出现 ./configure: error : C compiler cc is not fount 就是缺少C语言编译器

安装gcc

yum -y install gcc


(2)出现./configure: error: the HTTP rewrite module requires the PCRE library错误

需要安装RCRE包运行 yum install pcre pcre-devel 进行安装

(3)出现./configure: error: SSL modules require the OpenSSL library.错误
需要安装SSL包运行  yum install openssl openssl-devel 进行安装

(4)如果出现
Configuration summary
  + using system PCRE library
  + using system OpenSSL library
  + md5: using OpenSSL library
  + sha1: using OpenSSL library
  + using system zlib library
  + jemalloc library is disabled


  nginx path prefix: "/usr/local/nginx"
  nginx binary file: "/usr/local/nginx/sbin/nginx"
  nginx configuration prefix: "/usr/local/nginx/conf"
  nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
  nginx pid file: "/usr/local/nginx/logs/nginx.pid"
  nginx error log file: "/usr/local/nginx/logs/error.log"
  nginx http access log file: "/usr/local/nginx/logs/access.log"
  nginx http client request body temporary files: "client_body_temp"
  nginx dso module path: "/usr/local/nginx/modules/"
  nginx http proxy temporary files: "proxy_temp"
  nginx http fastcgi temporary files: "fastcgi_temp"
  nginx http uwsgi temporary files: "uwsgi_temp"
  nginx http scgi temporary files: "scgi_temp"

证明安装成功


4.安装tengine

运行make编译
运行  make install 进行安装

5.运行nginx


进入
cd /usr/local/nginx/sbin/

启动

./nginx

通过浏览器输入服务器ip


出现这个证明安装成功

阅读全文
'); })();
0 0
原创粉丝点击
热门IT博客
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 感控工作间 采掘工作面空气温度不得超过 端面铣床工作台 工作面 工作鞋女 工作单鞋 工作鞋女黑色平底 真皮工作鞋女黑色 工作鞋女黑色中跟 男式工作鞋 工作鞋品牌 男工作鞋 女士工作鞋 夏季工作鞋 工作鞋什么牌子好 劳动工作鞋 电工绝缘鞋 夏天工作鞋 服务员工作鞋 银行工作鞋 防臭工作鞋 实验室工作鞋 耐高温工作鞋 户外工作鞋 上班穿什么鞋 时尚工作鞋 美容师工作鞋 休闲工作鞋 工作鞋排名 买工作鞋 车间工作鞋 净化工作鞋 无尘工作鞋 舒适工作鞋 防水工作鞋 无尘车间工作鞋 电力工作鞋 电子厂工作鞋 石油工作鞋 手工作鞋 化工工作鞋