码迷,mamicode.com
首页 >  
搜索关键字:squit    ( 20个结果
MQTT学习笔记
[原文] 0 前言 0 前言 MQTT是IBM开发的一个即时通讯协议。MQTT是面向M2M和物联网的连接协议,采用轻量级发布和订阅消息传输机制。Mosquitto是一款实现了 MQTT v3.1 协议的开源消息代理软件,提供轻量级的,支持发布/订阅的的消息推送模式,使设备对设备之间的短消息通信简单易 ...
分类:其他好文   时间:2017-08-15 15:11:03    阅读次数:191
C语言中打印返回值
demo: return :返回值 int mosquitto_username_pw_set(struct mosquitto *mosq, const char *username, const char *password) { if(!mosq) return MOSQ_ERR_INVAL; ...
分类:编程语言   时间:2017-06-08 17:47:44    阅读次数:393
Mosquito的优化——epoll优化(七)
本文由逍遥子撰写,转发请标注原址: http://blog.csdn.net/houjixin/article/details/46413583 或 http://houjixin.blog.163.com/blog/static/3562841020155835146428/# 原版的mosqui ...
分类:其他好文   时间:2017-05-29 11:09:01    阅读次数:407
MQTT 简介
MQTT 全称是 Message Queue Telemetry Transport,是一个轻量级的“发布/订阅”消息传输协议。 ...
分类:其他好文   时间:2017-05-27 00:41:19    阅读次数:251
Mqtt服务器搭建
Mqtt服务器搭建 测试环境:CentOS64位 1.安装基础软件 2.下载源码包 3.解压源码包 4.编译准备 vim compiling.txt #这个文件里有写需要的依赖包,内容如下 The following packages are required for mosquitto: * tc ...
分类:其他好文   时间:2017-05-10 14:49:37    阅读次数:1159
replace()、replaceFirst()和replaceAll()的区别
1、replace() String str= "mesquite in your cellar" str.replace('e', 'o') returns "mosquito in your collar" 由此可知replace是全替换的,但是replace只极限于string。 2、repl ...
分类:其他好文   时间:2016-12-28 18:56:00    阅读次数:190
虚拟主机加密与网页重写 squit服务
{**虚拟主机加密和网页重写apache**}做好https认证以后hostnamectlset-hostnameweb1.example.comlogoutvim/etc/httpd/conf.d/ssl.confcd/etc/httpd/conf.d/vimnews.conf<Virtualhost*:80>Servernamenews.westos.comDocumentroot/var/www/virtual/news.westos.com/htmlCus..
分类:Web程序   时间:2016-12-16 01:52:07    阅读次数:306
linux企业常用服务---squit传统代理
安装前准备:本文不对iptables和selinux做设置,关掉确保代理主机能上网下载源码包squid-3.4.6.tar.gz环境介绍192.168.100.150为代理服务器,192.168.100.151为内网测试服务器(可以换xp等)安装squid:[root@localhostnetwork-scripts]#viifcfg-eth0DEVICE=eth0HWADDR=00:0C:29:..
分类:系统相关   时间:2016-05-15 20:01:05    阅读次数:306
llinux企业常用服务---squit透明代理
注意:在传统代理的基础上配置透明代理需指定网关1、配置透明代理:1)修改配置文件:支持透明代理[root@www~]#vi/etc/squid.confhttp_port192.168.100.150:3128transparent##将http_port3128修改为支持透明代理[root@www~]#/etc/init.d/squidreload[root@www~]#netstat-utpln|gr..
分类:系统相关   时间:2016-05-15 19:58:40    阅读次数:327
session共享
Nginx或者Squit反向代理到两台tomcat服务器tomcat使用memcachedtomcat连接memcached工具 cp session/*.jar /usr/local/tomcat/lib/ session 172.30.13.100与172.30.13.200提供memcache
分类:其他好文   时间:2016-01-28 21:16:24    阅读次数:227
20条   上一页 1 2
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!