hadoop叢集搭建,CentOS7克隆
之前已完成CentOS7配置,單純為克隆虛擬機器時的操作步驟
1、關閉防火牆:
①檢視防火牆配置檔案:
將SELINUX配置改為禁用:disabled
# systemctl stop firewalld.service(關閉防火牆)
# systemctl disable firewalld.service(防火牆開機禁用)
執行以上兩個命令關閉防火牆
2、檢視主機ip得到實體地址
/etc/sysconfig/network-scripts/ifcfg-ens***(每個人的ens都不同)
將UUID註釋,並重新給IPADDR賦值,然後重啟網路卡
service network restart
3、修改主機名與修改hosts檔案
[yangyuxia@hadoop104 ~]$ hostnamectl set-hostname hadoop104
[yangyuxia@hadoop104 ~]$ hostname
hadoop104
[yangyuxia@hadoop104 ~]$ cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.100 hadoop100
192.168.1.101 hadoop101
192.168.1.102 hadoop102
192.168.1.103 hadoop103
192.168.1.104 hadoop104
192.168.1.105 hadoop105
192.168.1.106 hadoop106
192.168.1.107 hadoop107
192.168.1.108 hadoop108
192.168.1.109 hadoop109
修改主機名,如果hosts檔案中沒有這個主機名,就要新增,前面的地址為IPADDR
相關文章
- CentOS7搭建Hadoop-3.3.0叢集手記CentOSHadoop
- Hadoop叢集搭建Hadoop
- Hadoop搭建叢集Hadoop
- hadoop分散式叢集搭建前期準備(centos7)Hadoop分散式CentOS
- Centos7搭建hadoop3.3.4分散式叢集CentOSHadoop分散式
- 4.4 Hadoop叢集搭建Hadoop
- Hadoop叢集搭建(一)Hadoop
- centos7搭建redis叢集CentOSRedis
- CentOS7 搭建 Redis 叢集CentOSRedis
- hadoop叢集篇--從0到1搭建hadoop叢集Hadoop
- 雲主機centos7搭建基於docker的hadoop叢集CentOSDockerHadoop
- hadoop分散式叢集搭建Hadoop分散式
- Hadoop叢集搭建文件Hadoop
- hadoop叢集環境搭建Hadoop
- hadoop2.2.0叢集搭建Hadoop
- centos7搭建dolphinscheduler叢集CentOS
- centos7 hadoop3.2.0分散式叢集搭建步驟CentOSHadoop分散式
- Hadoop HA叢集簡單搭建Hadoop
- HADOOP SPARK 叢集環境搭建HadoopSpark
- Hadoop-2.7.4 叢集快速搭建Hadoop
- Hadoop分散式叢集搭建_1Hadoop分散式
- Centos7 ELK7.6.2叢集搭建CentOS
- hadoop-2.5.0-cdh5.3.6叢集搭建HadoopH5
- 大資料7.1 - hadoop叢集搭建大資料Hadoop
- 從零自學Hadoop(06):叢集搭建Hadoop
- greenplum 6.9 for centos7叢集搭建步驟CentOS
- Linux(Centos7)Redis叢集的搭建LinuxCentOSRedis
- 基於 ZooKeeper 搭建 Hadoop 高可用叢集Hadoop
- 基於kerberos的hadoop安全叢集搭建ROSHadoop
- 大資料平臺Hadoop叢集搭建大資料Hadoop
- 搭建hadoop2/CDH4叢集Hadoop
- 高可用Hadoop平臺-HBase叢集搭建Hadoop
- CentOS7 上搭建多節點 Elasticsearch叢集CentOSElasticsearch
- 虛擬機器Hadoop叢集搭建5安裝Hadoop虛擬機Hadoop
- Centos mini系統下的Hadoop叢集搭建CentOSHadoop
- 五行命令使用docker搭建hadoop叢集DockerHadoop
- BigData~03:Hadoop05 ~ HA叢集搭建Hadoop
- (一)hadoop叢集搭建——1.4hdfs的操作Hadoop