What are the differences between Apache Kafka and RabbitMQ? (Updated May 2017 - it’s been 4.5 years!)Kafka is a general purpose message broker, like RabbItMQ, with similar distributed deployment goals kafka、rabbitmq 8年前 5046 浏览
centos 6用yum安装中文输入法 本人系统是centos6.4用yum安装中文输入法 1.需要root权限,所以要用root登录 ,或su root 2.yum install "@Chinese Support" 3.桌面:system->preferences->input method 4.如果没有,先注销一下,按 linux中文输入法、centos中文输入法 12年前 5046 浏览
apache的icons目录禁用 在apache的服务器下,当我们访问 http://url/icons/ 会列出apache的/var/www/icons/下的所有文件目录。那么如何解决呢:修改apa apache、icons目录 11年前 5044 浏览
MySQL开启慢查询日志-调优、监控必备 通过开启MySQL慢查询日志,可以监控到当前MySQL慢查询日志SQL,并可以针对SQL进行优化,提高SQL效率,进儿提升网站性能,服务器性能等。介绍1. 查看慢查询日志是否开启:show variab 4年前 5028 浏览
Redis config 漏洞修复 使用redis默认使用root账号启动,如果主机没有放在内网,限制ip访问会导致,安全漏洞:目前主要是redis config set问题,可以使用如下三种方案解决,优先级从低到高。1、临时解决方案:去掉config命令,修改redis.conf,增加如下 redis、php、config 10年前 5026 浏览
github无密码登录设置 每次push pull 都需要输入git密码,原因是使用了https方式 push在terminal里边 输入 git remote -v ,可以看到形如一下的返回结果:origin https://[email protected] git 10年前 4992 浏览
centos7 yum安装 php7.3教程 1、首先安装 EPEL 源:yum install epel-release -y安装 REMI 源:yum install http://rpms.remirepo.net/enterprise/rem php7、centos7 4年前 4991 浏览
ajax上传文件,网页无刷新 ajax与后台通信都是通过传递字符串来实现了,而且处于安全考虑,js是不能操作文件。这里可以得出一个结论,ajax是不能实现文件上传的。 但是为什么还是说的使用ajax来上传文件,这里有个小方法,使用iframe,我们创建一个hidden的iframe刷新其实是刷新hiddeniframe,但 php、js、ajax 12年前 4984 浏览
集群监控:Elasticsearch 5.4 Head安装 安装文档: https://github.com/mobz/elasticsearch-headhead 插件,需要 nodejs 启动,需要先装 node elk、elasticsearch-head 8年前 4975 浏览
mysql 忘记密码 修改mysql 配置文件vim /etc/my.cnf # 追加 skip-grant-tables [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock skip-nam mysql 9年前 4954 浏览
关于神牛Cleey的笑话,非程序员误入 1. During his own Google interview, Cleey Dean was asked the implications if P=NP were true. He said, "P = 0 or N = 1." Then, before &n 9年前 4942 浏览
go get,git fatal: HTTP request failed 问题一: fatal: HTTP request failed使用go get url 拉取时提示:git fatal: HTTP request failed# go get git git、http request failed、ssl connect error 6年前 4902 浏览
npm phantomjs 安装错误Error: EACCES: permission denied 安装 qunarcorp/open_dnsdb 过程中出现问题在linux服务器中执行npm install 安装依赖时,发生如下错误:问题:Download already available at npm、phantomjs 5年前 4889 浏览
sublime注释--DocBlockr 想让sublime支持这样的注释,phper的福利: /** * [cc_get_desc description] * @param [type] $module * @param [type] sublime、注释、DocBlockr 12年前 4883 浏览