hadoop core:
http://www.apache.org/dyn/closer.cgi/hadoop/core/
书籍:
hadoop权威指南(hadoop the definitive guide) 粗略读,知道相应知识在哪里就可以,后面当工具书用
书籍源码:
https://github.com/tomwhite/hadoop-book/tree/1e
官方文档:
http://hadoop.apache.org/docs/r1.0.4/cn/
工具:
virtualbox 4.2.4-81684-win.exe
内存:700M (<652M 系统进入text mode安装模式,没有图形界面)
硬盘:10G
centos 6.3->6.7
安装centos
root/123456或centos
type: basic server
网络:
Host-only
Q:无法上网
【正解】A: 主机通过无线上网,才会有“家庭网络连接”的选项,本地连接-属性-共享-勾选-“家庭网络连接”-选择"VirtualBox Host-Only Network"
需重启网卡并重新登录logout或者执行命令hostname master
Q:无法上网
【正解】A: 主机通过无线上网,才会有“家庭网络连接”的选项,本地连接-属性-共享-勾选-“家庭网络连接”-选择"VirtualBox Host-Only Network"
【正解】A: 重装无线网卡驱动
A: 或者先用 ,安装ssh客户端后,再切回host only.
A: rpm安装http://blog.csdn.net/musou_ldns/article/details/8331527
http://rpmfind.net/linux/rpm2html/search.php?query=libedit.so.0(ftp://rpmfind.net/linux/centos/6.6/os/i386/Packages/libedit-2.11-4.20080712cvs.1.el6.i686.rpm)
http://rpmfind.net/linux/rpm2html/search.php?query=openssh-clients&submit=Search+...&system=&arch=
配置虚拟机
ip映射文件
vi /etc/hosts
末尾添加(以后配置其它机子IP)
192.168.137.101 centos01
192.168.137.101 centos02
192.168.137.101 centos03
192.168.137.101 centos04
192.168.137.101 centos05
192.168.137.101 centos06
192.168.137.101 centos07
修改主机名
vi /etc/sysconfig/network
HOSTNAME=master
虚拟机01
(vi基本操作 编辑a 保存并退出esc->:wq)
vi /etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTO=static #需改为静态,否则下面的IPADDR将没用,系统自动分配IPONBOOT=yes #修改;启动时配置网卡IPADDR=192.168.137.2NETMASK=255.255.255.0GATEWAY=192.168.137.1
配置DNS
vi /etc/resolv.conf
nameserver 192.168.137.1
重启网卡
service network restart
error:device eth0 does not seem to be present, delaying initialization
先重启,或者http://blog.sina.com.cn/s/blog_77126fa501018s3d.html
检验
虚拟机ifconfig查看ip
从主机ping下虚拟机