資源描述:
《Hadoop集群搭建詳細(xì)簡(jiǎn)明教程》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫(kù)。
1、Hadoop云計(jì)算http://tianhailong.com/1Hadoop集群搭建詳細(xì)簡(jiǎn)明教程Linux操作系統(tǒng)安裝利用vmware安裝Linux虛擬機(jī),選擇CentOS操作系統(tǒng)需要用到的軟件1、VMware?Workstation8.0.0build-4717802、CentOS-6.2-x86_64-bin-DVD1.iso部署節(jié)點(diǎn)一主兩從master節(jié)點(diǎn):Hadoopm:192.168.75.142slave節(jié)點(diǎn):Hadoopm:192.168.75.142;Hadoops:192.168.75.143http://tianhailong.c
2、om/安裝步驟選擇新建虛擬機(jī),如下圖:Hadoop云計(jì)算選擇Custom,如下圖:Hadoop云計(jì)算http://tianhailong.com/1Hadoop云計(jì)算http://tianhailong.com/2http://tianhailong.com/Hadoop云計(jì)算Hadoop云計(jì)算http://tianhailong.com/2Hadoop云計(jì)算http://tianhailong.com/3稍后,我們自行添加centosiso鏡像,如下圖:選擇Linux和相對(duì)相應(yīng)的centos版本,如下圖:http://tianhailong.com/
3、Hadoop云計(jì)算Hadoop云計(jì)算http://tianhailong.com/3Hadoop云計(jì)算http://tianhailong.com/4給虛擬機(jī)起個(gè)名字,選擇虛擬機(jī)安裝的位置,如下圖:設(shè)置CPU個(gè)數(shù)和核數(shù),如下圖:http://tianhailong.com/Hadoop云計(jì)算設(shè)置內(nèi)存大小,建議1G,如下圖:Hadoop云計(jì)算http://tianhailong.com/4Hadoop云計(jì)算http://tianhailong.com/5網(wǎng)絡(luò)連接設(shè)置,使用NAT,而不是橋接,這里是考慮到,聯(lián)網(wǎng)并不是總有路由器來(lái)分配IP的(建議讀者自行谷歌
4、下NAT和橋接的區(qū)別),如下圖:http://tianhailong.com/Hadoop云計(jì)算Hadoop云計(jì)算http://tianhailong.com/5Hadoop云計(jì)算http://tianhailong.com/6硬盤(pán)選項(xiàng),默認(rèn)即可,如下圖:創(chuàng)建新硬盤(pán),默認(rèn)即可,如下圖:http://tianhailong.com/Hadoop云計(jì)算Hadoop云計(jì)算http://tianhailong.com/6Hadoop云計(jì)算http://tianhailong.com/7硬盤(pán)類(lèi)型,默認(rèn)即可:硬盤(pán)大小,做實(shí)驗(yàn)不用太大,默認(rèn)即可,如下圖:http:/
5、/tianhailong.com/Hadoop云計(jì)算Hadoop云計(jì)算http://tianhailong.com/7Hadoop云計(jì)算http://tianhailong.com/8指定虛擬硬盤(pán)文件,默認(rèn)即可:選擇自定義的配置,點(diǎn)擊CustomizeHardware按鈕,如下圖:http://tianhailong.com/Hadoop云計(jì)算Hadoop云計(jì)算http://tianhailong.com/8Hadoop云計(jì)算http://tianhailong.com/9會(huì)出現(xiàn)虛擬機(jī)硬件清單,我們要修改的,主要關(guān)注“光驅(qū)”和“軟驅(qū)”,如下圖:選擇“軟
6、驅(qū)”,點(diǎn)擊“remove”移除軟驅(qū):http://tianhailong.com/Hadoop云計(jì)算Hadoop云計(jì)算http://tianhailong.com/9Hadoop云計(jì)算http://tianhailong.com/10選擇光驅(qū),選擇CentOSISO鏡像,如下圖:http://tianhailong.com/最后點(diǎn)擊“Close”,回到“硬件配置頁(yè)面”,點(diǎn)擊“Finsh”即可,如下圖:Hadoop云計(jì)算下圖為創(chuàng)建后虛擬機(jī):Hadoop云計(jì)算http://tianhailong.com/10Hadoop云計(jì)算http://tianhail
7、ong.com/11點(diǎn)擊,啟動(dòng)虛擬機(jī)選擇“Installorupgradeanexistingsystem”http://tianhailong.com/Hadoop云計(jì)算Hadoop云計(jì)算http://tianhailong.com/11Hadoop云計(jì)算http://tianhailong.com/12選擇“Skip”跳過(guò),如下圖:http://tianhailong.com/Hadoop云計(jì)算Hadoop云計(jì)算http://tianhailong.com/12Hadoop云計(jì)算http://tianhailong.com/13選擇“English
8、”,next,如下圖:http://tianhailong.com/鍵盤(pán)選擇默認(rèn),next,如