2019年7月19日
摘要: 1. 分析 (1)配置集群 (2)启动、测试集群增、删、查 (3)执行WordCount案例 2. 执行步骤 (1)配置集群 (a)配置:hadoop-env.sh Linux系统中获取JDK的安装路径: [atguigu@ hadoop101 ~]# echo $JAVA_HOME /opt/mo 阅读全文
posted @ 2019-07-19 17:36 nidegui 阅读(895) 评论(0) 推荐(0) 编辑
摘要: Grep案例 1. 创建在hadoop-2.7.2文件下面创建一个input文件夹 [atguigu@hadoop101 hadoop-2.7.2]$ mkdir input 2. 将Hadoop的xml配置文件复制到input [atguigu@hadoop101 hadoop-2.7.2]$ c 阅读全文
posted @ 2019-07-19 16:27 nidegui 阅读(808) 评论(0) 推荐(0) 编辑
摘要: [atguigu@hadoop101 ~]$ cd /opt/software/ [atguigu@hadoop101 software]$ tar -zxvf hadoop-2.7.2.tar.gz -C /opt/module/ [atguigu@hadoop101 software]$ ls 阅读全文
posted @ 2019-07-19 15:33 nidegui 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 虚拟机的准备 修改静态IP(克隆的虚拟机) vim /etc/udev/rules.d/70-persistent-net.rules 配置网络: Vim /etc/sysconfig/network-scripts/ifcfg-eth0 修改主机名 Vim /etc/sysconfig/netwo 阅读全文
posted @ 2019-07-19 14:59 nidegui 阅读(1251) 评论(0) 推荐(0) 编辑
  2019年7月15日
摘要: (自己看的,不理解的勿扰) useradd xxx 创建用户(root用户下) passwd xxx 密码 su -xxx 切换用户 pwd 显示当前所在的目录 hostname 主机名 设置主机名:hostname Hadoop-senior(此种方法仅仅在当前使用没有问题,重启机器以后主机名称回 阅读全文
posted @ 2019-07-15 16:18 nidegui 阅读(161) 评论(0) 推荐(0) 编辑
  2019年7月6日
摘要: 第一步:必须要有jre支持 elasticsearch是用Java实现的,跑elasticsearch必须要有jre支持,所以必须先安装jre 第二步:下载elasticsearch 进入官方下载 https://www.elastic.co/downloads/elasticsearch 因为是c 阅读全文
posted @ 2019-07-06 12:32 nidegui 阅读(3414) 评论(0) 推荐(0) 编辑
  2019年7月5日
摘要: r第一步:将安装的jre安装文件上传到Linux系统中(这里用的是finalshell工具) 第二步: 解压tar -zxvf server-jre-8u131-linux-x64.tar.gz 显示: 授权: chown root:root -R /home/java/jdk1.8.0_131/ 阅读全文
posted @ 2019-07-05 16:51 nidegui 阅读(2806) 评论(0) 推荐(0) 编辑
摘要: 我们先切换到系统根目录 / 看看根目录下有哪些目录 [root@localhost ~]# cd / [root@localhost /]# ls bin dev home lib64 mnt proc run srv tmp var boot etc lib media opt root sbin 阅读全文
posted @ 2019-07-05 12:42 nidegui 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 我们打开之前安装的VM, 点击 “创建新的虚拟机”: 我们选 典型 安装 简单点 然后下一步: 我们稍后安装操作系统 ,点下一步: 这里选 Linux 然后下拉 选CentOS 64位,然后下一步: 这里我们选择下虚拟机的位置 (不要太复杂); 默认 下一步: 点完成, OK 至此 一个类似没有操作 阅读全文
posted @ 2019-07-05 11:41 nidegui 阅读(1871) 评论(0) 推荐(0) 编辑
  2019年7月3日
摘要: 下载包: 点击下一步: 老规矩,打勾,下一步; 这里我们新建一个文件夹 VM12 我这边只有一个C盘 大伙假如有其他盘,可以放其他盘里; 下一步: 这两个勾去掉,然后下一步; 下一步: 点击安装; 要激活码 5A02H-AU243-TZJ49-GTC7K-3C61N 点击继续: 出现这个 说明大功告 阅读全文
posted @ 2019-07-03 15:01 nidegui 阅读(214) 评论(1) 推荐(0) 编辑