macos 10.9.4 下手动安装 pl-2303usb 串口驱动

这个网上的文章我就不说啥了,有说让拆串口看芯片的,有说随便测试的,后来终于整合了一下,你拿一条线过来,你根本不知道是什么公司的芯片,其实linux 这个系统比较牛,牛就牛在它有一个程序叫lsusb,这东西直接看USB口接的设备的芯片是哪个厂商的,是什么型号;你得先知道是什么型号才能去找驱动,不能蒙啊,好在Mac系统下面也有这么个程序,好歹人家也赞助了freebsd这么多年了,

mac os 的系统用如下 $ system_profiler SPUSBDataType 命令可以显示 我一下就知道了我的第一条usb转串口线的芯片厂商是ArkMicroChips,产品Id是0x0232,谷歌一查,这个厂商消失啦!现在能找到Win的驱动都算你牛叉,好吧,哥还有一个串口设备呢,接上一看,发现厂商是Prolific Technology Inc. 这是个大厂,主页就是https://www.prolific.com.tw,有专门的Mac驱动,最新版本是1.51,支持macos 10.9最新的正式操作系统, md_PL2303_MacOSX-10.6up_v1.5.1.zip ,解压完了是个pkg的包,点击直接安装即可,机器会重新启动,然后我中彩了,/dev目录下除了tty.Bluetooth开头的两个本来就有的默认文件外,根本没有新增 tty.* 的文件,这证明驱动程序安装失败,我不死心,弄了四五遍,无一例外,死心了,看看人家的页面吧,突然发现人家写了,可以下载第三方驱动,两个地址如下 https://www.xbsd.nl/2011/07/pl2303-serial-usb-on-osx-lion.html https://nozap.me/driver/osxpl2303/index.html 我先测试第二个地址,因为它这个是dmg格式,Mac系统直接安装,也号称支持10.9,安装重启后电脑没反映。。。尝试第一个地址的手动安装方法

$ download and extract
$ cd /path/to/osx-pl2303.kext
$ sudo cp -R osx-pl2303.kext /System/Library/Extensions/
$ next you need to fix permissions and execute bits:
$ cd /System/Library/Extensions
$ sudo chmod -R 755 osx-pl2303.kext
$ sudo chown -R root:wheel osx-pl2303.kext
$ cd /System/Library/Extensions
$ sudo kextload ./osx-pl2303.kext
$ sudo kextcache -system-cache
重启电脑后成功安装驱动,/dev下发现了 tty.usbserial文件,而且这个成功以后,刚才安装的nozip也成功了,我现在觉得还是手动安装后,把某些本来系统自带的功能疏通了。 我把这三种方法写在这里,供大家参考。如果让我推荐,首选还是官方的pkg包,不行的话再手动安装。手动安装的文件的下载地址是 https://www.xbsd.nl/pub/osx-pl2303.kext.tgz

如何在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.