2014年4月5日
摘要: 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 阅读全文
posted @ 2014-04-05 12:41 Chenyong Liu 阅读(104) 评论(0) 推荐(0) 编辑
2014年2月23日
摘要: 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 阅读全文
posted @ 2014-02-23 17:21 Chenyong Liu 阅读(212) 评论(0) 推荐(0) 编辑
2014年2月11日
摘要: 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 阅读全文
posted @ 2014-02-11 20:54 Chenyong Liu 阅读(604) 评论(0) 推荐(0) 编辑
2014年2月10日
摘要: 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 阅读全文
posted @ 2014-02-10 23:49 Chenyong Liu 阅读(779) 评论(0) 推荐(0) 编辑
2014年1月29日
摘要: 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 阅读全文
posted @ 2014-01-29 22:29 Chenyong Liu 阅读(610) 评论(0) 推荐(0) 编辑
2013年7月11日
摘要: 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 阅读全文
posted @ 2013-07-11 20:03 Chenyong Liu 阅读(208) 评论(0) 推荐(0) 编辑
2013年6月27日
摘要: 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 阅读全文
posted @ 2013-06-27 22:05 Chenyong Liu 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2013-06-27 11:08 Chenyong Liu 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1 hadoop fs -rmr /tmp2 stop-all.sh3 rm -rf /tmp/hadoop* /*** all pc ***/4 hadoop namenode -format5 start-all.sh 阅读全文
posted @ 2013-06-27 10:56 Chenyong Liu 阅读(181) 评论(0) 推荐(0) 编辑
2013年6月20日
摘要: Martin CooperAndy Rubin && AndroidMotorolaGoogle 阅读全文
posted @ 2013-06-20 20:24 Chenyong Liu 阅读(120) 评论(0) 推荐(0) 编辑