http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/
http://my.oschina.net/hetiangui/blog/142897
1.Sun Java 6
*当执行这条命令时“$ sudo add-apt-repository ppa:ferramroberto/java”出现错误,因为服务器类型是centos,而centos下没有add-apt-repository,这是Unbuntu的专属命令。
*用cat /etc/centos-release查询得到centos版本是CentOS release 6.3 (Final)
*命令hduser@ubuntu:~$ cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys的意思是将公钥加上行号后将内容附加到authorized_keys里面;
*在终端里随意翻页命令:ls | less #分页显示,按PageUp和PageDown可上下翻面,按Q返回