(一)安装前的规划
(1)操作系统版本:centos7.4(64bit)
[root@hadoop22 etc]# more /etc/centos-release
CentOS Linux release 7.4.1708 (Core)
[root@hadoop22 installPackage]# cat /proc/version
Linux version 3.10.0-693.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) ) #1 SMP Tue Aug 22 21:09:27 UTC 2017
[root@hadoop22 installPackage]# getconf LONG_BIT #确认OS是32bit还是64bit
64