如何在Freebsd 下安装Varnish-4.0.1 (140629更新)

操作系统为freebsd 9.2

1、安装Varnish-4.0.1软件运行环境

libiconv-1.14

 ./configure;make;make install

Python-2.7.7

 ./configure;make;make install

pcre-8.35

 ./configure;make;make install

perl-5.20.0

 sh Configure -de;make;make test;make install

pkg-config-0.28

 ./configure –with-internal-glib –with-libiconv=gnu CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib";make;make install

 

2、安装Varnish-4.0.1软件

这个软件虽然和前面4.0.0差了2个月,但是明显发布的比较着急,里面有一些Bug没有及时处理,需要安装前先行处理

第一个Bug:

继续阅读如何在Freebsd 下安装Varnish-4.0.1 (140629更新)

第一代Kindle Fire 刷最新官方版CM11+GOOGLE框架教程

本文大纲如下,Pdf完整版请移步Doc区下载 ,用户名techlfie 密码123456

前言:

本文所述安装包已整理,下载地址https://techlife.com.cn/soft/kindlefire/
用户名techlfie密码123456,压缩包名称fff+twrp2.6.3.1.rar

一、搭建安卓开发环境ADB

二、刷机ROM下载

三、ADB命令手动操作刷机

四、找到开发者模式并开启USB调试模式

 

 

如何单独添加nginx自定义模块

首先看看你的nginx是如何编译的

nignx -V

然后用–add-module=./echo-nginx-module-0.53 诸如此类重新configure

然后 make

然后最重要的一步,不要make install,这样就是覆盖安装了,

mv /usr/local/nginx/sbin/nginx /usr/local/nginx/sbin/nginx.bak  -备份原来编译的主文件

cp ./objs/nginx /usr/local/nginx/sbin/ -拷贝新编译的文件

nginx 升级到 1.4.7,有安全补丁,推荐升级

Changes with nginx 1.4.7                                         18 Mar 2014

*) Security: a heap memory buffer overflow might occur in a worker
process while handling a specially crafted request by
ngx_http_spdy_module, potentially resulting in arbitrary code
execution (CVE-2014-0133).
Thanks to Lucas Molas, researcher at Programa STIC, Fundación Dr.
Manuel Sadosky, Buenos Aires, Argentina.

*) Bugfix: in the "fastcgi_next_upstream" directive.
Thanks to Lucas Molas.

手动升级openssl到1.0以后安装puppet的方法

1、TAR包安装,别折腾了。。。各种问题各种问题。。。
2、YUM安装
(1)yum install ruby ruby-libs ruby-rdoc
(2)安装puppet yum 源(我是RHEL5.4版本)

wget https://yum.puppetlabs.com/puppetlabs-release-el-5.noarch.rpm

rpm -ivh puppetlabs-release-el-5.noarch.rpm

yum update

(3)安装puppet
5.4系统对应的puppet版本应该是2.6.17-1.el5,不过我之前BSD系统上都是3.4.3,所以下了3.4.3版本

wget https://yum.puppetlabs.com/el/5x/products/i386/puppet-3.4.3-1.el5.noarch.rpm

用RPM安装时缺少一堆依赖包,都用YUM安装就行了

 rpm -ivh puppet-3.4.3-1.el5.noarch.rpm

error: Failed dependencies:
facter >= 1.6.11 is needed by puppet-3.4.3-1.el5.noarch
hiera >= 1.0.0 is needed by puppet-3.4.3-1.el5.noarch
libselinux-ruby is needed by puppet-3.4.3-1.el5.noarch
ruby-augeas is needed by puppet-3.4.3-1.el5.noarch
ruby-rgen >= 0.6.5 is needed by puppet-3.4.3-1.el5.noarch
ruby-shadow is needed by puppet-3.4.3-1.el5.noarch

就特别提一下libselinux-ruby 包,系统上没有这个包,但是安装的时候依赖的libselinux版本是1.33.4-5.5.el5 ,目前能找到的新的版本是libselinux-ruby-1.33.4-5.7(老版本找不到了),安装这个版本时候会报错,直接用nodeps参数略过就行了。 安装完依赖包就可以安装puppet3.4.3版本了,最后说一下,ruby不支持openssl1.0,目前最新的ruby也仅支持0.9.8版本。否则就不用这么折腾了。

Nginx 1.4.5 BUG修复版本

Changes with nginx 1.4.5                                         11 Feb 2014

    *) Bugfix: the $ssl_session_id variable contained full session
       serialized instead of just a session id.
       Thanks to Ivan Ristić.

    *) Bugfix: client connections might be immediately closed if deferred
       accept was used; the bug had appeared in 1.3.15.

    *) Bugfix: alerts "zero size buf in output" might appear in logs while
       proxying; the bug had appeared in 1.3.9.

    *) Bugfix: a segmentation fault might occur in a worker process if the
       ngx_http_spdy_module was used.

    *) Bugfix: proxied WebSocket connections might hang right after
       handshake if the select, poll, or /dev/poll methods were used.

    *) Bugfix: a timeout might occur while reading client request body in an
       SSL connection using chunked transfer encoding.

    *) Bugfix: memory leak in nginx/Windows.

升级NGINX版本到1.4.3

Changes with nginx 1.4.3                                         08 Oct 2013

    *) Bugfix: a segmentation fault might occur in a worker process if the
       ngx_http_spdy_module was used with the "client_body_in_file_only"
       directive.

    *) Bugfix: a segmentation fault might occur on start or during
       reconfiguration if the "try_files" directive was used with an empty
       parameter.

    *) Bugfix: the $request_time variable did not work in nginx/Windows.

    *) Bugfix: in the ngx_http_auth_basic_module when using "$apr1$"
       password encryption method.
       Thanks to Markus Linnala.

    *) Bugfix: in the ngx_http_autoindex_module.

    *) Bugfix: in the mail proxy server.