制作Hadoop虚拟镜像

来源:互联网 发布:淘宝转运丢件 编辑:程序博客网 时间:2024/04/29 08:51

Google的Hadoop虚拟镜像
 Ubuntu-7.04
 Java-1.6.0_02
 Hadoop-0.13.0
http://code.google.com/intl/zh-CN/edu/parallel/tools/hadoopvm/index.html

在Google的镜像的基础上,安装新版本的Hadoop即可。

1. 取消自启动Hdoop
    删除/etc/rc2.d/S20hadoop
   
2. 修改IP地址
/etc/init.d/networking
    #/sbin/dhclient3 eth1
    /etc/init.d/showIP
    ifconfig eth1 up
   
/etc/network/interfaces
    auto eth1
    iface eth1 inet static
    address 192.168.5.150
    gateway 192.168.5.1
    netmask 255.255.255.0