hadoop完全分布式安装步骤

hadoop完全分布式安装步骤

ID:27506047

大小:1.89 MB

页数:167页

时间:2018-12-04

hadoop完全分布式安装步骤_第1页
hadoop完全分布式安装步骤_第2页
hadoop完全分布式安装步骤_第3页
hadoop完全分布式安装步骤_第4页
hadoop完全分布式安装步骤_第5页
资源描述:

《hadoop完全分布式安装步骤》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、WORD格式整理本机windows的ip192.168.3.2台式机的ip192.168.3.9笔记本的linuxmasterip3.3台机机两个linuxslave1slave2ip3.1003.101专业知识分享WORD格式整理上传工具保证FTP开启[root@localhost~]#/etc/init.d/vsftpdrestart关闭vsftpd:[失败]为vsftpd启动vsftpd:[确定][root@localhost~]#[root@localhostvsftpd]#lsftpusersuser_listvs

2、ftpd.confvsftpd_conf_migrate.sh[root@localhostvsftpd]#ftpusersuser_list这两个文件中的root用户注释掉然后重启[root@localhostvsftpd]#/etc/init.d/vsftpdrestart配置主机名[root@localhost~]#vim/etc/sysconfig/networkNETWORKING=yesNETWORKING_IPV6=noHOSTNAME=master[root@localhost~]#hostnamemaste

3、r三台主机都配置主机名[root@localhost~]#vim/etc/sysconfig/networkNETWORKING=yesNETWORKING_IPV6=noHOSTNAME=slave1[root@localhost~]#hostnameslave1[root@localhost~]#vim/etc/sysconfig/networkNETWORKING=yesNETWORKING_IPV6=noHOSTNAME=slave2[root@localhost~]#hostnameslave2专业知识分享WORD

4、格式整理关闭防火墙和selinux[root@master~]#vim/etc/sysconfig/selinux#ThisfilecontrolsthestateofSELinuxonthesystem.#SELINUX=cantakeoneofthesethreevalues:#enforcing-SELinuxsecuritypolicyisenforced.#permissive-SELinuxprintswarningsinsteadofenforcing.#disabled-SELinuxisfullydisab

5、led.SELINUX=disabled#SELINUXTYPE=typeofpolicyinuse.Possiblevaluesare:#targeted-Onlytargetednetworkdaemonsareprotected.#strict-FullSELinuxprotection.SELINUXTYPE=targeted[root@master~]#serviceiptablesstatus表格:filterChainINPUT(policyACCEPT)numtargetprotoptsourcedestin

6、ationChainFORWARD(policyACCEPT)numtargetprotoptsourcedestinationChainOUTPUT(policyACCEPT)numtargetprotoptsourcedestination域名解析使得master和slave1slave2连接对方三台都要做[root@master~]#vim/etc/hosts#Donotremovethefollowingline,orvariousprograms#thatrequirenetworkfunctionalitywil

7、lfail.127.0.0.1localhost.localdomainlocalhost::1localhost6.localdomain6localhost6192.168.3.3master192.168.3.101slave2192.168.3.100slave1专业知识分享WORD格式整理安装jdk在三个机器上创建文件夹[root@master~]#mkdirinstaller[root@master~]#上传jdkE:开发工具jdk-6u27-linux-i586-rpm.bin到installer目录[roo

8、t@masterinstaller]#ll总计78876-rw-r--r--1rootroot8068021912-0112:50jdk-6u27-linux-i586-rpm.bin[root@masterinstaller]#chmoda+xjdk-6u27-linux-i586-rp

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。