hadoop完全分布式安装步骤

hadoop完全分布式安装步骤

ID:22208098

大小:1.89 MB

页数:167页

时间:2018-10-27

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

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

1、本机windows的ip192.168.3.2台式机的ip192.168.3.9笔记本的linuxmasterip3.3台机机两个linuxslave1slave2ip3.1003.101上传工具保证FTP开启[root@localhost~]#/etc/init.d/vsftpdrestart关闭vsftpd:[失败]为vsftpd启动vsftpd:[确定][root@localhost~]#[root@localhostvsftpd]#lsftpusersuser_listvsftpd.confvsftpd_conf_migrate.sh[root@localhos

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

3、NETWORKING_IPV6=noHOSTNAME=slave1[root@localhost~]#hostnameslave1[root@localhost~]#vim/etc/sysconfig/networkNETWORKING=yesNETWORKING_IPV6=noHOSTNAME=slave2[root@localhost~]#hostnameslave2关闭防火墙和selinux[root@master~]#vim/etc/sysconfig/selinux#ThisfilecontrolsthestateofSELinuxonthesystem.#S

4、ELINUX=cantakeoneofthesethreevalues:#enforcing-SELinuxsecuritypolicyisenforced.#permissive-SELinuxprintswarningsinsteadofenforcing.#disabled-SELinuxisfullydisabled.SELINUX=disabled#SELINUXTYPE=typeofpolicyinuse.Possiblevaluesare:#targeted-Onlytargetednetworkdaemonsareprotected.#strict-Fu

5、llSELinuxprotection.SELINUXTYPE=targeted[root@master~]#serviceiptablesstatus表格:filterChainINPUT(policyACCEPT)numtargetprotoptsourcedestinationChainFORWARD(policyACCEPT)numtargetprotoptsourcedestinationChainOUTPUT(policyACCEPT)numtargetprotoptsourcedestination域名解析使得master和slave1slave2连接对方

6、三台都要做[root@master~]#vim/etc/hosts#Donotremovethefollowingline,orvariousprograms#thatrequirenetworkfunctionalitywillfail.127.0.0.1localhost.localdomainlocalhost::1localhost6.localdomain6localhost6192.168.3.3master192.168.3.101slave2192.168.3.100slave1安装jdk在三个机器上创建文件夹[root@master~]#mkdirin

7、staller[root@master~]#上传jdkE:开发工具jdk-6u27-linux-i586-rpm.bin到installer目录[root@masterinstaller]#ll总计78876-rw-r--r--1rootroot8068021912-0112:50jdk-6u27-linux-i586-rpm.bin[root@masterinstaller]#chmoda+xjdk-6u27-linux-i586-rpm.bin[root@masterinstaller]#[root@masterinstaller]

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

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

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