#ubuntu搭建hadoop ##环境
- VMware Workstation
- ubuntu 14.04.1 server 版
- hadoop 2.7.2
- jdk 1.7
##虚拟机安装 ###注意要点
-
安装时选择最小安装,只需要安装openssh即可
-
虚拟机配置 4G+4U+40G硬盘
-
安装时创建一个hadoop用户,省得安装完成后再创建用户
-
选择桥接网络 ###环境配置
-
更新源
我一般用阿里云的源
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse