摘要: 目前业界有很多MQ产品,我们作如下对比: RabbitMQ 是使用Erlang编写的一个开源的消息队列,本身支持很多的协议:AMQP,XMPP, SMTP, STOMP,也正是如此,使的它变的非常重量级,更适合于企业级的开发。同时实现了一个经纪人(Broker)构架,这意味着消息在发送给客户端时先在 阅读全文
posted @ 2017-07-28 21:03 tl_luo 阅读(322) 评论(0) 推荐(0)
摘要: 登录MySQL过后检查用户设置命令 use mysql select host,user from user; navicat远程连接mysql 错误代码是1130,ERROR 1130: Host xxx.xxx.xxx.xxx is not allowed to connect to this 阅读全文
posted @ 2017-07-28 17:29 tl_luo 阅读(691) 评论(0) 推荐(0)
摘要: install ubuntu on virtualip vim /etc/network/interfaces auto loiface lo inet loopback auto eth1iface eth1 inet staticaddress 192.168.56.151netmask 255 阅读全文
posted @ 2017-07-28 17:27 tl_luo 阅读(318) 评论(0) 推荐(0)
摘要: 1.查看安装的所有软件 dpkg -l 例如:dpkg -l | grep ftp 2.查看软件安装的路径 dpkg -L | grep ftp 也可以用 whereis ftp 3.查看软件版本 aptitude show 例如:aptitude show ftp 阅读全文
posted @ 2017-07-28 17:26 tl_luo 阅读(72461) 评论(0) 推荐(0)
摘要: vi /etc/apt/sources.list 14.04 deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ t 阅读全文
posted @ 2017-07-28 17:26 tl_luo 阅读(605) 评论(0) 推荐(0)
摘要: 1、如果是从Ubuntu Software Center安装的,进入center,找到那个软件,很明显会有“卸载”的按钮;2、如果是tar、gz、zip之类解压就能用,免安装的,直接删除;3、如果是自己下载的deb包安装,或者通过apt-get install安装、或者通过添加ppa安装,使用sud 阅读全文
posted @ 2017-07-28 17:25 tl_luo 阅读(1146) 评论(0) 推荐(0)
摘要: ifconfig -a查找已启用的网卡设备 /etc/network/interface设置网卡信息 注意:如果eth1 eht2 分别对应外网和内网,其设置分别对应DHCP和manual, 内网的gateway不要设置,否则因为两个网关(一个DHCP获取-设置为自动获取,一个人工设置),系统将无法 阅读全文
posted @ 2017-07-28 17:21 tl_luo 阅读(184) 评论(0) 推荐(0)
摘要: 谷歌插件消息传递 1.简单消息传递 a.应用->脚本 chrome.runtime.sendMessage({greeting: "您好"}, function(response) { console.log(response.farewell); }); chrome.runtime.onMess 阅读全文
posted @ 2017-07-28 17:19 tl_luo 阅读(385) 评论(0) 推荐(0)
摘要: linux系统下,不同的用户有对应的默认目录设置,这些设置都被保存在配置文件/etc/passwd中。 由上我们可以看出,对于用户名为JACK的用户,其系统默认目录为 /home/JACK,那么有时候我们可能在JACK目录下新建了一个目录code,并长期在code下面作开发,我们就希望系统可以直接进 阅读全文
posted @ 2017-07-28 17:14 tl_luo 阅读(4505) 评论(0) 推荐(0)
摘要: 转自:http://www.yiifans.com/forum.php?mod=viewthread&tid=20 阅读全文
posted @ 2017-07-28 17:08 tl_luo 阅读(1998) 评论(0) 推荐(0)