序言:
安装环境:
Ubuntu8+jdk1.6.0_33+hadoop-1.0.3
实体机:
机器名 IP 作用
hadoop1 10.8.1.19 namenode、master、jobTracker
hadoop2 10.8.1.20 dataNode、slave、taskTracker
1.安装ubuntu
1.1 安装过程:
(1) 将光盘放入光驱
(2) 长按del键,进入语言选择页面
(3) 选中English,回车
(4) 选择Install Ubuntu Server,回车
(5) 选择English,回车
(6) 选择所在位置,选中Hong Kong,回车
(7) 配置键盘,选中No,回车
(8) 配置键盘,选中English(US),回车
(9) 配置键盘布局,选中English(US),回车
(10) 配置网络界面,选中eth0
(11) 如果出现Network autoconfiguration failed,continue需要手动配网络
(12) 选择configure network manually,回车
(13) 输入ip->continue; netmask(掩码)->continue; gateway(网关)->continue;name server address->continue;
(14) Hostname输入主机名后continue
(15) Domain name域名直接跳过,continue
(16) Full name for the new user输入用户名:后continue
(17) Username for your account:后continue
(18) Choose apassword for the new user输入登陆密码后,continue
(19) Re-enter password to verify重复输入密码后,continue