Hadoop部署与安装(Hadoop deployment and installation)

1、软件准备

  ①VMware 16  下载网址:https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html

                     激活码

        ZF3R0-FHED2-M80TY-8QYGC-NPKYF

        YF390-0HF8P-M81RQ-2DXQE-M2UT6

        ZF71R-DMX85-08DQY-8YMNC-PPHV8

  ②CentOS 7镜像

  ③Xshell

  ④jdk1.8

  ⑤hadoop-2.7

2、VMware安装CentOS7镜像

  ①自定义安装,主要注意开启虚拟的网络

  ②修改动态IP地址为静态IP 地址

    具体方法:cd/etc/sysconfig/network-scripts(可以通过ls/ll查看network-scripts下是eth0还时ens33)

         修改network-scripts下的文件ifcfg-ens33

         vi ifcfg-ens33文件开始编辑

          修改其中的BOOTPROTO=static,ONBOOT=YES

          追加IP地址,子网掩码,网管,DNS

          IPADDR=”虚拟机上虚拟网络编辑器中VMNet8下的网络IP”

          NETMASK=”255.255.255.0″

          GATEWAY=”IPADDR中的前三位.2″

          DNS1=”可在命令行窗口中输入CMD,然后输入ipconfig/all查看”

         退出并保存: wq

————————

1. Software preparation

  ①VMware 16  下载网址:https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html

Activation code

ZF3R0-FHED2-M80TY-8QYGC-NPKYF

YF390-0HF8P-M81RQ-2DXQE-M2UT6

ZF71R-DMX85-08DQY-8YMNC-PPHV8

② CentOS 7 image

③Xshell

④jdk1. eight

⑤hadoop-2.7

2. VMware installation of centos7 image

① user defined installation, mainly focusing on opening the virtual network

② change the dynamic IP address to the static IP address

Specific method: CD / etc / sysconfig / network scripts (you can check eth0 and ens33 under Network scripts through LS / ll)

Modify the file ifcfg-ens33 under Network scripts

VI ifcfg-ens33 file start editing

Modify bootproto = static, onboot = yes

Add IP address, subnet mask, network management, DNS

IPADDR = “network IP under VMnet8 in virtual network editor on virtual machine”

NETMASK=”255.255.255.0″

Gateway = “top three in IPADDR. 2”

Dns1 = “you can enter CMD in the command line window and then enter ipconfig / all to view”

Exit and save: WQ