hadoop集群的搭建 搭建真正的zookeeper集群 Hbase需要安装在成功部署的Hadoop平台,并且要求Hadoop已经正常启动。 同时,HBase需要集群部署,我们分别把HBase 部署到主机:guoyansi128 guoyansi129 guoyansi130 1.下载hbase-1 ...
分类:
其他好文 时间:
2018-11-13 23:50:19
阅读次数:
167
【Practice11_Zipcode_ArrayList】 Zipcode class: //3 variables: zipcode, city, county, and compare by county County: //two variables: county and count, a ...
分类:
编程语言 时间:
2018-11-10 10:47:30
阅读次数:
170
``` 运行用户 user nobody; 启动进程,通常设置成和cpu的数量相等 worker_processes 1; 全局错误日志及PID文件 error_log logs/error.log; error_log logs/error.log notice; error_log logs/e ...
分类:
其他好文 时间:
2018-11-07 15:28:00
阅读次数:
216
nginx 支持TCP转发和负载均衡的支持 实现下面的架构: 看配置: 短小精悍! 连接 server1 断开 在连接到 server2 就这样的轮训~~~ ...
分类:
其他好文 时间:
2018-11-06 17:46:51
阅读次数:
109
一、导航 以guns的通知管理为例 l 通知管理的请求地址是localhost:8080/notice l 程序收到这样的请求就去找地址为notice的Controller l 通知控制器收到这个请求时因为下一级地址为空,所以执行这个函数 l 通过这个函数找到这个网页 二、网页中的表格获得数据 l ...
分类:
编程语言 时间:
2018-11-04 14:16:27
阅读次数:
471
其它规则 当基本firewalld语法规则不能满足要求时,可以使用以下更复杂的规则 rich-rules 富规则,功能强,表达性语言 Direct configuration rules 直接规则,灵活性差 帮助:man 5 firewalld.direct 管理rich规则 rich规则比基本的f ...
分类:
系统相关 时间:
2018-10-27 14:55:22
阅读次数:
286
Docker Compose 一键部署Nginx代理Tomcat集群 一、创建Nginx Compose 1、创建DockerCompose项目目录 1.2、创建nginx管理目录 1.3、将nginx源码包下载到本地 Nginx-1.12.1 下载地址:https://pan.baidu.com/ ...
分类:
其他好文 时间:
2018-10-25 16:24:17
阅读次数:
270
Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) Yo ...
分类:
其他好文 时间:
2018-10-21 16:56:24
阅读次数:
449
一、创建一个文件夹 例如我创建在D:\code\qq-music 在文件目录打开cmd 在cmd中执行 npm init 项目初始化 然后安装一些工具包: npm i request -s npm i querystring -s 在目录下创建一个Music的文件夹用于存储下载的音乐文件 二、直接上 ...
分类:
Web程序 时间:
2018-10-19 23:43:26
阅读次数:
692
平时用$_post[''],$_get['']获取表单中参数时会出现Notice: Undefined index: ; 我们经常接收表单POST过来的数据时报Undefined index错误,如下: $act=$_POST['action']; 用以上代码总是提示 Notice: Undefin ...
分类:
Web程序 时间:
2018-10-18 19:46:48
阅读次数:
208