WDlinux官方论坛's Archiver

wss434631143 发表于 2013-12-7 23:39

tengine升级脚本(可升级nginx为tengine)

[attach]3957[/attach]
可升级nginx为tengine,如果现在用的是tengine,也可以用此脚本升级tengine版本。此脚本针对使用wdcp的用户,由nginx升级脚步修改而来,希望对大家有帮助!安装截图:
[attach]3955[/attach]

成功截图:
[attach]3956[/attach]

admin 发表于 2013-12-8 11:52

谢谢分享

wuyukang 发表于 2013-12-8 23:45

**** 作者被禁止或删除 内容自动屏蔽 ****

jxxeeq2008 发表于 2013-12-9 10:00

可以用吗?

wss434631143 发表于 2013-12-9 14:53

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=31127&ptid=7915]4#[/url] [i]jxxeeq2008[/i] [/b]


   亲测可用!测试平台centos5、centos6,wdcp版本2.5.9,源码安装方式!

aorilly 发表于 2013-12-15 14:45

谢谢分享,服务器速度顿时快了不少

qq3214250 发表于 2013-12-18 11:04

[img]http://www.unizai.com/qq.jpg[/img]
我无法升级,刚安装的 lanmp_wdcp_v2.5快速安装RPM包

孩子他爹 发表于 2014-1-6 22:20

来看看呢!!!!!!!!!!!!!

jwenlee 发表于 2014-1-7 10:47

先收藏~~~~~~~~~~~~~~

孩子他爹 发表于 2014-1-7 11:12

怎么使用 啊

tearky 发表于 2014-1-8 00:32

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=31097&ptid=7915]1#[/url] [i]wss434631143[/i] [/b]


    这个要怎么操作啊?下载下来不会用

tearky 发表于 2014-1-8 00:45

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=31097&ptid=7915]1#[/url] [i]wss434631143[/i] [/b]


    rz上传

   sh 安装  好多乱码

安装好之后登录 后台还是显示nginx

liying 发表于 2014-2-7 20:21

学习一下,谢谢

jtw0720 发表于 2014-2-8 22:52

请问各位大大,这个升级是必要的么?或者说这个升级有什么意义?是否推荐升级?

duolajie 发表于 2014-3-9 23:03

mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

dn71 发表于 2014-3-20 11:22

这个很不错的,NGINX现在有漏洞啊

t9913085 发表于 2014-3-21 22:20

感谢分享,请问这个后台会改变名字吗

t9913085 发表于 2014-3-21 22:37

checking for PCRE library ... not found
checking for PCRE library in /usr/local/ ... not found
checking for PCRE library in /usr/include/pcre/ ... not found
checking for PCRE library in /usr/pkg/ ... not found
checking for PCRE library in /opt/local/ ... not found

./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.

配置错误,升级失败!
[root@AY1402252000021943ccZ ~]#

6156264 发表于 2014-3-22 08:41

checking for PCRE library ... not found
checking for PCRE library in /usr/local/ ... not found
checking for PCRE library in /usr/include/pcre/ ... not found
checking for PCRE library in /usr/pkg/ ... not found
checking for PCRE library in /opt/local/ ... not found

./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.

我也提示这个

ak477 发表于 2014-3-23 00:04

这个非常好!

夏筱羽 发表于 2014-3-23 19:36

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=32839&ptid=7915]15#[/url] [i]jtw0720[/i] [/b]

http://www.oschina.net/p/tengine

Tengine是由淘宝网发起的Web服务器项目。它在Nginx的基础上,针对大访问量网站的需求,添加了很多高级功能和特性。Tengine的性能和稳定性已经在大型的网站如淘宝网,天猫商城等得到了很好的检验。它的最终目标是打造一个高效、稳定、安全、易用的Web平台。

从2011年12月开始,Tengine成为一个开源项目,Tengine团队在积极地开发和维护着它。Tengine团队的核心成员来自于淘宝、搜狗等互联网企业。Tengine是社区合作的成果,我们欢迎大家参与其中,贡献自己的力量。

以下沿引项目主页上的特性介绍:

    继承Nginx-1.2.8的所有特性,100%兼容Nginx的配置;
    动态模块加载(DSO)支持。加入一个模块不再需要重新编译整个Tengine;
    更多负载均衡算法支持。如会话保持,一致性hash等;
    输入过滤器机制支持。通过使用这种机制Web应用防火墙的编写更为方便;
    动态脚本语言Lua支持。扩展功能非常高效简单;
    支持管道(pipe)和syslog(本地和远端)形式的日志以及日志抽样;
    组合多个CSS、JavaScript文件的访问请求变成一个请求;
    可以对后端的服务器进行主动健康检查,根据服务器状态自动上线下线;
    自动根据CPU数目设置进程个数和绑定CPU亲缘性;
    监控系统的负载和资源占用从而对系统进行保护;
    显示对运维人员更友好的出错信息,便于定位出错机器;
    更强大的防攻击(访问速度限制)模块;
    更方便的命令行参数,如列出编译的模块列表、支持的指令等;
    可以根据访问文件类型设置过期时间;

夏筱羽 发表于 2014-3-23 19:47

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=32839&ptid=7915]15#[/url] [i]jtw0720[/i] [/b]

如果你只单纯使用LAMP没有使用LANMP就不需要升级

hadals 发表于 2014-3-23 22:27

用起来感觉怎么样啊??优势在哪里啊?

qushuiyouhan 发表于 2014-3-24 09:56

安装pcre-devel解决问题
yum -y install pcre-devel

t9913085 发表于 2014-3-24 15:19

[quote]安装pcre-devel解决问题
yum -y install pcre-devel
[size=2][color=#999999]qushuiyouhan 发表于 2014-3-24 09:56[/color] [url=http://wdlinux.cn/bbs/redirect.php?goto=findpost&pid=34051&ptid=7915][img]http://wdlinux.cn/bbs/images/common/back.gif[/img][/url][/size][/quote]


   谢谢指导

wss434631143 发表于 2014-4-4 17:55

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=31358&ptid=7915]8#[/url] [i]qq3214250[/i] [/b]


   这个只支持wdcp源码安装的方式

wss434631143 发表于 2014-4-4 17:57

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=33983&ptid=7915]18#[/url] [i]t9913085[/i] [/b]


   你说的什么名字?软连接会链接到新的tengine的目录。
nginx -> /www/wdlinux/tengine-2.0.0

wss434631143 发表于 2014-4-4 17:57

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=33984&ptid=7915]19#[/url] [i]t9913085[/i] [/b]


   这个只支持源码安装wdcp的方式

duolajie 发表于 2014-4-6 03:37

103.16.218.173

duolajie 发表于 2014-4-6 03:38

103.16.218.173

页: [1] 2 3 4 5

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.