摘要:
cd /home/forlinx/Downloads/hadoop-1.2.1/binhadoop dfsadmin -safemode get/leave/enterhadoop dfs -ls /hadoop dfs -mkdir /testhadoop dfs -put ../LICENSE.txt /test/license.txthadoop dfs -dus /testhadoop dfs -cat /test/license.txthadoop dfs -get /test/license.txt ../aaa.txthadoop dfs -rm /test/license.tx 阅读全文
摘要:
ubuntu-12.04-desktop-i386rootsudo apt-get install openssh-servercd /usr/local/src1 安装交叉工具链arm-linux-gcc-4.3.2.tgz(1) tar zxvf arm-linux-gcc-4.3.2.tgz -C /(2) gedit /etc/profile export PATH=/usr/local/arm/4.3.2/bin:$PATH(3) source /etc/profile(4) echo $PATH arm-linux-gcc -v2 编译u-boot (1) tar zxvf ubo 阅读全文
摘要:
1 用USB转串口线连接开发板与PC,安装驱动HL-232-340.exe2 编译bin文件File: init.S、led.c启动CodeWarrior for RVDS,设置如下:(1)Edit->Debug Settings->Language Settings->RealView Assembler/RealView Compiler Target->Architecture,选择ARM1176JZF-S(2)Edit->Debug Settings->Linker->RealView Linker Output->Simple Imag 阅读全文
摘要:
ARM开发环境搭建1 RVDS2.22 JLinkARM_V402dStep0 安装U-Boot到OK64101 启动J-Link GDB Server2 启动CodeWarrior for RVDS (1)Edit->Debug Settings->Language Settings->RealView Assembler/RealView Compiler Target->Architecture,选择ARM1176JZF-S (2)Edit->Debug Settings->Linker->RealView Linker Output->L 阅读全文
摘要:
1 烧写u-boot.bin到OK6410开发板2 用USB转串口线连接开发板与PC,安装驱动HL-232-340.exe3 编译bin文件File:init.S、led.c启动CodeWarrior for RVDS,设置如下:(1)Edit->Debug Settings->Language Settings->RealView Assembler/RealView Compiler Target->Architecture,选择ARM1176JZF-S(2)Edit->Debug Settings->Linker->RealView Linker 阅读全文
摘要:
Dreamweaver CS5网站设计与开发实战 邓文渊 清华大学出版社1 文字与图像 about.htm2 表格information.htm3 超链接&&命名锚记 scenicspots.htm4 css标签选择器、类选择器、ID选择器链接外部与导出cssblog-01.htm5 APDiv&&行为指令(js) map.htm6 flash、音频、视频 index.htm、about.htm、medias.htm7 frame&&iframephotoalbum.htm、medias.htm8 表单&&spry表单验证 con 阅读全文
摘要:
1准备4台linux PC,确保机器间能ping通/*VMware Bridged*/(1)编辑每台/etc/hosts文件,如下:49.123.90.186 redhnamenode49.123.90.181 redhdatanode149.123.90.182 redhdatanode249.123.90.184 redhdatanode3(2)关闭防火墙/*需root权限*/service iptables stop(3)在所有机器上建立相同的用户hadoop-user(4)安装jdk到/home2 ssh配置/*hadoop-user*/(1)在所有redhdatanode上建立.ss 阅读全文
摘要:
1cd /home/chenyong/paper/hadoop-1.1.22mkdir inputcd inputecho "hello world !" > test1.txtecho "hello hadoop" > test2.txtecho "hello redhat" > test3.txt3 ./bin/hadoop dfs -put input /in/*将input目录复制到hdfs根目录下,重命名为in,执行前out目录必须为空*/./bin/hadoop jar hadoop-examples-1 阅读全文
摘要:
1 hadoop fs -rmr /tmp2 stop-all.sh3 rm -rf /tmp/hadoop* /*** all pc ***/4 hadoop namenode -format5 start-all.sh 阅读全文