2692407267@qq.com,更多内容请关注http://user.qzone.qq.com/2692407267
Wind River Linux 6 Open Virtualization Profile...
先看一段代码
#include
#include
#include
#include
#include
static int count = 0;
void set_timer()
{
struct itimerval itv;
itv.it_value.tv_sec = 3; //timer start after 3 seconds later
itv.it...
分类:
系统相关 时间:
2014-06-30 10:31:41
阅读次数:
365
Linux下Memcached的安装步骤,如果出现/usr/local/memcached/bin/memcached: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory异常在/etc/ld.so.conf中加入/usr/local/lib这一行,保存之后,再运行:/sbin/ldconfig –v更新一下配置即可。...
分类:
系统相关 时间:
2014-06-30 09:20:50
阅读次数:
320
今天来说说编译hadoop源码的事情吧~
1、首先下载源码
地址:http://mirror.bit.edu.cn/apache/hadoop/common/hadoop-2.4.0/
2、加压tar包到指定文件夹:/home/hadoop/soft/hadoop
tar zxvf hadoop-2.4.0-src.tar.gz
3、Linux编译环境准备
java环境...
分类:
系统相关 时间:
2014-06-30 06:18:12
阅读次数:
379
首先来看看变量的问题
[root@localhost ~]# dhh=1
[root@localhost ~]# echo $dhh
1
开一个子shell测试
[root@localhost ~]# bash
[root@localhost ~]# echo $dhh
没有值
使用export
[roo...
分类:
系统相关 时间:
2014-06-30 00:53:44
阅读次数:
270
Linux下Nginx的安装 如果出现:error: 'ngx_http_file_cache_node_t' has no member named 'length'异常,可能是ngx_cache_purge-2.1.tar.gz版本太旧导致...
分类:
系统相关 时间:
2014-06-30 00:11:43
阅读次数:
401
刚开始接触Wicket,所以很多内容都是直译,把原文贴上,望大家指正
Meet Apache Wicket
By JonathanLocke, original author of Wicket
乔纳森·洛克,Wicket的原作者
Why Wicket?
If you arelooking to do web application progra...
分类:
其他好文 时间:
2014-06-29 22:57:45
阅读次数:
247
1、解压
# tar jxvf busybox-1.21.1.tar.bz2
2、配置
# cd busybox-1.21.1
# make menuconfig
Busybox Settings --->
General Configuration --->
[ ] Enable options for full-blown desktop system...
分类:
其他好文 时间:
2014-06-29 22:21:57
阅读次数:
332
find命令
find pathname -options [-print -exec -ok ...]
-print: find命令将匹配的文件输出到标准输出。
-exec: find命令对匹配的文件执行该参数所给出的shell命令。相应命令的形式为'command' { } \;,注意{ }和\;之间的空格。
-ok: 和-exec的作用相同,只不过以一种更...
分类:
系统相关 时间:
2014-06-29 20:48:34
阅读次数:
355