灵雀云 10/8/2015 us


1 创建一个centos 镜像

2 查看"服务地址"

tcp://test.myalauda.cn:11879  

3查看"日志",获得密码

and enter the root password 'orOTr8BVIN60' when prompted

4 通过git batch或其他客户端连接

ssh -p 11879 root@test.myalauda.cn

输入密码后,登录成功,此时一个属于自己的linux主机就此完成


部署hadoop

1 安装jdk

http://blog.csdn.net/bichir/article/details/42522113

(http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html)

wget -c -P /root/Downloads --no-check-certificate --no-cookie --header "Cookie: s_nr=1420682671945; s_cc=true; oraclelicense=accept-securebackup-cookie; gpw_e24=http%3A%2F%2Fwww.oracle.com%2Ftechnetwork%2Fjava%2Fjavase%2Fdownloads%2Fjdk7-downloads-1880260.html;s_sq=%5B%5BB%5D%5D" http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz

2 设置系统免登录

输入 ssh命令,未能识别

安装ssh客户端 yum -y install openssh-clients

先通过hostname命令查看当前主机名,然后检验ssh 命令

以下操作见http://my.oschina.net/jayronwang/blog/390599 (SSH和无密码登录


3 下载hadoop

wget -c http://archive.apache.org/dist/hadoop/core/hadoop-2.4.1/hadoop-2.4.1.tar.gz


4 解压


启动出错 

http://shisiyou.blog.51cto.com/9864147/1608060

你可能感兴趣的:(灵雀云 10/8/2015 us)