当使用了ngx_zeromq模块在nginx中,使用以下命令进行编译安装:
./configure --with-debug --add-module=./zeromq_module/ngx_zeromq/ --with-http_ssl_module
开启一个zero_mq的ZMQ_REP模式的服务端程序,那么在web中输入http://127.0.0.1/时,返回502页面,再查看...
分类:
其他好文 时间:
2015-06-23 00:53:08
阅读次数:
445
参考halcon安装指导书Installation GuideDepending on your operating system, you can install, configure, and uninstall the dongle drivers manually using an auxi...
分类:
其他好文 时间:
2015-06-22 22:13:46
阅读次数:
1930
Jetty server configuration will be added as a maven plugin org.mortbay.jetty jetty-maven-plugin 8.1.7.v20120910 ...
分类:
其他好文 时间:
2015-06-22 22:04:45
阅读次数:
147
《UNIX网络编程 卷1》的源码可以从www.unpbook.com下载得到。解压之后的目录为unpv13e。 1. 编译 进入unpv13e目录,按如下步骤编译: 1 ./configure 2 3 cd lib 4 make // 可能遇到问题:redefinition of ‘st...
分类:
其他好文 时间:
2015-06-22 16:18:58
阅读次数:
359
hibernate的版本更新很快,获取sessionFactory的方式也在变化1.通用的方式:public SessionFactory test1(){ Configuration cfg = new Configuration().configure("hibernate.cfg...
分类:
Web程序 时间:
2015-06-21 22:21:00
阅读次数:
168
第一步:安装pg基本软件 注:在安装pg之前,建议先创建好postgres账户,然后用此账户安装pg软件 1: ./configure –prefix=…(指向你想安装的目录) 2:make & sudo make 3:创建pg数据存贮目录 mkdir ~/data 4:初始化pg initdb ~...
分类:
数据库 时间:
2015-06-21 13:06:49
阅读次数:
255
#!/bin/bashcase"$1"inapache)echo"installapache"cd/hometarjxvfhttpd-2.2.22.tar.bz2cd/home/httpd-2.2.22./configure--prefix=/usr/local/apache--enable-somake&&makeinstall;;mysql)echo"installmysql"cd/hometarzxvfncurses-5.6.tar.gzcdncurses-5.6./configurem..
分类:
其他好文 时间:
2015-06-20 22:14:25
阅读次数:
186
每个窗口都有自己的context,这里演示怎么配置context以及如何实现定时器...... #-*- coding:gbk -*-import pygletplatform=pyglet.window.get_platform()display=platform.get_default_disp...
分类:
其他好文 时间:
2015-06-20 22:03:37
阅读次数:
201
早上用cisco packet tracer练习配置cisco 3560交换机的时候发现在端口配置模式下无法配置端口的IP地址,Switch>Switch>enableSwitch#configure terminal Switch(config)#interface f0/1Switch(conf...
分类:
其他好文 时间:
2015-06-20 10:31:59
阅读次数:
232
libxml2-sources-2.7.8CC=arm-none-linux-gnueabi-gcc ./configure --build=i686-linux --host=arm-none-linux --prefix=/home/work/dist --without-pythonmake ...
分类:
其他好文 时间:
2015-06-19 14:56:46
阅读次数:
130